public class SDOGeometryTypeDescriptor extends Object implements SqlTypeDescriptor
Constructor and Description |
---|
SDOGeometryTypeDescriptor(org.geolatte.geom.codec.db.oracle.OracleJDBCTypeFactory typeFactory)
Constructs a
SqlTypeDescriptor for the Oracle SDOGeometry type. |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeRemapped()
Is this descriptor available for remapping?
|
<X> ValueBinder<X> |
getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
Get the binder (setting JDBC in-going parameter values) capable of handling values of the type described by the
passed descriptor.
|
<X> ValueExtractor<X> |
getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
Get the extractor (pulling out-going values from JDBC objects) capable of handling values of the type described
by the passed descriptor.
|
int |
getSqlType()
Return the JDBC type-code for the column mapped by this type.
|
String |
getTypeName()
Returns the Oracle type name for SDOGeometry.
|
public SDOGeometryTypeDescriptor(org.geolatte.geom.codec.db.oracle.OracleJDBCTypeFactory typeFactory)
SqlTypeDescriptor
for the Oracle SDOGeometry type.typeFactory
- the type factory to use.public int getSqlType()
SqlTypeDescriptor
getSqlType
in interface SqlTypeDescriptor
public boolean canBeRemapped()
SqlTypeDescriptor
canBeRemapped
in interface SqlTypeDescriptor
true
indicates this descriptor can be remapped; otherwise, false
WrapperOptions.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor)
,
Dialect.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor)
public <X> ValueBinder<X> getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
SqlTypeDescriptor
getBinder
in interface SqlTypeDescriptor
javaTypeDescriptor
- The descriptor describing the types of Java values to be boundpublic <X> ValueExtractor<X> getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
SqlTypeDescriptor
getExtractor
in interface SqlTypeDescriptor
javaTypeDescriptor
- The descriptor describing the types of Java values to be extractedpublic String getTypeName()
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.