# Deprecated API

## Contents

- Interfaces
- Exceptions
- Fields
- Methods
- Constructors
- Enum Constants

- Deprecated Interfaces
  Interface
  Description
  oracle.kv.stats.EndpointGroupMetrics
  since 22.3
  oracle.kv.stats.EndpointMetrics
  since 22.3
  oracle.kv.stats.MetricStats
  since 22.3
  oracle.kv.stats.StoreIteratorMetrics
  since 3.4, no longer supported.
  oracle.kv.table.ExecutionFuture
  since 3.3 in favor of `ExecutionFuture`
  oracle.kv.table.StatementResult
  since 3.3 in favor of `StatementResult`
  oracle.kv.ValueBinding
  as of 4.0, use the table API instead.

- Deprecated Exceptions
  Exceptions
  Description
  oracle.kv.IndexKeySizeLimitException
  as of 21.3.5, replaced by `KeySizeLimitException`

- Deprecated Fields
  Field
  Description
  oracle.kv.Consistency.NONE_REQUIRED_NO_MASTER
  as of 4.3, use `Consistency.NONE_REQUIRED` or read zones instead
  oracle.kv.KVVersion.R1_2_123
  oracle.kv.KVVersion.R18_1
  oracle.kv.KVVersion.R18_2
  oracle.kv.KVVersion.R18_3
  oracle.kv.KVVersion.R19_1
  oracle.kv.KVVersion.R19_2
  oracle.kv.KVVersion.R19_3
  oracle.kv.KVVersion.R19_5
  oracle.kv.KVVersion.R2_0_23
  oracle.kv.KVVersion.R2_1
  oracle.kv.KVVersion.R2_1_0
  oracle.kv.KVVersion.R20_1
  oracle.kv.KVVersion.R20_2
  oracle.kv.KVVersion.R20_3
  oracle.kv.KVVersion.R21_1
  oracle.kv.KVVersion.R21_2
  oracle.kv.KVVersion.R21_3
  oracle.kv.KVVersion.R22_1
  oracle.kv.KVVersion.R22_2
  oracle.kv.KVVersion.R3_0
  oracle.kv.KVVersion.R3_1
  oracle.kv.KVVersion.R3_2
  oracle.kv.KVVersion.R3_3
  oracle.kv.KVVersion.R3_4
  oracle.kv.KVVersion.R3_5
  oracle.kv.KVVersion.R4_0
  oracle.kv.KVVersion.R4_1
  oracle.kv.KVVersion.R4_2
  oracle.kv.KVVersion.R4_3
  oracle.kv.KVVersion.R4_4
  oracle.kv.KVVersion.R4_5

- Deprecated Methods
  Method
  Description
  oracle.kv.hadoop.KVInputFormatBase.setDirection(Direction)
  oracle.kv.KVStoreConfig.getOpenTimeout(TimeUnit)
  replaced by `KVStoreConfig.getSocketOpenTimeout(java.util.concurrent.TimeUnit)`
  oracle.kv.KVStoreConfig.setOpenTimeout(long, TimeUnit)
  replaced by `KVStoreConfig.setSocketOpenTimeout(long, java.util.concurrent.TimeUnit)`
  oracle.kv.lob.PartialLOBException.isPartiallyDeleted()
  Use the getPartialStateMethod() instead
  oracle.kv.mgmt.jmx.RepNodeMXBean.getCommitLag()
  as of 18.3. The values returned by this method were undependable because they could be influenced by clock skew. Use the JE replicaAvgDelayMsMap stat instead.
  oracle.kv.mgmt.jmx.RepNodeMXBean.getCommitLagThreshold()
  as of 18.3. No longer supported now that getCommitLag is not supported.
  oracle.kv.mgmt.jmx.RepNodeMXBean.getCumulativeTotalOps()
  as of 19.2, see `RepNodeMXBean.getCumulativeTotalOpsLong()`
  oracle.kv.mgmt.jmx.RepNodeMXBean.getIntervalTotalOps()
  as of 19.2, see `RepNodeMXBean.getIntervalTotalOpsLong()`
  oracle.kv.mgmt.jmx.RepNodeMXBean.getMaxTrackedLatency()
  as of 20.3. There is no longer a cap on the latency for tracking.
  oracle.kv.mgmt.jmx.RepNodeMXBean.getMultiCumulativeTotalOps()
  as of 19.2, see `RepNodeMXBean.getMultiCumulativeTotalOpsLong()`
  oracle.kv.mgmt.jmx.RepNodeMXBean.getMultiCumulativeTotalRequests()
  as of 19.2, see `RepNodeMXBean.getMultiCumulativeTotalRequestsLong()`
  oracle.kv.mgmt.jmx.RepNodeMXBean.getMultiIntervalTotalOps()
  as of 19.2, see `RepNodeMXBean.getMultiIntervalTotalOpsLong()`
  oracle.kv.mgmt.jmx.RepNodeMXBean.getMultiIntervalTotalRequests()
  as of 19.2, see `RepNodeMXBean.getMultiIntervalTotalRequestsLong()`
  oracle.kv.stats.KVStats.getStoreIteratorMetrics()
  since 3.4, no longer supported. All of the methods of the returned StoreIteratorMetrics object will return 0.
  oracle.kv.stats.KVStats.NodeMetricsImpl.getDataCenterName()
  oracle.kv.stats.NodeMetrics.getDataCenterName()
  replaced by `NodeMetrics.getZoneName()`
  oracle.kv.stats.OperationMetrics.getTotalOps()
  as of 19.2, see `OperationMetrics.getTotalOpsLong()`
  oracle.kv.stats.OperationMetrics.getTotalRequests()
  as of 19.2, see `OperationMetrics.getTotalRequestsLong()`
  oracle.kv.StoreIteratorConfig.getMaxResultsBatches()
  since 3.4, no longer supported. Returns the value set by setMaxResultsBatches().
  oracle.kv.StoreIteratorConfig.setMaxResultsBatches(int)
  since 3.4, no longer supported.
  oracle.kv.table.DoubleDef.getMax()
  as of release 4.0 it is no longer possible to specify ranges on Double types.
  oracle.kv.table.DoubleDef.getMin()
  as of release 4.0 it is no longer possible to specify ranges on Double types.
  oracle.kv.table.FloatDef.getMax()
  as of release 4.0 it is no longer possible to specify ranges on Float types. A storage size argument can be specified on a Float type when used in a primary key.
  oracle.kv.table.FloatDef.getMin()
  as of release 4.0 it is no longer possible to specify ranges on Float types. A storage size argument can be specified on a Float type when used in a primary key.
  oracle.kv.table.Index.createIndexKey(RecordValue)
  as of 4.5
  oracle.kv.table.IndexKey.getFields()
  as of 4.2 Please use the equivalent getFieldNames() method.
  oracle.kv.table.IntegerDef.getMax()
  as of release 4.0 it is no longer possible to specify ranges on Integer types. A storage size argument can be specified on an Integer type when used in a primary key.
  oracle.kv.table.IntegerDef.getMin()
  as of release 4.0 it is no longer possible to specify ranges on Integer types. A storage size argument can be specified on an Integer type when used in a primary key.
  oracle.kv.table.LongDef.getMax()
  as of release 4.0 it is no longer possible to specify ranges on Long types.
  oracle.kv.table.LongDef.getMin()
  as of release 4.0 it is no longer possible to specify ranges on Long types.
  oracle.kv.table.PrimaryKey.getFields()
  as of 4.2 Please use the equivalent getFieldNames() method.
  oracle.kv.table.RecordDef.getField(int)
  as of 4.2 Use getFieldDef(int)
  oracle.kv.table.RecordDef.getField(String)
  as of 4.2 Use getFieldDef(String)
  oracle.kv.table.RecordDef.getFields()
  as of 4.2 Use getFieldNames()
  oracle.kv.table.RecordValue.getFields()
  as of 4.2 Please use the equivalent getFieldNames() method.
  oracle.kv.table.StringDef.getMax()
  as of release 4.0 it is no longer possible to specify ranges on String types.
  oracle.kv.table.StringDef.getMin()
  as of release 4.0 it is no longer possible to specify ranges on String types.
  oracle.kv.table.StringDef.isMaxInclusive()
  as of release 4.0 it is no longer possible to specify ranges on String types.
  oracle.kv.table.StringDef.isMinInclusive()
  as of release 4.0 it is no longer possible to specify ranges on String types.
  oracle.kv.table.TableAPI.execute(String)
  since 3.3 in favor of `KVStore.execute(String)`
  oracle.kv.table.TableAPI.executeSync(String)
  since 3.3 in favor of `KVStore.executeSync(java.lang.String)`
  oracle.kv.table.TableAPI.getFuture(int)
  since 3.3 in favor of `KVStore.getFuture(byte[])`
  oracle.kv.table.TableIteratorOptions.getMaxResultsBatches()
  since 3.4, no longer supported. Returns zero.
  oracle.kv.Version.getVersion()

- Deprecated Constructors
  Constructor
  Description
  oracle.kv.table.TableIteratorOptions(Direction, Consistency, long, TimeUnit, int, int, int)
  since 3.4, no longer supported. replaced by `TableIteratorOptions(Direction, Consistency, long, TimeUnit, int, int)`

- Deprecated Enum Constants
  Enum Constant
  Description
  oracle.kv.Value.Format.AVRO
  as of 4.0, use the table API instead.