java.lang.Comparable<KeyPair>public class KeyPair extends java.lang.Object implements java.lang.Comparable<KeyPair>
TableAPI.tableKeysIterator(IndexKey, MultiRowOptions,
oracle.kv.table.TableIteratorOptions)
This classes allows the iterator to return all field value information that
can be obtained directly from the index without an additional fetch.
Note: this class has a natural ordering that is inconsistent with
equals. Ordering is based on the indexKey only.| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(KeyPair other) |
Compares the IndexKey of this object with the IndexKey of the specified
object for order.
|
IndexKey |
getIndexKey() |
Returns the IndexKey from the pair.
|
PrimaryKey |
getPrimaryKey() |
Returns the PrimaryKey from the pair.
|
java.lang.String |
toJsonString() |
public PrimaryKey getPrimaryKey()
public IndexKey getIndexKey()
public int compareTo(KeyPair other)
compareTo in interface java.lang.Comparable<KeyPair>public java.lang.String toJsonString()
Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.