Package | Description |
---|---|
oracle.kv.table |
Table support for Oracle NoSQL Database.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ArrayValue
ArrayValue extends
FieldValue to add methods appropriate for array
values. |
interface |
BinaryValue
BinaryValue extends
FieldValue to represent a byte array
value. |
interface |
BooleanValue
BooleanValue extends
FieldValue to represent a simple boolean value. |
interface |
DoubleValue
DoubleValue extends
FieldValue to represent a double. |
interface |
EnumValue
EnumValue extends
FieldValue to represent a single value in an
enumeration. |
interface |
FixedBinaryValue
FixedBinaryValue extends
FieldValue to represent a fixed-size byte
array. |
interface |
FloatValue
FloatValue extends
FieldValue to represent a float. |
interface |
IndexKey
IndexKey is a specialization of RecordValue to represent a key used to
access a specific index defined on a table.
|
interface |
IntegerValue
IntegerValue extends
FieldValue to represent an integer. |
interface |
LongValue
LongValue extends
FieldValue to represent a long. |
interface |
MapValue
MapValue extends
FieldValue to define a container object that holds
a map of FieldValue objects all of the same type. |
interface |
PrimaryKey
PrimaryKey is a specialization of Row to represent a primary key used to
access records in a table using the
TableAPI . |
interface |
RecordValue
RecordValue extends
FieldValue to represent a multi-valued object
that contains a map of string names to fields. |
interface |
ReturnRow
ReturnRow is used with put and delete operations to return the previous row
value and version.
|
interface |
Row
Row is a specialization of RecordValue to represent a single record,
or row, in a table.
|
interface |
StringValue
StringValue extends
FieldValue to represent a string. |
Modifier and Type | Method and Description |
---|---|
FieldValue |
FieldValue.clone()
Create a deep copy of this object.
|
FieldValue |
ArrayValue.get(int index)
Gets the value at the specified index.
|
FieldValue |
MapValue.get(String fieldName)
Returns the FieldValue with the specified name if it
appears in the map.
|
FieldValue |
RecordValue.get(String fieldName)
Returns the value of the named field.
|
FieldValue |
Table.getDefaultValue(String name)
Creates an instance using the default value for the named field.
|
FieldValue |
RecordDef.getDefaultValue(String name)
Creates an instance using the default value for the named field.
|
FieldValue |
FieldRange.getEnd()
Returns the FieldValue that defines upper bound of the range,
or null if no upper bound is enforced.
|
FieldValue |
FieldRange.getStart()
Returns the FieldValue that defines lower bound of the range,
or null if no lower bound is enforced.
|
FieldValue |
MapValue.remove(String fieldName)
Remove the named field if it exists.
|
FieldValue |
RecordValue.remove(String fieldName)
Remove the named field if it exists.
|
Modifier and Type | Method and Description |
---|---|
Map<String,FieldValue> |
MapValue.getFields()
Returns an unmodifiable view of the MapValue state.
|
List<FieldValue> |
ArrayValue.toList()
Returns the array values as an unmodifiable list.
|
Modifier and Type | Method and Description |
---|---|
ArrayValue |
ArrayValue.add(FieldValue value)
Adds a new value at the end of the array.
|
ArrayValue |
ArrayValue.add(int index,
FieldValue value)
Inserts a new value at the specified index.
|
int |
BinaryValue.compareTo(FieldValue otherValue)
Returns 0 if the two values are equal in terms of length and byte
content, otherwise it returns -1.
|
MapValue |
MapValue.put(String fieldName,
FieldValue value)
Set the named field.
|
RecordValue |
RecordValue.put(String fieldName,
FieldValue value)
Set the named field, silently overwriting existing values.
|
ArrayValue |
ArrayValue.set(int index,
FieldValue value)
Set the value at the specified index.
|
FieldRange |
FieldRange.setEnd(FieldValue value,
boolean isInclusive)
Sets the end value of the range to the specified value.
|
FieldRange |
FieldRange.setStart(FieldValue value,
boolean isInclusive)
Sets the start value of the range to the specified value.
|
Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.