public interface TypeInfo
Modifier and Type | Interface and Description |
---|---|
static class |
TypeInfo.BitmaskTypeInfo
Type information class for bitmask types.
|
static class |
TypeInfo.BuiltinTypeInfo
Type information abstract base class for builtin types.
|
static class |
TypeInfo.ChoiceTypeInfo
Type information class for choice types.
|
static class |
TypeInfo.CompoundTypeInfoBase
Type information abstract base class for compound types.
|
static class |
TypeInfo.EnumTypeInfo
Type information class for enumeration types.
|
static class |
TypeInfo.FixedSizeBuiltinTypeInfo
Type information abstract base class for fixed size builtin types.
|
static class |
TypeInfo.PubsubTypeInfo
Type information class for pubsub types.
|
static class |
TypeInfo.RecursiveTypeInfo
Type info for recursive types used as a wrapper around generated static typeInfo method to prevent
infinite recursion in type info definition.
|
static class |
TypeInfo.ServiceTypeInfo
Type information class for service types.
|
static class |
TypeInfo.SqlDatabaseTypeInfo
Type information class for SQL database types.
|
static class |
TypeInfo.SqlTableTypeInfo
Type information class for SQL table types.
|
static class |
TypeInfo.StructTypeInfo
Type information class for structure types.
|
static class |
TypeInfo.TemplatableTypeInfoBase
Type information abstract base class for templatable types.
|
static class |
TypeInfo.TypeInfoBase
Type information abstract base class.
|
static class |
TypeInfo.TypeInfoWithUnderlyingTypeBase
Type information abstract base class for enumeration and bitmask types.
|
static class |
TypeInfo.UnionTypeInfo
Type information class for union types.
|
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.
|
java.lang.String getSchemaName()
SchemaType getSchemaType()
JavaType getJavaType()
java.lang.Class<?> getJavaClass()
byte getBitSize()
ZserioError
- If the zserio type is not fixed size integral (e.g. varint).java.util.List<FieldInfo> getFields()
ZserioError
- If the zserio type is not compound type.java.util.List<ParameterInfo> getParameters()
ZserioError
- If the zserio type is not compound type.java.util.List<FunctionInfo> getFunctions()
ZserioError
- If the zserio type is not compound type.java.lang.String getSelector()
ZserioError
- If the zserio type is not choice type.java.util.List<CaseInfo> getCases()
ZserioError
- If the zserio type is not choice type.TypeInfo getUnderlyingType()
ZserioError
- If the zserio type is not enumeration or bitmask type.java.util.List<java.util.function.Supplier<java.lang.Object>> getUnderlyingTypeArguments()
ZserioError
- If the zserio type is not enumeration or bitmask type.java.util.List<ItemInfo> getEnumItems()
ZserioError
- If the zserio type is not enumeration type.java.util.List<ItemInfo> getBitmaskValues()
ZserioError
- If the zserio type is not bitmask type.java.util.List<ColumnInfo> getColumns()
ZserioError
- If the zserio type is not SQL table type.java.lang.String getSqlConstraint()
ZserioError
- If the zserio type is not SQL table type.java.lang.String getVirtualTableUsing()
ZserioError
- If the zserio type is not SQL table type.boolean isWithoutRowId()
ZserioError
- If the zserio type is not SQL table type.java.util.List<TableInfo> getTables()
ZserioError
- If the zserio type is not SQL database type.java.lang.String getTemplateName()
ZserioError
- If the zserio type is not templatable.java.util.List<TypeInfo> getTemplateArguments()
ZserioError
- If the zserio type is not templatable.java.util.List<MessageInfo> getMessages()
ZserioError
- If the zserio type is not pubsub type.java.util.List<MethodInfo> getMethods()
ZserioError
- If the zserio type is not service type.Last updated 2024-12-05 10:34:50