ARRAY, BIGINT, BINARY, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECFLOAT, DOUBLE, EMPTY_VALUES, ENUM, GEOMETRY, INTEGER, INTERVAL_DAY, INTERVAL_DAY_TO_HOUR, INTERVAL_DAY_TO_MINUTE, INTERVAL_DAY_TO_SECOND, INTERVAL_HOUR, INTERVAL_HOUR_TO_MINUTE, INTERVAL_HOUR_TO_SECOND, INTERVAL_MINUTE, INTERVAL_MINUTE_TO_SECOND, INTERVAL_MONTH, INTERVAL_SECOND, INTERVAL_YEAR, INTERVAL_YEAR_TO_MONTH, JAVA_OBJECT, JSON, MIN_LONG_DECIMAL, NULL, NUMERIC, REAL, ROW, SMALLINT, TIME, TIME_TZ, TIMESTAMP, TIMESTAMP_TZ, TINYINT, TYPE_COUNT, UNKNOWN, UUID, VARBINARY, VARCHAR, VARCHAR_IGNORECASEADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS| Constructor and Description |
|---|
SpatialKey(long id,
float... minMax)
Create a new key.
|
SpatialKey(long id,
SpatialKey other) |
| Modifier and Type | Method and Description |
|---|---|
Spatial |
clone(long id)
Creates a copy of this Spatial object with different id.
|
int |
compareTypeSafe(Value v,
CompareMode mode,
CastDataProvider provider)
Compare this value against another value given that the values are of the
same data type.
|
boolean |
equals(java.lang.Object other)
Check if the two values have the same hash code.
|
boolean |
equalsIgnoringId(Spatial o)
Check whether two objects are equals, but do not compare the id fields.
|
long |
getId()
Get id of this Spatial object
|
java.lang.StringBuilder |
getSQL(java.lang.StringBuilder builder,
int sqlFlags)
Appends the SQL statement of this object to the specified builder.
|
java.lang.String |
getString()
Get the value as a string.
|
TypeInfo |
getType()
Returns the data type.
|
int |
getValueType()
Get the value type.
|
int |
hashCode() |
boolean |
isNull()
Test whether this object has no value
|
float |
max(int dim)
Get the maximum value for the given dimension.
|
float |
min(int dim)
Get the minimum value for the given dimension.
|
void |
setMax(int dim,
float x)
Set the maximum value for the given dimension.
|
void |
setMin(int dim,
float x)
Set the minimum value for the given dimension.
|
java.lang.String |
toString() |
add, castTo, charLength, clearCache, compareTo, compareWithNull, containsNull, convertForAssignTo, convertTo, convertTo, convertTo, convertTo, convertTo, convertToAnyArray, convertToAnyJson, convertToAnyRow, convertToBigint, convertToBoolean, convertToChar, convertToDate, convertToDouble, convertToEnum, convertToGeometry, convertToInt, convertToInt, convertToJavaObject, convertToReal, convertToSmallint, convertToTinyint, convertToUuid, divide, getBigDecimal, getBoolean, getByte, getBytes, getBytesNoCopy, getDouble, getFloat, getHigherOrder, getInputStream, getInputStream, getInt, getLong, getMemory, getReader, getReader, getShort, getSignum, getTypeName, getUnsupportedExceptionForOperation, getValueWithFirstNull, isFalse, isTrue, modulus, multiply, negate, octetLength, subtractgetCommittedValue, getCurrentValue, getOperationId, isCommittedclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSQL, getTraceSQLpublic SpatialKey(long id,
float... minMax)
id - the idminMax - min x, max x, min y, max y, and so onpublic SpatialKey(long id,
SpatialKey other)
public float min(int dim)
Spatialpublic void setMin(int dim,
float x)
Spatialpublic float max(int dim)
Spatialpublic void setMax(int dim,
float x)
Spatialpublic Spatial clone(long id)
Spatialpublic long getId()
Spatialpublic boolean isNull()
Spatialpublic boolean equals(java.lang.Object other)
Valuepublic int compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
ValuecompareTypeSafe in class Valuev - the other valuemode - the compare modeprovider - the cast information providerpublic boolean equalsIgnoringId(Spatial o)
equalsIgnoringId in interface Spatialo - the other keypublic java.lang.StringBuilder getSQL(java.lang.StringBuilder builder,
int sqlFlags)
HasSQLpublic int getValueType()
ValuegetValueType in class Value