Uses of Interface
oracle.kv.table.FieldValue
-
Packages that use FieldValue Package Description oracle.kv.query This package contains the majority of the public API for using Oracle NoSQL Database query language.oracle.kv.table Table support for Oracle NoSQL Database. -
-
Uses of FieldValue in oracle.kv.query
Methods in oracle.kv.query that return types with arguments of type FieldValue Modifier and Type Method Description java.util.Map<java.lang.String,FieldValue>
BoundStatement. getVariables()
Returns the map of bound variables.Methods in oracle.kv.query with parameters of type FieldValue Modifier and Type Method Description BoundStatement
BoundStatement. setVariable(java.lang.String variableName, FieldValue value)
Sets the value of a variable. -
Uses of FieldValue in oracle.kv.table
Subinterfaces of FieldValue in oracle.kv.table Modifier and Type Interface Description interface
ArrayValue
ArrayValue extendsFieldValue
to add methods appropriate for array values.interface
BinaryValue
BinaryValue extendsFieldValue
to represent a byte array value.interface
BooleanValue
BooleanValue extendsFieldValue
to represent a simple boolean value.interface
DoubleValue
DoubleValue extendsFieldValue
to represent a double.interface
EnumValue
EnumValue extendsFieldValue
to represent a single value in an enumeration.interface
FixedBinaryValue
FixedBinaryValue extendsFieldValue
to represent a fixed-size byte array.interface
FloatValue
FloatValue extendsFieldValue
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 extendsFieldValue
to represent an integer.interface
LongValue
LongValue extendsFieldValue
to represent a long.interface
MapValue
MapValue extendsFieldValue
to define a container object that holds a map of FieldValue objects all of the same type.interface
NumberValue
NumberValue extendsFieldValue
to represent a BigDecimal.interface
PrimaryKey
PrimaryKey is a specialization of Row to represent a primary key used to access records in a table using theTableAPI
.interface
RecordValue
RecordValue extendsFieldValue
to represent a record value.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 extendsFieldValue
to represent a string.interface
TimestampValue
TimestampValue extendsFieldValue
to represent a Timestamp value.Methods in oracle.kv.table that return FieldValue Modifier and Type Method Description FieldValue
FieldValue. clone()
Create a deep copy of this object.FieldValue
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(java.io.Reader jsonReader)
Creates a FieldValue instance from JSON input where the type is not known.static FieldValue
FieldValueFactory. createValueFromJson(java.lang.String jsonString)
Creates a FieldValue instance from JSON input where the type is not known.static FieldValue
FieldValueFactory. createValueFromJson(FieldDef type, java.io.InputStream jsonStream)
Creates a new value from a JSON doc (which is given as an InputStream).static FieldValue
FieldValueFactory. createValueFromJson(FieldDef type, java.io.Reader jsonReader)
Creates a new value from a JSON doc (which is given as a Reader).static FieldValue
FieldValueFactory. createValueFromJson(FieldDef type, java.lang.String jsonString)
Creates a new value from a JSON doc (which is given as a String).FieldValue
ArrayValue. get(int index)
Gets the value at the specified index.FieldValue
MapValue. get(java.lang.String fieldName)
Returns the FieldValue with the specified name if it appears in the map.FieldValue
RecordValue. get(int position)
Returns the value of the field at the given position.FieldValue
RecordValue. get(java.lang.String fieldName)
Returns the value of the field with the given name.FieldValue
RecordDef. getDefaultValue(int pos)
Returns the default value for the field at the given position.FieldValue
RecordDef. getDefaultValue(java.lang.String name)
Returns the default value for the named field.FieldValue
Table. getDefaultValue(java.lang.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(java.lang.String fieldName)
Remove the named field if it exists.FieldValue
RecordValue. remove(java.lang.String fieldName)
Remove the named field if it exists.Methods in oracle.kv.table that return types with arguments of type FieldValue Modifier and Type Method Description java.util.Map<java.lang.String,FieldValue>
MapValue. getFields()
Returns an unmodifiable view of the MapValue state.java.util.List<FieldValue>
ArrayValue. toList()
Returns the array values as an unmodifiable list.Methods in oracle.kv.table with parameters of type FieldValue Modifier and Type Method Description ArrayValue
ArrayValue. add(int index, FieldValue value)
Inserts a new value at the specified index.ArrayValue
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
MapValue. put(java.lang.String fieldName, FieldValue value)
Set the named field.RecordValue
RecordValue. put(int position, FieldValue value)
Inserts the field at the given position, or updates its value if the field exists already.RecordValue
RecordValue. put(java.lang.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. setEnd(FieldValue value, boolean isInclusive, boolean validate)
FieldRange
FieldRange. setStart(FieldValue value, boolean isInclusive)
Sets the start value of the range to the specified value.FieldRange
FieldRange. setStart(FieldValue value, boolean isInclusive, boolean validate)
FieldRange
FieldRange. setStartValue(FieldValue value, boolean isInclusive)
-