|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WKAdapter
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.SQLExceptionGeometryExceptionWithContext
byte[] fromSTRUCT(STRUCT geom)
throws java.sql.SQLException,
GeometryExceptionWithContext
geom - the STRUCT object from an oracle result setjava.sql.SQLExceptionGeometryExceptionWithContext
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||