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