Package net.bitnine.agensgraph.util
Interface JsonbObject
- All Known Implementing Classes:
Edge,GraphEntity,Jsonb,Vertex
public interface JsonbObject
This interface defines the JsonbObject.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(String key) Returns true if the given key is contained.Returns the value stored at the key.booleangetBoolean(String key) Returns the value stored at the key.booleangetBoolean(String key, boolean defaultValue) Returns the value stored at the key.doubleReturns the value stored at the key.doubleReturns the value stored at the key.intReturns the value stored at the key.intReturns the value stored at the key.getKeys()Returns a set of keys.longReturns the value stored at the key.longReturns the value stored at the key.Returns the value stored at the key.Returns the value stored at the key.Returns the value stored at the key.booleanReturns true if the value stored at the key is null.
-
Method Details
-
getKeys
Returns a set of keys.- Returns:
- a set of keys
-
containsKey
Returns true if the given key is contained.- Parameters:
key- the given key- Returns:
- true if the given key is contained
-
getString
Returns the value stored at the key.- Parameters:
key- the given key- Returns:
- the string value stored at the key
-
getString
Returns the value stored at the key.- Parameters:
key- the given keydefaultValue- returned the default value if the value stored at the key is null- Returns:
- the string value stored at the key
-
getInt
Returns the value stored at the key.- Parameters:
key- the given key- Returns:
- the int value stored at the key
-
getInt
Returns the value stored at the key.- Parameters:
key- the given keydefaultValue- returned the default value if the value stored at the key is null- Returns:
- the int value stored at the key
-
getLong
Returns the value stored at the key.- Parameters:
key- the given key- Returns:
- the long value stored at the key
-
getLong
Returns the value stored at the key.- Parameters:
key- the given keydefaultValue- returned the default value if the value stored at the key is null- Returns:
- the long value stored at the key
-
getDouble
Returns the value stored at the key.- Parameters:
key- the given key- Returns:
- the double value stored at the key
-
getDouble
Returns the value stored at the key.- Parameters:
key- the given keydefaultValue- returned the default value if the value stored at the key is null- Returns:
- the double value stored at the key
-
getBoolean
Returns the value stored at the key.- Parameters:
key- the given key- Returns:
- the boolean value stored at the key
-
getBoolean
Returns the value stored at the key.- Parameters:
key- the given keydefaultValue- returned the default value if the value stored at the key is null- Returns:
- the boolean value stored at the key
-
getArray
Returns the value stored at the key.- Parameters:
key- the given key- Returns:
- the array value stored at the key
-
getObject
Returns the value stored at the key.- Parameters:
key- the given key- Returns:
- the object value stored at the key
-
isNull
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
-