public static final class TypeInfo.SqlTableTypeInfo extends TypeInfo.TemplatableTypeInfoBase
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 |
---|
SqlTableTypeInfo(java.lang.String schemaName,
java.lang.Class<?> javaClass,
java.lang.String templateName,
java.util.List<TypeInfo> templateArguments,
java.util.List<ColumnInfo> columns,
java.lang.String sqlConstraint,
java.lang.String virtualTableUsing,
boolean isWithoutRowId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ColumnInfo> |
getColumns()
Gets the type information for SQL table columns.
|
java.lang.String |
getSqlConstraint()
Gets the SQL table constraint.
|
java.lang.String |
getVirtualTableUsing()
Gets the SQL table using specification.
|
boolean |
isWithoutRowId()
Checks if SQL table is without row id table.
|
getTemplateArguments, getTemplateName
getBitmaskValues, getBitSize, getCases, getEnumItems, getFields, getFunctions, getJavaClass, getJavaType, getMessages, getMethods, getParameters, getSchemaName, getSchemaType, getSelector, getTables, getUnderlyingType, getUnderlyingTypeArguments
public SqlTableTypeInfo(java.lang.String schemaName, java.lang.Class<?> javaClass, java.lang.String templateName, java.util.List<TypeInfo> templateArguments, java.util.List<ColumnInfo> columns, java.lang.String sqlConstraint, java.lang.String virtualTableUsing, boolean isWithoutRowId)
schemaName
- The schema name to be stored in type information.javaClass
- The Java class object to be stored in type information.templateName
- The full schema template name.templateArguments
- The sequence of type informations for template arguments.columns
- The sequence of type informations for columns.sqlConstraint
- The SQL table constraint.virtualTableUsing
- The SQL virtual table using specification.isWithoutRowId
- True if SQL table is without row id table, otherwise false.public java.util.List<ColumnInfo> getColumns()
TypeInfo
getColumns
in interface TypeInfo
getColumns
in class TypeInfo.TypeInfoBase
public java.lang.String getSqlConstraint()
TypeInfo
getSqlConstraint
in interface TypeInfo
getSqlConstraint
in class TypeInfo.TypeInfoBase
public java.lang.String getVirtualTableUsing()
TypeInfo
getVirtualTableUsing
in interface TypeInfo
getVirtualTableUsing
in class TypeInfo.TypeInfoBase
public boolean isWithoutRowId()
TypeInfo
isWithoutRowId
in interface TypeInfo
isWithoutRowId
in class TypeInfo.TypeInfoBase
Last updated 2024-12-05 10:34:50