Class OracleJdbcJsonGeneratorEncoder

java.lang.Object
io.micronaut.serde.oracle.jdbc.json.OracleJdbcJsonGeneratorEncoder
All Implemented Interfaces:
Encoder, AutoCloseable

@Internal public final class OracleJdbcJsonGeneratorEncoder extends Object implements Encoder
Implementation of the Encoder interface for Oracle JDBC JSON.
Since:
1.2.0
Author:
Denis Stepanov
  • Method Details

    • encodeArray

      public Encoder encodeArray(io.micronaut.core.type.Argument<?> type)
      Description copied from interface: Encoder
      Encodes an array.
      Specified by:
      encodeArray in interface Encoder
      Parameters:
      type - The array type, never null
      Returns:
      The encoder, never null
    • encodeObject

      public Encoder encodeObject(io.micronaut.core.type.Argument<?> type)
      Description copied from interface: Encoder
      Encodes an object.
      Specified by:
      encodeObject in interface Encoder
      Parameters:
      type - The object type, never null
      Returns:
      The encoder, never null
    • finishStructure

      public void finishStructure()
      Description copied from interface: Encoder
      Finalize a previously created structure, like an array or object.
      Specified by:
      finishStructure in interface Encoder
    • encodeKey

      public void encodeKey(String key)
      Description copied from interface: Encoder
      Encode a key.
      Specified by:
      encodeKey in interface Encoder
      Parameters:
      key - The key, never null
    • encodeString

      public void encodeString(String value)
      Description copied from interface: Encoder
      Encode a string.
      Specified by:
      encodeString in interface Encoder
      Parameters:
      value - The string, never null
    • encodeBoolean

      public void encodeBoolean(boolean value)
      Description copied from interface: Encoder
      Encode a boolean.
      Specified by:
      encodeBoolean in interface Encoder
      Parameters:
      value - The boolean
    • encodeByte

      public void encodeByte(byte value)
      Description copied from interface: Encoder
      Encode a byte.
      Specified by:
      encodeByte in interface Encoder
      Parameters:
      value - The byte
    • encodeShort

      public void encodeShort(short value)
      Description copied from interface: Encoder
      Encode a short.
      Specified by:
      encodeShort in interface Encoder
      Parameters:
      value - The short
    • encodeChar

      public void encodeChar(char value)
      Description copied from interface: Encoder
      Encode a char.
      Specified by:
      encodeChar in interface Encoder
      Parameters:
      value - The char
    • encodeInt

      public void encodeInt(int value)
      Description copied from interface: Encoder
      Encode an int.
      Specified by:
      encodeInt in interface Encoder
      Parameters:
      value - The int
    • encodeLong

      public void encodeLong(long value)
      Description copied from interface: Encoder
      Encode a long.
      Specified by:
      encodeLong in interface Encoder
      Parameters:
      value - The long
    • encodeFloat

      public void encodeFloat(float value)
      Description copied from interface: Encoder
      Encode a float.
      Specified by:
      encodeFloat in interface Encoder
      Parameters:
      value - The float
    • encodeDouble

      public void encodeDouble(double value)
      Description copied from interface: Encoder
      Encode a double.
      Specified by:
      encodeDouble in interface Encoder
      Parameters:
      value - The double
    • encodeBigInteger

      public void encodeBigInteger(BigInteger value)
      Description copied from interface: Encoder
      Encode a BigInteger.
      Specified by:
      encodeBigInteger in interface Encoder
      Parameters:
      value - The BigInteger, never null
    • encodeBigDecimal

      public void encodeBigDecimal(BigDecimal value)
      Description copied from interface: Encoder
      Encode a BigDecimal.
      Specified by:
      encodeBigDecimal in interface Encoder
      Parameters:
      value - The BigDecimal, never null
    • encodeNull

      public void encodeNull()
      Description copied from interface: Encoder
      Encode null.
      Specified by:
      encodeNull in interface Encoder
    • currentPath

      @NonNull public String currentPath()
      Description copied from interface: Encoder
      Return an analysis of the current path.
      Specified by:
      currentPath in interface Encoder
      Returns:
      The current path if known
    • encodeLocalDateTime

      public void encodeLocalDateTime(LocalDateTime localDateTime)
      Encodes local date time.
      Parameters:
      localDateTime - the local date time
    • encodeOffsetDateTime

      public void encodeOffsetDateTime(OffsetDateTime offsetDateTime)
      Encodes offset date time.
      Parameters:
      offsetDateTime - the offset date time