public abstract class BlobTypeDescriptor extends Object implements SqlTypeDescriptor
BLOB
handling.Modifier and Type | Field and Description |
---|---|
static BlobTypeDescriptor |
BLOB_BINDING |
static BlobTypeDescriptor |
DEFAULT |
static BlobTypeDescriptor |
PRIMITIVE_ARRAY_BINDING |
static BlobTypeDescriptor |
STREAM_BINDING |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeRemapped()
Is this descriptor available for remapping?
|
<X> BasicBinder<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.
|
protected abstract <X> BasicBinder<X> |
getBlobBinder(JavaTypeDescriptor<X> javaTypeDescriptor) |
<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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJdbcRecommendedJavaTypeMapping
public static final BlobTypeDescriptor DEFAULT
public static final BlobTypeDescriptor PRIMITIVE_ARRAY_BINDING
public static final BlobTypeDescriptor BLOB_BINDING
public static final BlobTypeDescriptor STREAM_BINDING
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> ValueExtractor<X> getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
SqlTypeDescriptor
getExtractor
in interface SqlTypeDescriptor
javaTypeDescriptor
- The descriptor describing the types of Java values to be extractedprotected abstract <X> BasicBinder<X> getBlobBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
public <X> BasicBinder<X> getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
SqlTypeDescriptor
getBinder
in interface SqlTypeDescriptor
javaTypeDescriptor
- The descriptor describing the types of Java values to be boundCopyright © 2021 JBoss by Red Hat. All rights reserved.