Package org.gvsig.fmap.dal
Interface SQLBuilder.AlterTableBuilder
- All Superinterfaces:
Cloneable,org.gvsig.tools.lang.Cloneable,org.gvsig.expressionevaluator.ExpressionBuilder.Value,org.gvsig.expressionevaluator.ExpressionBuilder.Visitable,org.gvsig.tools.util.PropertiesSupport,SQLBuilder.Statement,SQLBuilder.StatementPart
- Enclosing interface:
SQLBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionadd_column(String columnName, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue, boolean allowIndexDuplicateds) add_geometry_column(String columnName, int geom_type, int geom_subtype, Object srsdbcode, boolean isIndexed, boolean allowNulls) add_geometry_column(String columnName, int geom_type, int geom_subtype, org.gvsig.crs.projection.lib.Projection proj, boolean isIndexed, boolean allowNulls) alter_column(org.gvsig.tools.util.Bitmask operation, String columnName, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue, boolean allowIndexDuplicateds) alter_column(org.gvsig.tools.util.Bitmask operation, FeatureAttributeDescriptor fad) alter_geometry_column(org.gvsig.tools.util.Bitmask operation, String columnName, int geom_type, int geom_subtype, Object srsdbcode, boolean isIndexed, boolean allowNulls) alter_geometry_column(org.gvsig.tools.util.Bitmask operation, String columnName, int geom_type, int geom_subtype, org.gvsig.crs.projection.lib.Projection proj, boolean isIndexed, boolean allowNulls) drop_column(String columnName) drop_primary_key(String columnName) booleanisEmpty()rename_column(String source, String target) table()toStrings(org.gvsig.expressionevaluator.Formatter formatter) Methods inherited from interface org.gvsig.expressionevaluator.ExpressionBuilder.Value
clone, copyPropertiesFrom, replace, toStringMethods inherited from interface org.gvsig.expressionevaluator.ExpressionBuilder.Visitable
acceptMethods inherited from interface org.gvsig.tools.util.PropertiesSupport
getProperties, getProperty, setProperty
-
Field Details
-
ALTER_COLUMN_ALL
static final int ALTER_COLUMN_ALL- See Also:
-
ALTER_COLUMN_GEOMETRY
static final int ALTER_COLUMN_GEOMETRY- See Also:
-
ALTER_COLUMN_SET_DEFAULT
static final int ALTER_COLUMN_SET_DEFAULT- See Also:
-
ALTER_COLUMN_SET_NULL
static final int ALTER_COLUMN_SET_NULL- See Also:
-
ALTER_COLUMN_SET_DATA_TYPE
static final int ALTER_COLUMN_SET_DATA_TYPE- See Also:
-
ALTER_COLUMN_ADD_PRIMARY_KEY
static final int ALTER_COLUMN_ADD_PRIMARY_KEY- See Also:
-
ALTER_COLUMN_DROP_PRIMARY_KEY
static final int ALTER_COLUMN_DROP_PRIMARY_KEY- See Also:
-
ALTER_COLUMN_CREATE_INDEX
static final int ALTER_COLUMN_CREATE_INDEX- See Also:
-
ALTER_COLUMN_DROP_INDEX
static final int ALTER_COLUMN_DROP_INDEX- See Also:
-
ALTER_COLUMN_DROP_COLUMN
static final int ALTER_COLUMN_DROP_COLUMN- See Also:
-
ALTER_COLUMN_ADD_COLUMN
static final int ALTER_COLUMN_ADD_COLUMN- See Also:
-
-
Method Details
-
table
SQLBuilder.TableNameBuilder table() -
drop_column
-
drop_primary_key
-
add_column
-
add_column
SQLBuilder.AlterTableBuilder add_column(String columnName, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue, boolean allowIndexDuplicateds) -
add_geometry_column
SQLBuilder.AlterTableBuilder add_geometry_column(String columnName, int geom_type, int geom_subtype, org.gvsig.crs.projection.lib.Projection proj, boolean isIndexed, boolean allowNulls) -
add_geometry_column
SQLBuilder.AlterTableBuilder add_geometry_column(String columnName, int geom_type, int geom_subtype, Object srsdbcode, boolean isIndexed, boolean allowNulls) -
alter_column
SQLBuilder.AlterTableBuilder alter_column(org.gvsig.tools.util.Bitmask operation, FeatureAttributeDescriptor fad) -
alter_column
SQLBuilder.AlterTableBuilder alter_column(org.gvsig.tools.util.Bitmask operation, String columnName, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue, boolean allowIndexDuplicateds) -
alter_geometry_column
SQLBuilder.AlterTableBuilder alter_geometry_column(org.gvsig.tools.util.Bitmask operation, String columnName, int geom_type, int geom_subtype, org.gvsig.crs.projection.lib.Projection proj, boolean isIndexed, boolean allowNulls) -
alter_geometry_column
SQLBuilder.AlterTableBuilder alter_geometry_column(org.gvsig.tools.util.Bitmask operation, String columnName, int geom_type, int geom_subtype, Object srsdbcode, boolean isIndexed, boolean allowNulls) -
rename_column
-
isEmpty
boolean isEmpty() -
toStrings
-
toStrings
-