public class SQLBuilderBase extends ExpressionBuilderBase implements SQLBuilder
Modifier and Type | Class and Description |
---|---|
class |
SQLBuilderBase.AlterTableBuilderBase |
protected class |
SQLBuilderBase.ColumnDescriptorBuilderBase |
class |
SQLBuilderBase.CountBuilderBase |
class |
SQLBuilderBase.CreateTableBuilderBase |
class |
SQLBuilderBase.DeleteBuilderBase |
class |
SQLBuilderBase.DropTableBuilderBase |
class |
SQLBuilderBase.FromBuilderBase |
class |
SQLBuilderBase.GrantBuilderBase |
class |
SQLBuilderBase.GrantRoleBuilderBase |
class |
SQLBuilderBase.InsertBuilderBase |
class |
SQLBuilderBase.InsertColumnBuilderBase |
class |
SQLBuilderBase.OrderByBuilderBase |
class |
SQLBuilderBase.SelectBuilderBase |
class |
SQLBuilderBase.SelectColumnBuilderBase |
class |
SQLBuilderBase.TableNameBuilderBase |
class |
SQLBuilderBase.UpdateBuilderBase |
class |
SQLBuilderBase.UpdateColumnBuilderBase |
class |
SQLBuilderBase.UpdateTableStatisticsBuilderBase |
ExpressionBuilderBase.AbstractValue, ExpressionBuilderBase.BinaryOperatorBase, ExpressionBuilderBase.ClassVisitorFilter, ExpressionBuilderBase.ConfigBase, ExpressionBuilderBase.ConstantBase, ExpressionBuilderBase.CustomBase, ExpressionBuilderBase.FunctionBase, ExpressionBuilderBase.GeometryValueBase, ExpressionBuilderBase.GroupBase, ExpressionBuilderBase.ParameterBase, ExpressionBuilderBase.VariableBase
SQLBuilder.AlterTableBuilder, SQLBuilder.ColumnDescriptorBuilder, SQLBuilder.CountBuilder, SQLBuilder.CreateTableBuilder, SQLBuilder.DeleteBuilder, SQLBuilder.DropTableBuilder, SQLBuilder.FromBuilder, SQLBuilder.GrantBuilder, SQLBuilder.GrantRoleBuilder, SQLBuilder.InsertBuilder, SQLBuilder.InsertColumnBuilder, SQLBuilder.OrderByBuilder, SQLBuilder.Privilege, SQLBuilder.SelectBuilder, SQLBuilder.SelectColumnBuilder, SQLBuilder.SQLConfig, SQLBuilder.Statement, SQLBuilder.TableNameBuilder, SQLBuilder.UpdateBuilder, SQLBuilder.UpdateColumnBuilder, SQLBuilder.UpdateTableStatisticsBuilder
ExpressionBuilder.BinaryOperator, ExpressionBuilder.Config, ExpressionBuilder.Constant, ExpressionBuilder.Custom, ExpressionBuilder.Function, ExpressionBuilder.GeometrySupportType, ExpressionBuilder.GeometryValue, ExpressionBuilder.Group, ExpressionBuilder.Parameter, ExpressionBuilder.Parameters, ExpressionBuilder.ParameterType, ExpressionBuilder.Value, ExpressionBuilder.Variable, ExpressionBuilder.Visitable, ExpressionBuilder.Visitor, ExpressionBuilder.VisitorFilter
Modifier and Type | Field and Description |
---|---|
protected SQLBuilder.AlterTableBuilder |
alter_table |
protected SQLBuilder.CreateTableBuilder |
create_table |
protected SQLBuilder.DeleteBuilder |
delete |
protected SQLBuilder.DropTableBuilder |
drop_table |
protected SQLBuilder.GrantBuilder |
grant |
protected SQLBuilder.InsertBuilder |
insert |
protected static Logger |
logger |
protected List<ExpressionBuilder.Parameter> |
parameters |
protected SQLBuilder.SelectBuilder |
select |
protected SQLBuilder.UpdateBuilder |
update |
protected SQLBuilder.UpdateTableStatisticsBuilder |
update_table_statistics |
config, value
Constructor and Description |
---|
SQLBuilderBase() |
add, and, and, binaryOperator, bytearray_0x, bytearray_hex, bytearray_x, bytearray, column, concat, constant, createExpressionBuilder, custom, div, envelope, eq, Find_SRID, function, ge, geometry_support_type, geometry, getAsGeometry, getConfig, getParameters, getSRSId, getValue, getVariables, group, gt, has_spatial_functions, identifier, ilike, isNull, lcase, le, like, lt, mult, ne, not, notIsNull, or, or, parameter, parameter, set, setValue, srs, ST_AsBinary, ST_AsEWKB, ST_AsText, ST_Contains, ST_Crosses, ST_Disjoint, ST_Envelope, ST_Equals, ST_GeomFromEWKB, ST_GeomFromText, ST_GeomFromWKB, ST_Intersects, ST_IsClosed, ST_Overlaps, ST_Simplify, ST_SRID, ST_Touches, ST_Within, string, subst, ucase, variable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, and, and, bytearray, column, concat, constant, createExpressionBuilder, custom, div, envelope, eq, Find_SRID, ge, geometry_support_type, geometry, getAsGeometry, getConfig, getParameters, getSRSId, getValue, getVariables, group, gt, has_spatial_functions, identifier, ilike, isNull, lcase, le, like, lt, mult, ne, not, notIsNull, or, or, parameter, parameter, set, setValue, srs, ST_AsBinary, ST_AsEWKB, ST_AsText, ST_Contains, ST_Crosses, ST_Disjoint, ST_Envelope, ST_Equals, ST_GeomFromEWKB, ST_GeomFromText, ST_GeomFromWKB, ST_Intersects, ST_IsClosed, ST_Overlaps, ST_Simplify, ST_SRID, ST_Touches, ST_Within, string, subst, ucase, variable
protected static final Logger logger
protected SQLBuilder.SelectBuilder select
protected SQLBuilder.UpdateBuilder update
protected SQLBuilder.InsertBuilder insert
protected SQLBuilder.DeleteBuilder delete
protected SQLBuilder.AlterTableBuilder alter_table
protected SQLBuilder.CreateTableBuilder create_table
protected SQLBuilder.GrantBuilder grant
protected SQLBuilder.DropTableBuilder drop_table
protected SQLBuilder.UpdateTableStatisticsBuilder update_table_statistics
protected List<ExpressionBuilder.Parameter> parameters
public String default_schema()
default_schema
in interface SQLBuilder
public boolean supportSchemas()
supportSchemas
in interface SQLBuilder
public String sqltype(int type, int p, int s)
sqltype
in interface SQLBuilder
public Object sqlgeometrytype(int type, int subtype)
sqlgeometrytype
in interface SQLBuilder
public Object sqlgeometrydimension(int type, int subtype)
sqlgeometrydimension
in interface SQLBuilder
protected SQLBuilder.TableNameBuilder createTableNameBuilder()
protected SQLBuilder.SelectColumnBuilder createSelectColumnBuilder()
protected SQLBuilder.UpdateColumnBuilder createUpdateColumnBuilder()
protected SQLBuilder.InsertColumnBuilder createInsertColumnBuilder()
protected SQLBuilder.OrderByBuilder createOrderByBuilder()
protected SQLBuilder.FromBuilder createFromBuilder()
protected SQLBuilder.SelectBuilder createSelectBuilder()
protected SQLBuilder.UpdateBuilder createUpdateBuilder()
protected SQLBuilder.DeleteBuilder createDeleteBuilder()
protected SQLBuilder.GrantBuilder createGrantBuilder()
protected SQLBuilder.GrantRoleBuilder createGrantRoleBuilder(SQLBuilder.TableNameBuilder table, String role)
protected SQLBuilder.DropTableBuilder createDropTableBuilder()
protected SQLBuilder.CreateTableBuilder createCreateTableBuilder()
protected SQLBuilder.AlterTableBuilder createAlterTableBuilder()
protected SQLBuilder.InsertBuilder createInsertBuilder()
protected SQLBuilder.UpdateTableStatisticsBuilder createUpdateTableStatisticsBuilder()
public SQLBuilder.SelectBuilder select()
select
in interface SQLBuilder
public SQLBuilder.UpdateBuilder update()
update
in interface SQLBuilder
public SQLBuilder.UpdateTableStatisticsBuilder update_table_statistics()
update_table_statistics
in interface SQLBuilder
public SQLBuilder.DropTableBuilder drop_table()
drop_table
in interface SQLBuilder
public SQLBuilder.DeleteBuilder delete()
delete
in interface SQLBuilder
public SQLBuilder.InsertBuilder insert()
insert
in interface SQLBuilder
public SQLBuilder.AlterTableBuilder alter_table()
alter_table
in interface SQLBuilder
public SQLBuilder.CreateTableBuilder create_table()
create_table
in interface SQLBuilder
public SQLBuilder.GrantBuilder grant()
grant
in interface SQLBuilder
public void accept(ExpressionBuilder.Visitor visitor, ExpressionBuilder.VisitorFilter filter)
accept
in interface ExpressionBuilder
accept
in class ExpressionBuilderBase
public String toString()
toString
in class ExpressionBuilderBase
public ExpressionBuilder.Function ST_UnionAggregate(ExpressionBuilder.Value geom)
ST_UnionAggregate
in interface SQLBuilder
public ExpressionBuilder.Function ST_ExtentAggregate(ExpressionBuilder.Value geom)
ST_ExtentAggregate
in interface SQLBuilder
public SQLBuilder.CountBuilder count()
count
in interface SQLBuilder