Package io.trino.plugin.iceberg
Class TrinoTypes
java.lang.Object
io.trino.plugin.iceberg.TrinoTypes
-
Method Summary
Modifier and TypeMethodDescriptiongetNextValue(Type type, Object value) Returns the minimum value that compares greater thanvalue.getPreviousValue(Type type, Object value) Returns the maximum value that compares less thanvalue.
-
Method Details
-
getPreviousValue
Returns the maximum value that compares less thanvalue.The type of the value must match
Type.getJavaType().- Throws:
IllegalStateException- if this type is notorderable
-
getNextValue
Returns the minimum value that compares greater thanvalue.The type of the value must match
Type.getJavaType().- Throws:
IllegalStateException- if this type is notorderable
-