Package org.sqlite.parser.ast
Class ColumnsAndConstraints
java.lang.Object
org.sqlite.parser.ast.ColumnsAndConstraints
- All Implemented Interfaces:
CreateTableBody,ToSql
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<ColumnDefinition>final List<TableConstraint>final PrimaryKeyConstraintfinal boolean -
Constructor Summary
ConstructorsConstructorDescriptionColumnsAndConstraints(List<ColumnDefinition> columns, List<TableConstraint> constraints, boolean without) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAnAliasForRowId(String columnName) booleanisAutoIncrement(String columnName) booleanisGeneratedColumn(String columnName) voidtoSql(Appendable a)
-
Field Details
-
columns
-
constraints
-
without
public final boolean without -
-
-
Constructor Details
-
ColumnsAndConstraints
public ColumnsAndConstraints(List<ColumnDefinition> columns, List<TableConstraint> constraints, boolean without)
-
-
Method Details
-
toSql
- Specified by:
toSqlin interfaceToSql- Throws:
IOException
-
isAutoIncrement
-
isGeneratedColumn
-
isAnAliasForRowId
-