| Modifier and Type | Field and Description |
|---|---|
| public static final Class | GEOMETRY_CLASS
The Geometry class. |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Value | |
| public static Class | Returns: the classthe value type type, boolean if forJdbc)true get class for JDBC layer, if false get
class for Java functions APIGet the name of the Java class for the given value type. |
| public static Value | Returns: the valuethe session session, Object the value x, int the suggested value type, or type)Value#UNKNOWNConvert a Java object to a value. |
| private static Value | |
| private static LinkedHashMap | |
| public static Value | Returns: the valuethe session session, JdbcResultSet the result set rs, int the column index (1-based) columnIndex)Read a value from the given result set. |
| pack-priv static Value | |
| private static Object | |
| public static Object | Returns: the objectthe array value value, JdbcConnection the connection conn, boolean if forJdbc)true perform conversion for JDBC layer, if
false perform conversion for Java functions APIConverts the specified array value to array of default Java objects for its type. |
| public static Object | Returns: the objectthe value value, JdbcConnection the connection conn, boolean if forJdbc)true perform conversion for JDBC layer, if
false perform conversion for Java functions APIConverts the specified value to the default Java object for its type. |
| public static < the type T> T | Returns: the object of the specified class representing the specified value, ornullthe class type, Value the value value, JdbcConnection the connection conn)Converts the specified value to an object of the specified type. |
| private static Object |
| GEOMETRY_CLASS | back to summary |
|---|---|
| public static final Class<?> GEOMETRY_CLASS The Geometry class. This object is null if the JTS jar file is not in the classpath. | |
| GEOMETRY_CLASS_NAME | back to summary |
|---|---|
| private static final String GEOMETRY_CLASS_NAME | |
| ValueToObjectConverter | back to summary |
|---|---|
| private ValueToObjectConverter() | |
| arrayToValue | back to summary |
|---|---|
| private static Value arrayToValue(Session session, Object x) | |
| getDefaultClass | back to summary |
|---|---|
| public static Class Get the name of the Java class for the given value type.
| |
| objectToValue | back to summary |
|---|---|
| public static Value objectToValue(Session session, Object x, int type) Convert a Java object to a value. | |
| otherToValue | back to summary |
|---|---|
| private static Value otherToValue(Session session, Object x) | |
| readResultSetMeta | back to summary |
|---|---|
| private static LinkedHashMap | |
| readValue | back to summary |
|---|---|
| public static Value readValue(Session session, JdbcResultSet rs, int columnIndex) Read a value from the given result set.
| |
| resultSetToValue | back to summary |
|---|---|
| pack-priv static Value resultSetToValue(Session session, ResultSet rs) | |
| valueToArray | back to summary |
|---|---|
| private static Object valueToArray(Class<?> type, Value value, JdbcConnection conn) | |
| valueToDefaultArray | back to summary |
|---|---|
| public static Object valueToDefaultArray(Value value, JdbcConnection conn, boolean forJdbc) Converts the specified array value to array of default Java objects for its type.
| |
| valueToDefaultObject | back to summary |
|---|---|
| public static Object valueToDefaultObject(Value value, JdbcConnection conn, boolean forJdbc) Converts the specified value to the default Java object for its type.
| |
| valueToObject | back to summary |
|---|---|
| public static <T> T valueToObject(Class<T> type, Value value, JdbcConnection conn) Converts the specified value to an object of the specified type.
| |
| valueToOther | back to summary |
|---|---|
| private static Object valueToOther(Class<?> type, Value value, JdbcConnection conn) | |