public static final class TypeInfo.FixedSizeBuiltinTypeInfo extends TypeInfo.BuiltinTypeInfo
TypeInfo.BitmaskTypeInfo, TypeInfo.BuiltinTypeInfo, TypeInfo.ChoiceTypeInfo, TypeInfo.CompoundTypeInfoBase, TypeInfo.EnumTypeInfo, TypeInfo.FixedSizeBuiltinTypeInfo, TypeInfo.PubsubTypeInfo, TypeInfo.RecursiveTypeInfo, TypeInfo.ServiceTypeInfo, TypeInfo.SqlDatabaseTypeInfo, TypeInfo.SqlTableTypeInfo, TypeInfo.StructTypeInfo, TypeInfo.TemplatableTypeInfoBase, TypeInfo.TypeInfoBase, TypeInfo.TypeInfoWithUnderlyingTypeBase, TypeInfo.UnionTypeInfo
Constructor and Description |
---|
FixedSizeBuiltinTypeInfo(java.lang.String schemaName,
SchemaType schemaType,
JavaType javaType,
java.lang.Class<?> javaClass,
byte bitSize)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
byte |
getBitSize()
Gets the bit size of the fixed size integral schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getBool()
Gets the type information of bool schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getFixedSignedBitField(byte bitSize)
Gets the type information of fixed signed bit field schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getFixedUnsignedBitField(byte bitSize)
Gets the type information of fixed unsigned bit field schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getFloat16()
Gets the type information of float16 schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getFloat32()
Gets the type information of float32 schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getFloat64()
Gets the type information of float64 schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getInt16()
Gets the type information of int16 schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getInt32()
Gets the type information of int32 schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getInt64()
Gets the type information of int64 schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getInt8()
Gets the type information of int8 schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getUInt16()
Gets the type information of uint16 schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getUInt32()
Gets the type information of uint32 schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getUInt64()
Gets the type information of uint64 schema type.
|
static TypeInfo.FixedSizeBuiltinTypeInfo |
getUInt8()
Gets the type information of uint8 schema type.
|
getBitBuffer, getBytes, getDynamicSignedBitField, getDynamicUnsignedBitField, getString, getVarInt, getVarInt16, getVarInt32, getVarInt64, getVarSize, getVarUInt, getVarUInt16, getVarUInt32, getVarUInt64
getBitmaskValues, getCases, getColumns, getEnumItems, getFields, getFunctions, getJavaClass, getJavaType, getMessages, getMethods, getParameters, getSchemaName, getSchemaType, getSelector, getSqlConstraint, getTables, getTemplateArguments, getTemplateName, getUnderlyingType, getUnderlyingTypeArguments, getVirtualTableUsing, isWithoutRowId
public FixedSizeBuiltinTypeInfo(java.lang.String schemaName, SchemaType schemaType, JavaType javaType, java.lang.Class<?> javaClass, byte bitSize)
schemaName
- The schema name to be stored in type information.schemaType
- The schema type to be stored in type information.javaType
- The Java type to be stored in type information.javaClass
- The Java class object to be stored in type information.bitSize
- The bit size of the fixed size integral schema type.public byte getBitSize()
TypeInfo
getBitSize
in interface TypeInfo
getBitSize
in class TypeInfo.TypeInfoBase
public static TypeInfo.FixedSizeBuiltinTypeInfo getBool()
public static TypeInfo.FixedSizeBuiltinTypeInfo getInt8()
public static TypeInfo.FixedSizeBuiltinTypeInfo getInt16()
public static TypeInfo.FixedSizeBuiltinTypeInfo getInt32()
public static TypeInfo.FixedSizeBuiltinTypeInfo getInt64()
public static TypeInfo.FixedSizeBuiltinTypeInfo getUInt8()
public static TypeInfo.FixedSizeBuiltinTypeInfo getUInt16()
public static TypeInfo.FixedSizeBuiltinTypeInfo getUInt32()
public static TypeInfo.FixedSizeBuiltinTypeInfo getUInt64()
public static TypeInfo.FixedSizeBuiltinTypeInfo getFloat16()
public static TypeInfo.FixedSizeBuiltinTypeInfo getFloat32()
public static TypeInfo.FixedSizeBuiltinTypeInfo getFloat64()
public static TypeInfo.FixedSizeBuiltinTypeInfo getFixedSignedBitField(byte bitSize)
bitSize
- The bit size of the bit field.public static TypeInfo.FixedSizeBuiltinTypeInfo getFixedUnsignedBitField(byte bitSize)
bitSize
- The bit size of the bit field.Last updated 2024-12-05 10:34:50