Package oracle.nosql.driver.values

## Class NullValue

- java.lang.Object
- - oracle.nosql.driver.values.FieldValue
  - - oracle.nosql.driver.values.NullValue

- All Implemented Interfaces:
    `Comparable<FieldValue>`

      public class NullValue
      extends FieldValue

  A `FieldValue` instance representing a null or missing value in a fully-typed schema. This type only exists in index keys on a fully-typed field and never inside indexed JSON.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class oracle.nosql.driver.values.FieldValue

      `FieldValue.Type`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `compareTo​(FieldValue other)` |
    `boolean` | `equals​(Object other)` |
    `static NullValue` | `getInstance()` | Returns an instance (singleton) of NullValue.
    `String` | `getString()` | Returns a String value for the field.
    `FieldValue.Type` | `getType()` | Returns the type of the object
    `int` | `hashCode()` |
    `String` | `toJson​(JsonOptions options)` | Returns a JSON representation of the value using the options, if specified.

    - ### Methods inherited from class oracle.nosql.driver.values.FieldValue

      `asArray, asBinary, asBoolean, asDouble, asInteger, asJsonNull, asLong, asMap, asNull, asNumber, asString, asTimestamp, castAsDouble, createFromJson, createFromJson, createFromJson, getBinary, getBoolean, getDouble, getInt, getLong, getNumber, getSerializedSize, getTimestamp, isAnyNull, isArray, isAtomic, isBinary, isBoolean, isDouble, isInteger, isJsonNull, isLong, isMap, isNull, isNumber, isNumeric, isString, isTimestamp, toJson, toString`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getType

          public FieldValue.Type getType()

      Description copied from class: `FieldValue`
      Returns the type of the object
      Specified by:
        `getType` in class `FieldValue`
      Returns:
        the type

    - #### getInstance

          public static NullValue getInstance()

      Returns an instance (singleton) of NullValue.
      Returns:
        the value

    - #### compareTo

          public int compareTo​(FieldValue other)

    - #### getString

          public String getString()

      Description copied from class: `FieldValue`
      Returns a String value for the field. The String value cannot be created for MapValue, ArrayValue and BinaryValue. String values that are coerced use Java rules for representation.
      Overrides:
        `getString` in class `FieldValue`
      Returns:
        a String value

    - #### toJson

          public String toJson​(JsonOptions options)

      Description copied from class: `FieldValue`
      Returns a JSON representation of the value using the options, if specified.
      Overrides:
        `toJson` in class `FieldValue`
      Parameters:
        `options` - configurable options used to affect the JSON output format of some data types. May be null.
      Returns:
        the JSON representation of this value.

    - #### equals

          public boolean equals​(Object other)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`