Uses of Class
oracle.nosql.driver.values.FieldValue
Package
Description
Contains the public API for using the Oracle NoSQL Database
as well as configuration and common parameter classes used in
database operations.
Contains the input and response classes used for Oracle NoSQL
Database operations.
The classes in this package are used to represent and manipulate data in the
Oracle NoSQL Database.
-
Uses of FieldValue in oracle.nosql.driver
Modifier and TypeMethodDescriptionFieldRange.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.static FieldValue
Nson.readFieldValue
(oracle.nosql.driver.util.ByteInputStream in) Read the protocol input stream and send events to a handler that creates a FieldValue.Modifier and TypeMethodDescriptionstatic int
Nson.getSerializedSize
(FieldValue value) Returns the serialized (as NSON) size of a FieldValueFieldRange.setEnd
(FieldValue value, boolean isInclusive) Sets the end value of the range to the specified value.FieldRange.setStart
(FieldValue value, boolean isInclusive) Sets the start value of the range to the specified value.static void
Nson.writeFieldValue
(oracle.nosql.driver.util.ByteOutputStream out, FieldValue value) Serializes a generic FieldValue into the output stream -
Uses of FieldValue in oracle.nosql.driver.ops
Modifier and TypeMethodDescriptionPutResult.getGeneratedValue()
Returns the value generated if the operation created a new value.WriteMultipleResult.OperationResult.getGeneratedValue()
Returns the value generated if the operation created a new value.Modifier and TypeMethodDescriptionPreparedStatement.getVariables()
Returns the map of variables to use for a prepared query with variables.Modifier and TypeMethodDescriptionPreparedStatement.setVariable
(int pos, FieldValue value) Binds an external variable to a given value.PreparedStatement.setVariable
(String name, FieldValue value) Binds an external variable to a given value. -
Uses of FieldValue in oracle.nosql.driver.values
Modifier and TypeClassDescriptionclass
ArrayValue represents an array ofFieldValue
instances.class
AFieldValue
instance representing a binary value.class
AFieldValue
instance representing a boolean value.class
AFieldValue
instance representing a double value.class
AFieldValue
instance representing an integer value.class
AFieldValue
instance representing an explicit JSON null value in a JSON object or array.class
AFieldValue
instance representing a long value.class
MapValue represents a row in a NoSQL Database table.class
AFieldValue
instance representing a null or missing value in a fully-typed schema.class
AFieldValue
instance representing an arbitrary-precision numeric value.class
AFieldValue
instance representing a string value.class
AFieldValue
instance representing a timestamp value.Modifier and TypeMethodDescriptionstatic FieldValue
FieldValue.createFromJson
(InputStream jsonInput, JsonOptions options) Constructs a new FieldValue instance based on JSON read from the InputStream provided.static FieldValue
FieldValue.createFromJson
(Reader jsonInput, JsonOptions options) Constructs a new FieldValue instance based on JSON read from the Reader provided.static FieldValue
FieldValue.createFromJson
(String jsonInput, JsonOptions options) Constructs a new FieldValue instance based on the JSON string provided.static FieldValue
JsonUtils.createValueFromJson
(InputStream jsonInput, JsonOptions options) Creates a FieldValue instance from JSONstatic FieldValue
JsonUtils.createValueFromJson
(Reader jsonInput, JsonOptions options) Creates a FieldValue instance from JSONstatic FieldValue
JsonUtils.createValueFromJson
(String jsonInput, JsonOptions options) Creates a FieldValue instance from JSONArrayValue.get
(int index) Returns the field at the specified index.Returns the field the specified name, or null if the field does not exist.FieldValueCreator.getCurrentValue()
Returns the current FieldValue if availableArrayValue.remove
(int index) Removes the element at the specified position, shifting any subsequent elements to the left.Removes the named field if it exists.ArrayValue.set
(int index, boolean value) Replaces the element at the specified position with the new value.ArrayValue.set
(int index, byte[] value) Replaces the element at the specified position with the new value.ArrayValue.set
(int index, double value) Replaces the element at the specified position with the new value.ArrayValue.set
(int index, int value) Replaces the element at the specified position with the new value.ArrayValue.set
(int index, long value) Replaces the element at the specified position with the new value.Replaces the element at the specified position with the new value.ArrayValue.set
(int index, BigDecimal value) Replaces the element at the specified position with the new value.ArrayValue.set
(int index, FieldValue value) Replaces the element at the specified position with the new value.Modifier and TypeMethodDescriptionMapValue.entrySet()
Returns aSet
of entries based on the underlying map that holds the values.MapValue.getMap()
Returns a liveMap
of the MapValue state.ArrayValue.iterator()
MapValue.iterator()
Returns an iterator over the entry set.MapValue.values()
Returns aCollection
ofFieldValue
instances contained in this map.Modifier and TypeMethodDescriptionArrayValue.add
(int index, FieldValue value) Inserts the field at the specified index.ArrayValue.add
(FieldValue value) Adds the field to the end of the arrayint
ArrayValue.compareTo
(FieldValue other) int
BinaryValue.compareTo
(FieldValue other) Returns 0 if the two values are equal in terms of length and byte content, otherwise it returns -1.int
BooleanValue.compareTo
(FieldValue other) int
DoubleValue.compareTo
(FieldValue other) int
EmptyValue.compareTo
(FieldValue other) int
IntegerValue.compareTo
(FieldValue other) int
JsonNullValue.compareTo
(FieldValue other) int
LongValue.compareTo
(FieldValue other) int
MapValue.compareTo
(FieldValue other) int
NullValue.compareTo
(FieldValue other) int
NumberValue.compareTo
(FieldValue other) int
StringValue.compareTo
(FieldValue other) int
TimestampValue.compareTo
(FieldValue other) static void
FieldValueEventHandler.generate
(FieldValue value, oracle.nosql.driver.values.FieldValueEventHandler handler) Generates events from aFieldValue
instance sending them to theFieldValueEventHandler
provided.static void
FieldValueEventHandler.generate
(FieldValue value, oracle.nosql.driver.values.FieldValueEventHandler handler, boolean skip) Generates events from aFieldValue
instance sending them to theFieldValueEventHandler
provided.MapValue.put
(String name, FieldValue value) Sets the named field.ArrayValue.set
(int index, FieldValue value) Replaces the element at the specified position with the new value.Modifier and TypeMethodDescriptionArrayValue.addAll
(int index, Iterator<? extends FieldValue> iter) Inserts all of the elements in the specified Iterator into the array, starting at the specified position.ArrayValue.addAll
(int index, Stream<? extends FieldValue> stream) Inserts all of the elements in the specified Stream into the array, starting at the specified position.ArrayValue.addAll
(Iterator<? extends FieldValue> iter) Adds all of the values in the Iterator to the end of the array in the order they are returned by the iterator.ArrayValue.addAll
(Stream<? extends FieldValue> stream) Adds all of the values in the Stream to the end of the array in the order they are returned by the stream.MapValue.addAll
(Iterator<Map.Entry<String, FieldValue>> iter) Inserts all of the entries in the specified iterator into the map.MapValue.addAll
(Stream<Map.Entry<String, FieldValue>> stream) Inserts all of the entries in the specified stream into the map.