Range
SurrealDB range values represent a bounded interval. In the Java SDK, ranges are accessed through Value methods that return the start and end bounds.
Note
Value methods
.isRange()
Checks if the value is a range.
Returns: boolean
.getRangeStart()
Returns the start bound of the range, if present.
Returns: Optional<Value>
.getRangeEnd()
Returns the end bound of the range, if present.
Returns: Optional<Value>
Example
See Also
Value types — Type mapping overview
Value — The Value class reference
RecordIdRange — Range-based CRUD operations