Interface JsonbObject

All Known Implementing Classes:
Edge, GraphEntity, Jsonb, Vertex

public interface JsonbObject
This interface defines the JsonbObject.
  • Method Details

    • getKeys

      Iterable<String> getKeys()
      Returns a set of keys.
      Returns:
      a set of keys
    • containsKey

      boolean containsKey(String key)
      Returns true if the given key is contained.
      Parameters:
      key - the given key
      Returns:
      true if the given key is contained
    • getString

      String getString(String key)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      Returns:
      the string value stored at the key
    • getString

      String getString(String key, String defaultValue)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      defaultValue - returned the default value if the value stored at the key is null
      Returns:
      the string value stored at the key
    • getInt

      int getInt(String key)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      Returns:
      the int value stored at the key
    • getInt

      int getInt(String key, int defaultValue)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      defaultValue - returned the default value if the value stored at the key is null
      Returns:
      the int value stored at the key
    • getLong

      long getLong(String key)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      Returns:
      the long value stored at the key
    • getLong

      long getLong(String key, long defaultValue)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      defaultValue - returned the default value if the value stored at the key is null
      Returns:
      the long value stored at the key
    • getDouble

      double getDouble(String key)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      Returns:
      the double value stored at the key
    • getDouble

      double getDouble(String key, double defaultValue)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      defaultValue - returned the default value if the value stored at the key is null
      Returns:
      the double value stored at the key
    • getBoolean

      boolean getBoolean(String key)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      Returns:
      the boolean value stored at the key
    • getBoolean

      boolean getBoolean(String key, boolean defaultValue)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      defaultValue - returned the default value if the value stored at the key is null
      Returns:
      the boolean value stored at the key
    • getArray

      Jsonb getArray(String key)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      Returns:
      the array value stored at the key
    • getObject

      Jsonb getObject(String key)
      Returns the value stored at the key.
      Parameters:
      key - the given key
      Returns:
      the object value stored at the key
    • isNull

      boolean isNull(String key)
      Returns true if the value stored at the key is null.
      Parameters:
      key - the given key
      Returns:
      true if the value stored at the key is null