public class SQLBuilderBase.CreateTableBuilderBase extends Object implements SQLBuilder.CreateTableBuilder
Modifier and Type | Field and Description |
---|---|
protected List<SQLBuilderBase.ColumnDescriptorBuilderBase> |
columns |
protected SQLBuilder.TableNameBuilder |
table |
Constructor and Description |
---|
CreateTableBuilderBase() |
Modifier and Type | Method and Description |
---|---|
void |
accept(ExpressionBuilder.Visitor visitor,
ExpressionBuilder.VisitorFilter filter) |
SQLBuilderBase.CreateTableBuilderBase |
add_column(String columnName,
int type,
int type_p,
int type_s,
boolean isPk,
boolean isIndexed,
boolean allowNulls,
boolean isAutomatic,
Object defaultValue) |
SQLBuilder.CreateTableBuilder |
add_geometry_column(String columnName,
int type,
int subtype,
IProjection proj,
boolean isIndexed,
boolean allowNulls) |
SQLBuilder.ColumnDescriptorBuilder |
getColumnDescriptor(String columnName) |
SQLBuilder.TableNameBuilder |
table() |
String |
toString() |
List<String> |
toStrings() |
protected SQLBuilder.TableNameBuilder table
protected List<SQLBuilderBase.ColumnDescriptorBuilderBase> columns
public void accept(ExpressionBuilder.Visitor visitor, ExpressionBuilder.VisitorFilter filter)
accept
in interface ExpressionBuilder.Visitable
public SQLBuilder.TableNameBuilder table()
table
in interface SQLBuilder.CreateTableBuilder
public SQLBuilderBase.CreateTableBuilderBase add_column(String columnName, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue)
add_column
in interface SQLBuilder.CreateTableBuilder
public SQLBuilder.CreateTableBuilder add_geometry_column(String columnName, int type, int subtype, IProjection proj, boolean isIndexed, boolean allowNulls)
add_geometry_column
in interface SQLBuilder.CreateTableBuilder
public SQLBuilder.ColumnDescriptorBuilder getColumnDescriptor(String columnName)
getColumnDescriptor
in interface SQLBuilder.CreateTableBuilder
public List<String> toStrings()
toStrings
in interface SQLBuilder.CreateTableBuilder