Package com.surrealdb
Class Value
java.lang.Object
com.surrealdb.Native
com.surrealdb.Value
The Value class represents a general-purpose wrapper for different types of
values. It provides various methods to interact with and retrieve values such
as arrays, objects, strings, numbers, and more.
-
Method Summary
Modifier and TypeMethodDescription<T> TgetArray()booleanbyte[]getBytes()doublegetFile()longgetLong()End bound of the range (included or excluded), or empty if unbounded.Start bound of the range (included or excluded), or empty if unbounded.getTable()Table name when this value is a table type.getUuid()booleanisArray()booleanbooleanbooleanisBytes()booleanbooleanisDouble()booleanbooleanisFile()booleanbooleanisLong()booleanisNone()booleanisNull()booleanisObject()booleanisRange()booleanbooleanisString()booleanisTable()booleanisUuid()
-
Method Details
-
isArray
public boolean isArray() -
getArray
-
isObject
public boolean isObject() -
getObject
-
isBoolean
public boolean isBoolean() -
getBoolean
public boolean getBoolean() -
isDouble
public boolean isDouble() -
getDouble
public double getDouble() -
isLong
public boolean isLong() -
getLong
public long getLong() -
isBigDecimal
public boolean isBigDecimal() -
getBigDecimal
-
isNull
public boolean isNull() -
isNone
public boolean isNone() -
isString
public boolean isString() -
getString
-
isUuid
public boolean isUuid() -
getUuid
-
isRecordId
public boolean isRecordId() -
getRecordId
-
isFile
public boolean isFile() -
getFile
-
isRange
public boolean isRange() -
getRangeStart
-
getRangeEnd
-
isTable
public boolean isTable() -
getTable
Table name when this value is a table type. -
isBytes
public boolean isBytes() -
getBytes
public byte[] getBytes() -
isGeometry
public boolean isGeometry() -
getGeometry
-
isDateTime
public boolean isDateTime() -
getDateTime
-
isDuration
public boolean isDuration() -
getDuration
-
get
-