public abstract static class TypeInfo.TypeInfoBase extends java.lang.Object implements TypeInfo
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 |
---|
TypeInfoBase(java.lang.String schemaName,
SchemaType schemaType,
JavaType javaType,
java.lang.Class<?> javaClass)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemInfo> |
getBitmaskValues()
Gets the type information for bitmask type values.
|
byte |
getBitSize()
Gets the bit size of the fixed size integral schema type.
|
java.util.List<CaseInfo> |
getCases()
Gets the type information for choice type cases.
|
java.util.List<ColumnInfo> |
getColumns()
Gets the type information for SQL table columns.
|
java.util.List<ItemInfo> |
getEnumItems()
Gets the type information for enumeration type items.
|
java.util.List<FieldInfo> |
getFields()
Gets the type information for compound type fields.
|
java.util.List<FunctionInfo> |
getFunctions()
Gets the type information for compound type functions.
|
java.lang.Class<?> |
getJavaClass()
Gets the Java Class object.
|
JavaType |
getJavaType()
Gets the Java type.
|
java.util.List<MessageInfo> |
getMessages()
Gets the type information for pubsub messages.
|
java.util.List<MethodInfo> |
getMethods()
Gets the type information for service methods.
|
java.util.List<ParameterInfo> |
getParameters()
Gets the type information for compound type parameters.
|
java.lang.String |
getSchemaName()
Gets the schema name.
|
SchemaType |
getSchemaType()
Gets the schema type.
|
java.lang.String |
getSelector()
Gets the selector for choice type.
|
java.lang.String |
getSqlConstraint()
Gets the SQL table constraint.
|
java.util.List<TableInfo> |
getTables()
Gets the type information for SQL database tables.
|
java.util.List<TypeInfo> |
getTemplateArguments()
Gets the type information for template arguments.
|
java.lang.String |
getTemplateName()
Gets the full schema template name.
|
TypeInfo |
getUnderlyingType()
Gets the reference to type information of underlying zserio type.
|
java.util.List<java.util.function.Supplier<java.lang.Object>> |
getUnderlyingTypeArguments()
Gets the reference to type information of underlying zserio type arguments.
|
java.lang.String |
getVirtualTableUsing()
Gets the SQL table using specification.
|
boolean |
isWithoutRowId()
Checks if SQL table is without row id table.
|
public TypeInfoBase(java.lang.String schemaName, SchemaType schemaType, JavaType javaType, java.lang.Class<?> javaClass)
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.public java.lang.String getSchemaName()
TypeInfo
getSchemaName
in interface TypeInfo
public SchemaType getSchemaType()
TypeInfo
getSchemaType
in interface TypeInfo
public JavaType getJavaType()
TypeInfo
getJavaType
in interface TypeInfo
public java.lang.Class<?> getJavaClass()
TypeInfo
getJavaClass
in interface TypeInfo
public byte getBitSize()
TypeInfo
getBitSize
in interface TypeInfo
public java.util.List<FieldInfo> getFields()
TypeInfo
public java.util.List<ParameterInfo> getParameters()
TypeInfo
getParameters
in interface TypeInfo
public java.util.List<FunctionInfo> getFunctions()
TypeInfo
getFunctions
in interface TypeInfo
public java.lang.String getSelector()
TypeInfo
getSelector
in interface TypeInfo
public java.util.List<CaseInfo> getCases()
TypeInfo
public TypeInfo getUnderlyingType()
TypeInfo
getUnderlyingType
in interface TypeInfo
public java.util.List<java.util.function.Supplier<java.lang.Object>> getUnderlyingTypeArguments()
TypeInfo
getUnderlyingTypeArguments
in interface TypeInfo
public java.util.List<ItemInfo> getEnumItems()
TypeInfo
getEnumItems
in interface TypeInfo
public java.util.List<ItemInfo> getBitmaskValues()
TypeInfo
getBitmaskValues
in interface TypeInfo
public java.util.List<ColumnInfo> getColumns()
TypeInfo
getColumns
in interface TypeInfo
public java.lang.String getSqlConstraint()
TypeInfo
getSqlConstraint
in interface TypeInfo
public java.lang.String getVirtualTableUsing()
TypeInfo
getVirtualTableUsing
in interface TypeInfo
public boolean isWithoutRowId()
TypeInfo
isWithoutRowId
in interface TypeInfo
public java.util.List<TableInfo> getTables()
TypeInfo
public java.lang.String getTemplateName()
TypeInfo
getTemplateName
in interface TypeInfo
public java.util.List<TypeInfo> getTemplateArguments()
TypeInfo
getTemplateArguments
in interface TypeInfo
public java.util.List<MessageInfo> getMessages()
TypeInfo
getMessages
in interface TypeInfo
public java.util.List<MethodInfo> getMethods()
TypeInfo
getMethods
in interface TypeInfo
Last updated 2024-12-05 10:34:50