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 PrimaryKeyConstraint
final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionColumnsAndConstraints
(List<ColumnDefinition> columns, List<TableConstraint> constraints, boolean without) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAnAliasForRowId
(String columnName) boolean
isAutoIncrement
(String columnName) boolean
isGeneratedColumn
(String columnName) void
toSql
(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:
toSql
in interfaceToSql
- Throws:
IOException
-
isAutoIncrement
-
isGeneratedColumn
-
isAnAliasForRowId
-