public class BitTypeDescriptor extends Object implements SqlTypeDescriptor
BIT handling.
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.| Modifier and Type | Field and Description |
|---|---|
static BitTypeDescriptor |
INSTANCE |
| Constructor and Description |
|---|
BitTypeDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
<X> ValueBinder<X> |
getBinder(JavaTypeDescriptor<X> javaTypeDescriptor) |
<X> ValueExtractor<X> |
getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor) |
int |
getSqlType()
Return the JDBC type-code for the column mapped by this type.
|
public static final BitTypeDescriptor INSTANCE
public int getSqlType()
SqlTypeDescriptorgetSqlType in interface SqlTypeDescriptorpublic <X> ValueBinder<X> getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
getBinder in interface SqlTypeDescriptorpublic <X> ValueExtractor<X> getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
getExtractor in interface SqlTypeDescriptorCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved