ValueGeometry
Implementation of the GEOMETRY data type.
| Methods |
| static ValueGeometry |
get(String s)
Get or create a geometry value for the given geometry.
|
| static ValueGeometry |
get(String s)
Get or create a geometry value for the given geometry.
Parameters:
s - the WKT representation of the geometry
Returns:
the value
|
| static ValueGeometry |
get(String s, int srid)
Get or create a geometry value for the given geometry.
|
| static ValueGeometry |
get(String s, int srid)
Get or create a geometry value for the given geometry.
Parameters:
s - the WKT representation of the geometry
srid - the srid of the object
Returns:
the value
|
| static ValueGeometry |
get(byte[] bytes)
Get or create a geometry value for the given geometry.
|
| static ValueGeometry |
get(byte[] bytes)
Get or create a geometry value for the given geometry.
Parameters:
bytes - the WKB representation of the geometry
Returns:
the value
|
| static ValueGeometry |
getFromGeometry(Object o)
Get or create a geometry value for the given geometry.
|
| static ValueGeometry |
getFromGeometry(Object o)
Get or create a geometry value for the given geometry.
Parameters:
o - the geometry object (of type
org.locationtech.jts.geom.Geometry)
Returns:
the value
|
| int |
compareSecure(Value v, CompareMode mode)
|
| int |
compareSecure(Value v, CompareMode mode)
|
| Value |
convertTo(int targetType, int precision, Mode mode, Object column, String[] enumerators)
|
| Value |
convertTo(int targetType, int precision, Mode mode, Object column, String[] enumerators)
|
| boolean |
equals(Object other)
|
| boolean |
equals(Object other)
|
| byte[] |
getBytes()
|
| byte[] |
getBytes()
|
| byte[] |
getBytesNoCopy()
|
| byte[] |
getBytesNoCopy()
|
| int |
getDisplaySize()
|
| int |
getDisplaySize()
|
| Value |
getEnvelopeUnion(ValueGeometry r)
Get the union.
|
| Value |
getEnvelopeUnion(ValueGeometry r)
Get the union.
Parameters:
r - the other geometry
Returns:
the union of this geometry envelope and another geometry envelope
|
| Geometry |
getGeometry()
Get a copy of geometry object.
|
| Geometry |
getGeometry()
Get a copy of geometry object. Geometry object is mutable. The returned
object is therefore copied before returning.
Returns:
a copy of the geometry object
|
| Geometry |
getGeometryNoCopy()
|
| Geometry |
getGeometryNoCopy()
|
| int |
getMemory()
|
| int |
getMemory()
|
| Object |
getObject()
|
| Object |
getObject()
|
| long |
getPrecision()
|
| long |
getPrecision()
|
| String |
getSQL()
|
| String |
getSQL()
|
| String |
getString()
|
| String |
getString()
|
| int |
getType()
|
| int |
getType()
|
| byte[] |
getWKB()
Get the value in Well-Known-Binary format.
|
| byte[] |
getWKB()
Get the value in Well-Known-Binary format.
Returns:
the well-known-binary
|
| String |
getWKT()
Get the value in Well-Known-Text format.
|
| String |
getWKT()
Get the value in Well-Known-Text format.
Returns:
the well-known-text
|
| int |
hashCode()
|
| int |
hashCode()
|
| boolean |
intersectsBoundingBox(ValueGeometry r)
Test if this geometry envelope intersects with the other geometry
envelope.
|
| boolean |
intersectsBoundingBox(ValueGeometry r)
Test if this geometry envelope intersects with the other geometry
envelope.
Parameters:
r - the other geometry
Returns:
true if the two overlap
|
| void |
set(PreparedStatement prep, int parameterIndex)
|
| void |
set(PreparedStatement prep, int parameterIndex) throws SQLException
|
|