public class OracleJDBCTypeFactory extends Object
Constructor and Description |
---|
OracleJDBCTypeFactory(ConnectionFinder connectionFinder)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
Array |
createElemInfoArray(org.geolatte.geom.codec.db.oracle.ElemInfo elemInfo,
Connection conn) |
Array |
createOrdinatesArray(org.geolatte.geom.codec.db.oracle.Ordinates ordinates,
Connection conn) |
Struct |
createStruct(SDOGeometry geom,
Connection conn)
Creates a
Struct representing the specified geometry, using the specified Connection. |
public OracleJDBCTypeFactory(ConnectionFinder connectionFinder)
connectionFinder
- the ConnectionFinder
the use for retrieving the OracleConnection
instance.public Struct createStruct(SDOGeometry geom, Connection conn) throws SQLException
Struct
representing the specified geometry, using the specified Connection.geom
- The SDOGeometry
objectconn
- The Oracle Connection
used to create the Struct
Struct
representation of the specified SDO GeometrySQLException
- If a Struct object cannot be created.public Array createElemInfoArray(org.geolatte.geom.codec.db.oracle.ElemInfo elemInfo, Connection conn)
public Array createOrdinatesArray(org.geolatte.geom.codec.db.oracle.Ordinates ordinates, Connection conn) throws SQLException
SQLException
Copyright © 2023 geolatte.org. All rights reserved.