Uses of Interface
oracle.kv.table.FieldValue
Package
Description
This package contains the majority of the public API for using Oracle NoSQL
Database query language.
Table support for Oracle NoSQL Database.
-
Uses of FieldValue in oracle.kv.query
Modifier and TypeMethodDescriptionBoundStatement.getVariables()
Returns the map of bound variables.Modifier and TypeMethodDescriptionBoundStatement.setVariable
(String variableName, FieldValue value) Sets the value of a variable. -
Uses of FieldValue in oracle.kv.table
Modifier and TypeInterfaceDescriptioninterface
ArrayValue extendsFieldValue
to add methods appropriate for array values.interface
BinaryValue extendsFieldValue
to represent a byte array value.interface
BooleanValue extendsFieldValue
to represent a simple boolean value.interface
DoubleValue extendsFieldValue
to represent a double.interface
EnumValue extendsFieldValue
to represent a single value in an enumeration.interface
FixedBinaryValue extendsFieldValue
to represent a fixed-size byte array.interface
FloatValue extendsFieldValue
to represent a float.interface
IndexKey is a specialization of RecordValue to represent a key used to access a specific index defined on a table.interface
IntegerValue extendsFieldValue
to represent an integer.interface
LongValue extendsFieldValue
to represent a long.interface
MapValue extendsFieldValue
to define a container object that holds a map of FieldValue objects all of the same type.interface
NumberValue extendsFieldValue
to represent a BigDecimal.interface
PrimaryKey is a specialization of Row to represent a primary key used to access records in a table using theTableAPI
.interface
RecordValue extendsFieldValue
to represent a record value.interface
ReturnRow is used with put and delete operations to return the previous row value and version.interface
Row is a specialization of RecordValue to represent a single record, or row, in a table.interface
StringValue extendsFieldValue
to represent a string.interface
TimestampValue extendsFieldValue
to represent a Timestamp value.Modifier and TypeMethodDescriptionFieldValue.clone()
Create a deep copy of this object.FieldDef.createJsonNull()
Creates a special FieldValue instance representing a JSON null.static FieldValue
FieldValueFactory.createJsonNull()
Creates a special FieldValue instance representing a JSON null value, which returns true fromisJsonNull()
.static FieldValue
FieldValueFactory.createValueFromJson
(Reader jsonReader) Creates a FieldValue instance from JSON input where the type is not known.static FieldValue
FieldValueFactory.createValueFromJson
(String jsonString) Creates a FieldValue instance from JSON input where the type is not known.static FieldValue
FieldValueFactory.createValueFromJson
(FieldDef type, InputStream jsonStream) Creates a new value from a JSON doc (which is given as an InputStream).static FieldValue
FieldValueFactory.createValueFromJson
(FieldDef type, Reader jsonReader) Creates a new value from a JSON doc (which is given as a Reader).static FieldValue
FieldValueFactory.createValueFromJson
(FieldDef type, String jsonString) Creates a new value from a JSON doc (which is given as a String).ArrayValue.get
(int index) Gets the value at the specified index.Returns the FieldValue with the specified name if it appears in the map.RecordValue.get
(int position) Returns the value of the field at the given position.Returns the value of the field with the given name.RecordDef.getDefaultValue
(int pos) Returns the default value for the field at the given position.RecordDef.getDefaultValue
(String name) Returns the default value for the named field.Table.getDefaultValue
(String name) Creates an instance using the default value for the named field.FieldRange.getEnd()
Returns the FieldValue that defines upper bound of the range, or null if no upper bound is enforced.FieldRange.getStart()
Returns the FieldValue that defines lower bound of the range, or null if no lower bound is enforced.Remove the named field if it exists.Remove the named field if it exists.Modifier and TypeMethodDescriptionMapValue.getFields()
Returns an unmodifiable view of the MapValue state.ArrayValue.toList()
Returns the array values as an unmodifiable list.Modifier and TypeMethodDescriptionArrayValue.add
(int index, FieldValue value) Inserts a new value at the specified index.ArrayValue.add
(FieldValue value) Adds a new value at the end of the array.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.put
(String fieldName, FieldValue value) Set the named field.RecordValue.put
(int position, FieldValue value) Inserts the field at the given position, or updates its value if the field exists already.RecordValue.put
(String fieldName, FieldValue value) Set the named field, silently overwriting existing values.ArrayValue.set
(int index, FieldValue value) Set the value at the specified index.FieldRange.setEnd
(FieldValue value, boolean isInclusive) Sets the end value of the range to the specified value.FieldRange.setEnd
(FieldValue value, boolean isInclusive, boolean validate) FieldRange.setStart
(FieldValue value, boolean isInclusive) Sets the start value of the range to the specified value.FieldRange.setStart
(FieldValue value, boolean isInclusive, boolean validate) FieldRange.setStartValue
(FieldValue value, boolean isInclusive)