public interface Row extends RecordValue
TableAPI.
Row objects are constructed explicitly using
createRow or implicitly when returned from table
access operations.
| Modifier and Type | Method and Description |
|---|---|
Row |
clone()
Returns a deep copy of this object.
|
PrimaryKey |
createPrimaryKey()
Creates a PrimaryKey from this Row.
|
boolean |
equals(Object other)
Equality comparison for Row instances is based on equality of the
individual field values and ignores the included
Version, if
present. |
Table |
getTable()
Return the Table associated with this row.
|
int |
getTableVersion()
Returns the version of the table used to create this row if it has been
deserialized from a get operation.
|
Version |
getVersion()
Returns the Version for the row.
|
contains, copyFrom, get, getDefinition, getFields, isEmpty, put, put, put, put, put, put, put, put, putArray, putArrayAsJson, putArrayAsJson, putEnum, putFixed, putMap, putMapAsJson, putMapAsJson, putNull, putRecord, putRecordAsJson, putRecordAsJson, remove, size, toStringasArray, asBinary, asBoolean, asDouble, asEnum, asFixedBinary, asFloat, asIndexKey, asInteger, asLong, asMap, asPrimaryKey, asRecord, asRow, asString, getType, isArray, isBinary, isBoolean, isDouble, isEnum, isFixedBinary, isFloat, isIndexKey, isInteger, isLong, isMap, isNull, isPrimaryKey, isRecord, isRow, isString, toJsonStringcompareToTable getTable()
Version getVersion()
Version
in its class description refers to its use in the KVStore
interface. In TableAPI it it used as a return value for the
various put methods as well as TableAPI.putIfVersion(oracle.kv.table.Row, oracle.kv.Version, oracle.kv.table.ReturnRow, oracle.kv.table.WriteOptions) and
TableAPI.deleteIfVersion(oracle.kv.table.PrimaryKey, oracle.kv.Version, oracle.kv.table.ReturnRow, oracle.kv.table.WriteOptions) to perform conditional updates to
allow an application to ensure that an update is occurring on the
desired version of a row.PrimaryKey createPrimaryKey()
int getTableVersion()
boolean equals(Object other)
Version, if
present.Row clone()
clone in interface FieldValueclone in interface RecordValueCopyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.