Modifier and Type | Method and Description |
---|---|
byte[] |
fromJGeometry(JGeometry geom)
This transforms a JGeometry to a WKB/WKT geometry.
|
byte[] |
fromSTRUCT(STRUCT geom)
Creates a WKB/WKT geometry from a STRUCT object.
|
JGeometry |
toJGeometry(byte[] wkContent)
This transforms a WKB/WKT geometry to a JGeometry.
|
STRUCT |
toSTRUCT(byte[] wkContent, java.sql.Connection conn)
Convert the given WKB/WKT geometry into an Oracle JDBC STRUCT object.
|
JGeometry toJGeometry(byte[] wkContent) throws GeometryExceptionWithContext
wkContent
- a byte[] representing the WKB/WKT geometryGeometryExceptionWithContext
byte[] fromJGeometry(JGeometry geom) throws GeometryExceptionWithContext
geom
- a JGeometry representing the Oracle Spatial geometryGeometryExceptionWithContext
STRUCT toSTRUCT(byte[] wkContent, java.sql.Connection conn) throws java.sql.SQLException, GeometryExceptionWithContext
wkContent
- the WKB/WKT geometry (byte array) to be convertedconn
- the connection to be usedjava.sql.SQLException
GeometryExceptionWithContext
byte[] fromSTRUCT(STRUCT geom) throws java.sql.SQLException, GeometryExceptionWithContext
geom
- the STRUCT object from an oracle result setjava.sql.SQLException
GeometryExceptionWithContext