类 BitTypeDescriptor
- java.lang.Object
-
- org.hibernate.type.descriptor.sql.BitTypeDescriptor
-
- 所有已实现的接口:
Serializable,SqlTypeDescriptor
public class BitTypeDescriptor extends Object implements SqlTypeDescriptor
Descriptor forBIThandling. Note that JDBC is very specific about its use of the type BIT to mean a single binary digit, whereas SQL defines BIT having a parameterized length.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static BitTypeDescriptorINSTANCE
-
构造器概要
构造器 构造器 说明 BitTypeDescriptor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanBeRemapped()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.intgetSqlType()Return the JDBC type-code for the column mapped by this type.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.type.descriptor.sql.SqlTypeDescriptor
getJdbcRecommendedJavaTypeMapping
-
-
-
-
字段详细资料
-
INSTANCE
public static final BitTypeDescriptor INSTANCE
-
-
方法详细资料
-
getSqlType
public int getSqlType()
从接口复制的说明:SqlTypeDescriptorReturn the JDBC type-code for the column mapped by this type.- 指定者:
getSqlType在接口中SqlTypeDescriptor- 返回:
- typeCode The JDBC type-code
-
canBeRemapped
public boolean canBeRemapped()
从接口复制的说明:SqlTypeDescriptorIs this descriptor available for remapping?- 指定者:
canBeRemapped在接口中SqlTypeDescriptor- 返回:
trueindicates this descriptor can be remapped; otherwise,false- 另请参阅:
WrapperOptions.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor),Dialect.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor)
-
getBinder
public <X> ValueBinder<X> getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
从接口复制的说明:SqlTypeDescriptorGet the binder (setting JDBC in-going parameter values) capable of handling values of the type described by the passed descriptor.- 指定者:
getBinder在接口中SqlTypeDescriptor- 参数:
javaTypeDescriptor- The descriptor describing the types of Java values to be bound- 返回:
- The appropriate binder.
-
getExtractor
public <X> ValueExtractor<X> getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
从接口复制的说明:SqlTypeDescriptorGet the extractor (pulling out-going values from JDBC objects) capable of handling values of the type described by the passed descriptor.- 指定者:
getExtractor在接口中SqlTypeDescriptor- 参数:
javaTypeDescriptor- The descriptor describing the types of Java values to be extracted- 返回:
- The appropriate extractor
-
-