CreateTableBody
, ToSql
public class ColumnsAndConstraints extends Object implements CreateTableBody
Modifier and Type | Field | Description |
---|---|---|
List<ColumnDefinition> |
columns |
|
List<TableConstraint> |
constraints |
|
PrimaryKeyConstraint |
primaryKeyConstraint |
|
boolean |
without |
Constructor | Description |
---|---|
ColumnsAndConstraints(List<ColumnDefinition> columns,
List<TableConstraint> constraints,
boolean without) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isAnAliasForRowId(String columnName) |
|
boolean |
isAutoIncrement(String columnName) |
|
boolean |
isGeneratedColumn(String columnName) |
|
void |
toSql(Appendable a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comma, commaNames, doubleQuote, isEmpty, isNotEmpty, nullToEmpty, requireNotEmpty, singleQuote, toSql
public final List<ColumnDefinition> columns
public final List<TableConstraint> constraints
public final boolean without
public final PrimaryKeyConstraint primaryKeyConstraint
public ColumnsAndConstraints(List<ColumnDefinition> columns, List<TableConstraint> constraints, boolean without)
public void toSql(Appendable a) throws IOException
toSql
in interface ToSql
IOException
public boolean isAutoIncrement(String columnName)
public boolean isGeneratedColumn(String columnName)
public boolean isAnAliasForRowId(String columnName)
Copyright © 2018. All rights reserved.