Class JsonNodeUtil

java.lang.Object
io.deephaven.kafka.ingest.JsonNodeUtil

public class JsonNodeUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable BigDecimal
    getBigDecimal(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a BigDecimal from a JsonNode.
    static @Nullable BigDecimal
    getBigDecimal(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a BigDecimal from a JsonNode.
    static @Nullable BigDecimal
    getBigDecimal(com.fasterxml.jackson.databind.JsonNode node)
    Returns a BigDecimal from a JsonNode.
    static BigInteger
    getBigInteger(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a BigInteger from a JsonNode.
    static BigInteger
    getBigInteger(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a BigInteger from a JsonNode.
    static @Nullable BigInteger
    getBigInteger(com.fasterxml.jackson.databind.JsonNode node)
    Returns a BigInteger from a JsonNode.
    static Boolean
    getBoolean(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Boolean from a JsonNode.
    static Boolean
    getBoolean(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Boolean from a JsonNode.
    static @Nullable Boolean
    getBoolean(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Boolean from a JsonNode.
    static @Nullable Byte
    getBoxedByte(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Byte from a JsonNode.
    static @Nullable Byte
    getBoxedByte(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Byte from a JsonNode.
    static @Nullable Character
    getBoxedChar(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Character from a JsonNode.
    static @Nullable Character
    getBoxedChar(com.fasterxml.jackson.databind.JsonNode node)
     
    static @Nullable Double
    getBoxedDouble(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Double from a JsonNode.
    static @Nullable Double
    getBoxedDouble(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Double from a JsonNode.
    static @Nullable Float
    getBoxedFloat(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Float from a JsonNode.
    static @Nullable Float
    getBoxedFloat(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Float from a JsonNode.
    static @Nullable Integer
    getBoxedInt(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns an Integer from a JsonNode.
    static @Nullable Integer
    getBoxedInt(com.fasterxml.jackson.databind.JsonNode node)
    Returns an Integer from a JsonNode.
    static @Nullable Long
    getBoxedLong(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Long from a JsonNode.
    static @Nullable Long
    getBoxedLong(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Long from a JsonNode.
    static @Nullable Short
    getBoxedShort(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Short from a JsonNode.
    static @Nullable Short
    getBoxedShort(com.fasterxml.jackson.databind.JsonNode node)
     
    static byte
    getByte(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven byte (primitive byte with a reserved value for Null) from a JsonNode.
    static byte
    getByte(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven byte (primitive byte with a reserved value for Null) from a JsonNode.
    static byte
    getByte(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Deephaven byte (primitive byte with a reserved value for Null) from a JsonNode.
    static char
    getChar(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven char (primitive char with a reserved value for Null) from a JsonNode.
    static char
    getChar(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven char (primitive char with a reserved value for Null) from a JsonNode.
    static char
    getChar(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Deephaven char (primitive char with a reserved value for Null) from a JsonNode.
    static double
    getDouble(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven double (primitive double with reserved values for null) from a JsonNode.
    static double
    getDouble(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven double (primitive double with reserved values for null) from a JsonNode.
    static double
    getDouble(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Deephaven double (primitive double with reserved values for null) from a JsonNode.
    static float
    getFloat(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven float (primitive float with reserved values for Null) from a JsonNode.
    static float
    getFloat(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven float (primitive float with reserved values for Null) from a JsonNode.
    static float
    getFloat(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Deephaven float (primitive float with reserved values for Null) from a JsonNode.
    static @Nullable Instant
    getInstant(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns an Instant from a JsonNode.
    static @Nullable Instant
    getInstant(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns an Instant from a JsonNode.
    static @Nullable Instant
    getInstant(com.fasterxml.jackson.databind.JsonNode node)
    Returns an Instant from a JsonNode.
    static int
    getInt(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven int (primitive int with reserved values for null) from a JsonNode.
    static int
    getInt(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven int (primitive int with reserved values for null) from a JsonNode.
    static int
    getInt(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Deephaven int (primitive int with reserved values for null) from a JsonNode.
    static long
    getLong(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven long (primitive long with reserved values for Null) from a JsonNode.
    static long
    getLong(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven long (primitive long with reserved values for Null) from a JsonNode.
    static long
    getLong(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Deephaven long (primitive long with reserved values for null) from a JsonNode.
    static short
    getShort(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven short (primitive short with reserved values for Null) from a JsonNode.
    static short
    getShort(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a Deephaven short (primitive short with reserved values for Null) from a JsonNode.
    static short
    getShort(com.fasterxml.jackson.databind.JsonNode node)
    Returns a Deephaven short (primitive short with reserved values for Null) from a JsonNode.
    static @Nullable String
    getString(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
    Returns a String from a JsonNode.
    static @Nullable String
    getString(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a String from a JsonNode.
    static @Nullable String
    getString(com.fasterxml.jackson.databind.JsonNode node)
    Returns a String from a JsonNode.
    static @Nullable Object
    getValue(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
    Returns a generic Object from a JsonNode.
    static @Nullable Object
    getValue(com.fasterxml.jackson.databind.JsonNode node)
    Returns a generic Object from a JsonNode.
    static com.fasterxml.jackson.databind.JsonNode
    makeJsonNode(com.fasterxml.jackson.databind.ObjectMapper mapper, String json)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JsonNodeUtil

      public JsonNodeUtil()
  • Method Details

    • makeJsonNode

      public static com.fasterxml.jackson.databind.JsonNode makeJsonNode(com.fasterxml.jackson.databind.ObjectMapper mapper, String json)
    • getInt

      public static int getInt(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven int (primitive int with reserved values for null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Deephaven int (primitive int with reserved values for null)
    • getInt

      public static int getInt(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven int (primitive int with reserved values for null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A Deephaven int (primitive int with reserved values for null)
    • getInt

      public static int getInt(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Deephaven int (primitive int with reserved values for null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Deephaven int (primitive int with reserved values for null)
    • getBoxedInt

      @Nullable public static @Nullable Integer getBoxedInt(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns an Integer from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      An Integer
    • getBoxedInt

      @Nullable public static @Nullable Integer getBoxedInt(com.fasterxml.jackson.databind.JsonNode node)
      Returns an Integer from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      An Integer
    • getShort

      public static short getShort(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven short (primitive short with reserved values for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Deephaven short (primitive short with reserved values for Null)
    • getShort

      public static short getShort(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven short (primitive short with reserved values for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A Deephaven short (primitive short with reserved values for Null)
    • getShort

      public static short getShort(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Deephaven short (primitive short with reserved values for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Deephaven short (primitive short with reserved values for Null)
    • getBoxedShort

      @Nullable public static @Nullable Short getBoxedShort(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Short from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Short
    • getBoxedShort

      @Nullable public static @Nullable Short getBoxedShort(com.fasterxml.jackson.databind.JsonNode node)
    • getLong

      public static long getLong(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven long (primitive long with reserved values for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Deephaven long (primitive long with reserved values for Null)
    • getLong

      public static long getLong(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven long (primitive long with reserved values for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A Deephaven long (primitive long with reserved values for Null)
    • getLong

      public static long getLong(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Deephaven long (primitive long with reserved values for null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Deephaven long (primitive long with reserved values for null)
    • getBoxedLong

      @Nullable public static @Nullable Long getBoxedLong(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Long from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Long
    • getBoxedLong

      @Nullable public static @Nullable Long getBoxedLong(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Long from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Long
    • getDouble

      public static double getDouble(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven double (primitive double with reserved values for null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Deephaven double (primitive double with reserved values for null)
    • getDouble

      public static double getDouble(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven double (primitive double with reserved values for null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A Deephaven double (primitive double with reserved values for null)
    • getDouble

      public static double getDouble(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Deephaven double (primitive double with reserved values for null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Deephaven double (primitive double with reserved values for null)
    • getBoxedDouble

      @Nullable public static @Nullable Double getBoxedDouble(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Double from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Double
    • getBoxedDouble

      @Nullable public static @Nullable Double getBoxedDouble(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Double from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Double
    • getFloat

      public static float getFloat(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven float (primitive float with reserved values for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Deephaven float (primitive float with reserved values for Null)
    • getFloat

      public static float getFloat(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven float (primitive float with reserved values for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A Deephaven float (primitive float with reserved values for Null)
    • getFloat

      public static float getFloat(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Deephaven float (primitive float with reserved values for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Deephaven float (primitive float with reserved values for Null)
    • getBoxedFloat

      @Nullable public static @Nullable Float getBoxedFloat(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Float from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Float
    • getBoxedFloat

      @Nullable public static @Nullable Float getBoxedFloat(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Float from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Float
    • getByte

      public static byte getByte(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven byte (primitive byte with a reserved value for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Deephaven byte (primitive byte with a reserved value for Null)
    • getByte

      public static byte getByte(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven byte (primitive byte with a reserved value for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A Deephaven byte (primitive byte with a reserved value for Null)
    • getByte

      public static byte getByte(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Deephaven byte (primitive byte with a reserved value for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Deephaven byte (primitive byte with a reserved value for Null)
    • getBoxedByte

      @Nullable public static @Nullable Byte getBoxedByte(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Byte from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Byte
    • getBoxedByte

      @Nullable public static @Nullable Byte getBoxedByte(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Byte from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Byte
    • getChar

      public static char getChar(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven char (primitive char with a reserved value for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Deephaven char (primitive char with a reserved value for Null)
    • getChar

      public static char getChar(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Deephaven char (primitive char with a reserved value for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A Deephaven char (primitive char with a reserved value for Null)
    • getChar

      public static char getChar(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Deephaven char (primitive char with a reserved value for Null) from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Deephaven char (primitive char with a reserved value for Null)
    • getBoxedChar

      @Nullable public static @Nullable Character getBoxedChar(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Character from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Character
    • getBoxedChar

      @Nullable public static @Nullable Character getBoxedChar(com.fasterxml.jackson.databind.JsonNode node)
    • getString

      @Nullable public static @Nullable String getString(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a String from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A String
    • getString

      @Nullable public static @Nullable String getString(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a String from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A String
    • getString

      @Nullable public static @Nullable String getString(com.fasterxml.jackson.databind.JsonNode node)
      Returns a String from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A String
    • getBoolean

      public static Boolean getBoolean(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Boolean from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A Boolean
    • getBoolean

      public static Boolean getBoolean(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a Boolean from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A Boolean
    • getBoolean

      @Nullable public static @Nullable Boolean getBoolean(com.fasterxml.jackson.databind.JsonNode node)
      Returns a Boolean from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A Boolean
    • getBigInteger

      public static BigInteger getBigInteger(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a BigInteger from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A BigInteger
    • getBigInteger

      public static BigInteger getBigInteger(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a BigInteger from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A BigInteger
    • getBigInteger

      @Nullable public static @Nullable BigInteger getBigInteger(com.fasterxml.jackson.databind.JsonNode node)
      Returns a BigInteger from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A BigInteger
    • getBigDecimal

      @Nullable public static @Nullable BigDecimal getBigDecimal(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a BigDecimal from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      A BigDecimal
    • getBigDecimal

      @Nullable public static @Nullable BigDecimal getBigDecimal(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns a BigDecimal from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
      Returns:
      A BigDecimal
    • getBigDecimal

      @Nullable public static @Nullable BigDecimal getBigDecimal(com.fasterxml.jackson.databind.JsonNode node)
      Returns a BigDecimal from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      A BigDecimal
    • getValue

      @Nullable public static @Nullable Object getValue(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns a generic Object from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
      Returns:
      An Object
    • getValue

      @Nullable public static @Nullable Object getValue(com.fasterxml.jackson.databind.JsonNode node)
      Returns a generic Object from a JsonNode.
      Parameters:
      node - The JsonNode from which to retrieve the value.
      Returns:
      An Object
    • getInstant

      @Nullable public static @Nullable Instant getInstant(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull String key, boolean allowMissingKeys, boolean allowNullValues)
      Returns an Instant from a JsonNode. Will try to infer precision of a long value to be parsed using DateTimeUtils autoEpochToTime. If the value in the JSON record is not numeric, this method will attempt to parse it as a Deephaven Instant string (yyyy-MM-ddThh:mm:ss[.nnnnnnnnn] TZ).
      Parameters:
      node - The JsonNode from which to retrieve the value.
      key - The String key of the value to retrieve.
    • getInstant

      @Nullable public static @Nullable Instant getInstant(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull @NotNull com.fasterxml.jackson.core.JsonPointer ptr, boolean allowMissingKeys, boolean allowNullValues)
      Returns an Instant from a JsonNode. Will try to infer precision of a long value to be parsed using DateTimeUtils autoEpochToTime. If the value in the JSON record is not numeric, this method will attempt to parse it as a Deephaven Instant string (yyyy-MM-ddThh:mm:ss[.nnnnnnnnn] TZ).
      Parameters:
      node - The JsonNode from which to retrieve the value.
      ptr - A JsonPointer to the node for the value to retrieve.
    • getInstant

      @Nullable public static @Nullable Instant getInstant(com.fasterxml.jackson.databind.JsonNode node)
      Returns an Instant from a JsonNode. Will try to infer precision of a long value to be parsed using DateTimeUtils autoEpochToTime. If the value in the JSON record is not numeric, this method will attempt to parse it as a Deephaven Instant string (yyyy-MM-ddThh:mm:ss[.nnnnnnnnn] TZ).
      Parameters:
      node - The JsonNode from which to retrieve the value.