public class H2SpatialSQLBuilder extends JDBCSQLBuilderBase
Modifier and Type | Class and Description |
---|---|
protected class |
H2SpatialSQLBuilder.H2SpatialAlterTableBuilderBase |
class |
H2SpatialSQLBuilder.H2SpatialCreateIndexBuilder |
protected class |
H2SpatialSQLBuilder.H2SpatialCreateTableBuilder |
class |
H2SpatialSQLBuilder.H2SpatialSelectBuilderBase |
class |
H2SpatialSQLBuilder.H2SpatialTableNameBuilderBase |
SQLBuilderBase.AbstractStatement, SQLBuilderBase.AbstractStatementPart, SQLBuilderBase.AlterTableBuilderBase, SQLBuilderBase.ColumnBase, SQLBuilderBase.ColumnDescriptorBase, SQLBuilderBase.CountBuilderBase, SQLBuilderBase.CreateIndexBuilderBase, SQLBuilderBase.CreateTableBuilderBase, SQLBuilderBase.DeleteBuilderBase, SQLBuilderBase.DropIndexBuilderBase, SQLBuilderBase.DropTableBuilderBase, SQLBuilderBase.FromBuilderBase, SQLBuilderBase.GrantBuilderBase, SQLBuilderBase.GrantRoleBuilderBase, SQLBuilderBase.InsertBuilderBase, SQLBuilderBase.InsertColumnBuilderBase, SQLBuilderBase.JoinBase, SQLBuilderBase.MergeBuilderBase, SQLBuilderBase.OrderByBuilderBase, SQLBuilderBase.SelectBuilderBase, SQLBuilderBase.SelectColumnBuilderBase, SQLBuilderBase.TableNameBuilderBase, SQLBuilderBase.UpdateBuilderBase, SQLBuilderBase.UpdateColumnBuilderBase, SQLBuilderBase.UpdateTableStatisticsBuilderBase
SQLBuilder.AlterTableBuilder, SQLBuilder.Column, SQLBuilder.ColumnDescriptor, SQLBuilder.CountBuilder, SQLBuilder.CreateIndexBuilder, SQLBuilder.CreateTableBuilder, SQLBuilder.DeleteBuilder, SQLBuilder.DropIndexBuilder, SQLBuilder.DropTableBuilder, SQLBuilder.FromBuilder, SQLBuilder.GrantBuilder, SQLBuilder.GrantRoleBuilder, SQLBuilder.InsertBuilder, SQLBuilder.InsertColumnBuilder, SQLBuilder.JoinBuilder, SQLBuilder.MergeBuilder, SQLBuilder.OrderByBuilder, SQLBuilder.Privilege, SQLBuilder.SelectBuilder, SQLBuilder.SelectColumnBuilder, SQLBuilder.Statement, SQLBuilder.StatementPart, SQLBuilder.TableNameBuilder, SQLBuilder.UpdateBuilder, SQLBuilder.UpdateColumnBuilder, SQLBuilder.UpdateTableStatisticsBuilder
Modifier and Type | Field and Description |
---|---|
protected Formatter |
formatter |
helper
aggregateFunctionNames, allowAutomaticValues, alter_table, constant_false, constant_true, create_index, create_table, defaultSchema, delete, drop_index, drop_table, expressionBuilder, geometrySupportType, grant, hasSpatialFunctions, insert, LOGGER, merge, select, STMT_DELETE_FROM_table, STMT_DELETE_FROM_table_WHERE_expresion, STMT_DELETE_GEOMETRY_COLUMN_FROM_TABLE_schema_table, STMT_DELETE_GEOMETRY_COLUMN_FROM_TABLE_table, STMT_DROP_TABLE_table, STMT_GRANT_privileges_ON_table_TO_role, STMT_INSERT_INTO_table_columns_VALUES_values, STMT_MERGE_INTO_table_KEY_column_columns_VALUES_values, STMT_UPDATE_table_SET_columnsAndValues, STMT_UPDATE_table_SET_columnsAndValues_WHERE_expresion, STMT_UPDATE_TABLE_STATISTICS_table, supportSchemas, table_name, type_boolean, type_byte, type_bytearray, type_char, type_date, type_decimal_p, type_decimal_ps, type_double, type_FILE, type_float, type_FOLDER, type_geometry, type_int, type_long, type_string, type_string_0, type_string_p, type_time, type_timestamp, type_URI, type_URL, type_version, update, update_table_statistics
DEFAULT_RECOMENDED_SQL_LENGTH, FEATURE_ATTRIBUTE_DESCRIPTOR, PROP_ADD_TABLE_NAME_TO_COLUMNS, PROP_FEATURE_TYPE, PROP_JDBCHELPER, PROP_QUERY, PROP_SQLBUILDER, PROP_SYMBOLTABLE, PROP_TABLE, PROP_TABLENAME
Constructor and Description |
---|
H2SpatialSQLBuilder(H2SpatialHelper helper) |
debug_setStatementParameters, forceGeometryType, getGeometryManager, getNativeBytes, getParameters, getParameters, setParameters, setParameters, setStatementParameters, setStatementValue, srs_id
accept, alter_table, as_clob, as_identifier, as_string, as_string, as_string, as_string, as_string, column_from, column_from, column, column, column, count, create_index, create_table, createDeleteBuilder, createDropIndexBuilder, createDropTableBuilder, createExpressionBuilder, createFromBuilder, createGrantBuilder, createGrantRoleBuilder, createInsertBuilder, createInsertColumnBuilder, createJoin, createMergeBuilder, createOrderByBuilder, createSelectColumnBuilder, createUpdateBuilder, createUpdateColumnBuilder, createUpdateTableStatisticsBuilder, default_schema, delete, drop_index, drop_table, expression, geometry_support_type, getConstrainName, grant, has_spatial_functions, insert, isAggregateFunction, merge, parameters_names, parameters, quote_for_identifiers, quote_for_strings, select, setProperties, setProperties, support_schemas, table_name, toString, toString, update_table_statistics, update, variables_names, variables
protected Formatter formatter
public H2SpatialSQLBuilder(H2SpatialHelper helper)
public Formatter formatter()
formatter
in interface SQLBuilder
formatter
in class SQLBuilderBase
public java.lang.Object sqlgeometrydimension(int type, int subtype)
sqlgeometrydimension
in interface SQLBuilder
sqlgeometrydimension
in class SQLBuilderBase
public java.lang.String sqltype(int type, int size, int precision, int scale, int geomtype, int geomSubtype)
sqltype
in interface SQLBuilder
sqltype
in class SQLBuilderBase
public java.lang.Object sqlgeometrytype(int geomtype, int geomsubtype)
sqlgeometrytype
in interface SQLBuilder
sqlgeometrytype
in class SQLBuilderBase
public java.lang.Object sqlgeometrynumdimension(int type, int subtype)
public H2SpatialHelper getHelper()
getHelper
in class JDBCSQLBuilderBase
public Disposable setParameters(java.sql.PreparedStatement st, FeatureProvider feature)
setParameters
in class JDBCSQLBuilderBase
protected SQLBuilder.AlterTableBuilder createAlterTableBuilder()
createAlterTableBuilder
in class SQLBuilderBase
public SQLBuilder.TableNameBuilder createTableNameBuilder()
createTableNameBuilder
in interface SQLBuilder
createTableNameBuilder
in class SQLBuilderBase
protected SQLBuilder.CreateTableBuilder createCreateTableBuilder()
createCreateTableBuilder
in class SQLBuilderBase
public SQLBuilder.SelectBuilder createSelectBuilder()
createSelectBuilder
in interface SQLBuilder
createSelectBuilder
in class SQLBuilderBase
public SQLBuilder.CreateIndexBuilder createCreateIndexBuilder()
createCreateIndexBuilder
in class SQLBuilderBase
public Disposable setStatementParameters(java.sql.PreparedStatement st, java.util.List values, java.util.List<java.lang.Integer> types, GeometryExpressionBuilderHelper.GeometrySupportType geometrySupportType) throws java.sql.SQLException
setStatementParameters
in class JDBCSQLBuilderBase
java.sql.SQLException
public int getMaxRecomendedSQLLength()
getMaxRecomendedSQLLength
in interface SQLBuilder
getMaxRecomendedSQLLength
in class SQLBuilderBase