| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final float[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Spatial | clone(long
for the new Spatial object id)Implements org. Creates a copy of this Spatial object with different id. |
| public int | compareTypeSafe(Value
the other value v, CompareMode the compare mode mode, CastDataProvider the cast information provider provider)Implements abstract org. Compare this value against another value given that the values are of the same data type. |
| public boolean | equals(Object
the other value other)Implements abstract org. Check if the two values have the same hash code. |
| public boolean | Returns: true if the contents are the samethe other key o)Implements org. Check whether two objects are equals, but do not compare the id fields. |
| public long | |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements org. Appends the SQL statement of this object to the specified builder. |
| public String | |
| public TypeInfo | getType()
Implements abstract org. Implements org. Returns the data type. |
| public int | |
| public int | hashCode()
Implements abstract org. Returns a hash code value for this object. |
| public boolean | |
| public float | max(int
the dimension dim)Implements org. Get the maximum value for the given dimension. |
| public float | min(int
the dimension dim)Implements org. Get the minimum value for the given dimension. |
| public void | setMax(int
the dimension dim, float the value x)Implements org. Set the maximum value for the given dimension. |
| public void | setMin(int
the dimension dim, float the value x)Implements org. Set the minimum value for the given dimension. |
| public String |
| id | back to summary |
|---|---|
| private final long id | |
| minMax | back to summary |
|---|---|
| private final float[] minMax | |
| SpatialKey | back to summary |
|---|---|
| public SpatialKey(long id, float... minMax) Create a new key.
| |
| SpatialKey | back to summary |
|---|---|
| public SpatialKey(long id, SpatialKey other) | |
| clone | back to summary |
|---|---|
| public Spatial clone(long id) Implements org. Doc from org. Creates a copy of this Spatial object with different id. | |
| compareTypeSafe | back to summary |
|---|---|
| public int compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) Implements abstract org. Doc from org. Compare this value against another value given that the values are of the same data type.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Implements abstract org. Doc from org. Check if the two values have the same hash code. No data conversion is made; this method returns false if the other object is not of the same class. For some values, compareTo may return 0 even if equals return false. Example: ValueDecimal 0.0 and 0.00. | |
| equalsIgnoringId | back to summary |
|---|---|
| public boolean equalsIgnoringId(Spatial o) Implements org. Check whether two objects are equals, but do not compare the id fields. | |
| getId | back to summary |
|---|---|
| public long getId() Implements org. Doc from org. Get id of this Spatial object
| |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| getString | back to summary |
|---|---|
| public String getString() Implements abstract org. Doc from org. Get the value as a string. | |
| getType | back to summary |
|---|---|
| public TypeInfo getType() Implements abstract org. Implements org. Doc from org. Returns the data type. | |
| getValueType | back to summary |
|---|---|
| public int getValueType() Implements abstract org. Doc from org. Get the value type.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isNull | back to summary |
|---|---|
| public boolean isNull() Implements org. Doc from org. Test whether this object has no value
| |
| max | back to summary |
|---|---|
| public float max(int dim) Implements org. Doc from org. Get the maximum value for the given dimension.
| |
| min | back to summary |
|---|---|
| public float min(int dim) Implements org. Doc from org. Get the minimum value for the given dimension.
| |
| setMax | back to summary |
|---|---|
| public void setMax(int dim, float x) Implements org. Doc from org. Set the maximum value for the given dimension.
| |
| setMin | back to summary |
|---|---|
| public void setMin(int dim, float x) Implements org. Doc from org. Set the minimum value for the given dimension.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |