|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface WKAdapter
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
oracle.spatial.geometry.JGeometry toJGeometry(byte[] wkContent)
throws GeometryExceptionWithContext
wkContent - a byte[] representing the WKB/WKT geometry
GeometryExceptionWithContext
byte[] fromJGeometry(oracle.spatial.geometry.JGeometry geom)
throws GeometryExceptionWithContext
geom - a JGeometry representing the Oracle Spatial geometry
GeometryExceptionWithContext
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 used
java.sql.SQLException
GeometryExceptionWithContext
byte[] fromSTRUCT(oracle.sql.STRUCT geom)
throws java.sql.SQLException,
GeometryExceptionWithContext
geom - the STRUCT object from an oracle result set
java.sql.SQLException
GeometryExceptionWithContext
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||