- AbstractBatch - Class in com.feedzai.commons.sql.abstraction.batch
-
A Batch that periodically flushes pending insertions to the database.
- AbstractBatch(DatabaseEngine, String, int, long, long, BatchListener, int, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
- AbstractBatch(DatabaseEngine, String, int, long, long, BatchListener) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
- AbstractBatch(DatabaseEngine, String, int, long, long, FailureListener, int, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
- AbstractBatch(DatabaseEngine, String, int, long, long, FailureListener) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
- AbstractBatch(DatabaseEngine, String, int, long, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
- AbstractBatch(DatabaseEngine, int, long, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
- AbstractDatabaseEngine - Class in com.feedzai.commons.sql.abstraction.engine
-
Provides a set of functions to interact with the database.
- AbstractDatabaseEngine(String, PdbProperties, Dialect) - Constructor for class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- AbstractTranslator - Class in com.feedzai.commons.sql.abstraction.engine
-
Abstract translator to be extended by specific implementations.
- AbstractTranslator() - Constructor for class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
- action - Variable in class com.feedzai.commons.sql.abstraction.dml.When
-
The action to be executed if the condition is true.
- add(BatchEntry) - Method in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Adds the fields to the batch.
- add(String, EntityEntry) - Method in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Adds the fields to the batch.
- addBatch(String, EntityEntry) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Add an entry to the batch.
- addBatch(String, EntityEntry) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Adds an entry to the batch.
- addColumn(DbColumn) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds a column to the entity.
- addColumn(Collection<DbColumn>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds the columns to the entity.
- addColumn(String, DbColumnType, DbColumnConstraint...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds a column to the entity.
- addColumn(String, DbColumnType, Integer, DbColumnConstraint...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds a column to the entity.
- addColumn(String, DbColumnType, boolean, DbColumnConstraint...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds a column to the entity.
- addColumn(String, DbColumnType, K, DbColumnConstraint...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds a column to the entity.
- addColumn(String, DbColumnType, Integer, boolean, DbColumnConstraint...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds a column to the entity.
- addColumn(String...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
Adds local columns (from the child table, where the foreign key is defined) to match the ones from the
referenced table (parent table).
- addColumn(DbEntity, DbColumn...) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Adds the column to an existent table.
- addColumn(DbEntity, DbColumn...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- addColumn(DbEntity, DbColumn...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- addColumn(DbEntity, DbColumn...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- addColumn(DbEntity, DbColumn...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- addColumn(DbEntity, DbColumn...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- addColumn(DbEntity, DbColumn...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- addColumns(Collection<String>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
Adds local columns (from the child table, where the foreign key is defined) to match the ones from the
referenced table (parent table).
- addConstraint(DbColumnConstraint) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
-
Adds a new constraint to this column.
- addConstraints(DbColumnConstraint...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
-
Adds constraints.
- addConstraints(Collection<DbColumnConstraint>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
-
Adds constraints.
- addEntity(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Adds an entity to the engine.
- addEntity(DbEntity) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Adds an entity to the engine.
- addFk(DbFk...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds the FKs.
- addFk(DbFk.Builder...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds the FKs.
- addFk(Collection<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds the FKs.
- addFks(Collection<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds the FKs.
- addFks(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Adds all foreign keys defined in the entity to the table in the database.
- addFks(DbEntity, Set<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Adds foreign key constraints to the table in the database that the provided entity represents.
- addFks(DbEntity, Set<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
-
- addFks(DbEntity, Set<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- addFks(DbEntity, Set<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- addFks(DbEntity, Set<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- addFks(DbEntity, Set<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- addFks(DbEntity, Set<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- addFks(DbEntity, Set<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- addForeignColumn(String...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
- addForeignColumns(Collection<String>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
- addIndex(DbIndex) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds an index.
- addIndex(boolean, String...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds an index.
- addIndex(String...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds an index.
- addIndex(Collection<String>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds an index.
- addIndexes(Collection<DbIndex>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds an index.
- addIndexes(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Add the desired indexes.
- addIndexes(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- addIndexes(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- addIndexes(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- addIndexes(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- addIndexes(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- addIndexes(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- addPrimaryKey(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Add a primary key to the entity.
- addPrimaryKey(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
-
- addPrimaryKey(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- addPrimaryKey(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- addPrimaryKey(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- addPrimaryKey(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- addPrimaryKey(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- addPrimaryKey(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- addReferencedColumn(String...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
Adds columns from the referenced table (parent table) to match the local ones.
- addReferencedColumns(Collection<String>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
Adds columns from the referenced table (parent table) to match the local ones.
- addSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Adds the necessary sequences.
- addSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
-
- addSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- addSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- addSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- addSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- addSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- addSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- AESHelper - Class in com.feedzai.commons.sql.abstraction.util
-
Class to provide encryption and decryption using AES algorithm.
- AESHelper() - Constructor for class com.feedzai.commons.sql.abstraction.util.AESHelper
-
- alias - Variable in class com.feedzai.commons.sql.abstraction.dml.Expression
-
The expression alias if applicable.
- alias(String) - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Aliases this expression.
- All - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents the * or environment.* operator.
- All() - Constructor for class com.feedzai.commons.sql.abstraction.dml.All
-
Creates a new instance of
All.
- All(String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.All
-
Creates a new instance of
All.
- all() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Selects all columns in a row.
- all(String) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Selects all columns in a table.
- all() - Method in class com.feedzai.commons.sql.abstraction.dml.Union
-
Sets this UNION to UNION ALL.
- ALLOW_COLUMN_DROP - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Property to allow column drops on entity updates.
- allowColumnDrop() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if column drop is allowed when the schema changes.
- AlterColumn - Class in com.feedzai.commons.sql.abstraction.ddl
-
Expression to translate {@code ALTER TABLE...
- AlterColumn(Expression, DbColumn) - Constructor for class com.feedzai.commons.sql.abstraction.ddl.AlterColumn
-
- alterColumn(Expression, Name, DbColumnType, DbColumnConstraint...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Alter column operator.
- alterColumn(Expression, DbColumn) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Alter column operator.
- and(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The AND operator.
- and(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The AND operator.
- AND - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The AND delimited.
- andWhere(Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
The WHERE clause.
- andWith(String, Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.With
-
Adds an alias and expression to the with clause.
- apply() - Method in interface com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine.Action0
-
Executes the action.
- as(Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.View
-
Sets the AS expression.
- asc() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Sets ordering to ascendant.
- autoInc(boolean) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
-
Sets this field to use auto incrementation techniques.
- avg(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The AVG operator.
- AVG - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The AVG function.
- cancel() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
Attempts to cancel the current query.
- Case - Class in com.feedzai.commons.sql.abstraction.dml
-
Case SQL Expression.
- caseWhen() - Static method in class com.feedzai.commons.sql.abstraction.dml.Case
-
Returns a new empty case.
- caseWhen(Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.Case
-
Returns a new "case when" that does the trueAction considering the condition.
- caseWhen() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Returns a new "case when".
- caseWhen(Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a case expression.
- Cast - Class in com.feedzai.commons.sql.abstraction.dml
-
The cast expression.
- Cast(Expression, DbColumnType) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Cast
-
Creates a new cast expression.
- cast(Expression, DbColumnType) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a cast expression.
- ceiling(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The CEILING operator.
- CEILING - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The CEILING function.
- CHECK_CONNECTION_TIMEOUT - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Property that indicates the maximum time taken when checking if a connection is available.
- checkConnection(Connection) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Checks if the connection is alive.
- checkConnection(boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Checks if the connection is alive.
- checkConnection() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Checks if the connection is alive.
- checkConnection(boolean) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Checks if the connection is alive.
- checkConnection() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Checks if the connection is alive.
- checkConnection(Connection) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- checkConnection(Connection) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- checkMandatoryProperties() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if the configuration validates for mandatory properties.
- clearFks() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Clears all the FKs in this builder.
- clearParameters(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Clears the prepared statement parameters.
- clearParameters(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Clears the prepared statement parameters.
- clone() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
- clone() - Method in interface com.feedzai.commons.sql.abstraction.util.Cloneable
-
Clones an object.
- Cloneable<T> - Interface in com.feedzai.commons.sql.abstraction.util
-
Typed Cloneable.
- close() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
- close() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Closes the connection to the database.
- close() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Closes the connection to the database.
- close() - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
- Coalesce - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents the coalesce operator.
- Coalesce(Expression, Expression...) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Coalesce
-
- coalesce(Expression, Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The coalesce operator.
- COCKROACHDB_DRIVER - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
-
The Cockroach JDBC (PostgreSQL) driver.
- CockroachDBEngine - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
CockroachDB specific database implementation.
- CockroachDBEngine(PdbProperties) - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
-
Creates a new CockroachDB connection.
- CockroachDBTranslator - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
Provides SQL translation for CockroachDB.
- CockroachDBTranslator() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBTranslator
-
- column(String) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
A column.
- column(String, String) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
A column from a table.
- column - Variable in class com.feedzai.commons.sql.abstraction.dml.StringAgg
-
The column to aggregate.
- columns - Variable in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
- columns(String...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbIndex.Builder
-
Add the columns that are part of the index.
- columns(Collection<String>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbIndex.Builder
-
Add the columns that are part of the index.
- com.feedzai.commons.sql.abstraction - package com.feedzai.commons.sql.abstraction
-
- com.feedzai.commons.sql.abstraction.batch - package com.feedzai.commons.sql.abstraction.batch
-
Contains a batch to periodically flushes to the database.
- com.feedzai.commons.sql.abstraction.ddl - package com.feedzai.commons.sql.abstraction.ddl
-
Contains classes that aid on DDL creation.
- com.feedzai.commons.sql.abstraction.dml - package com.feedzai.commons.sql.abstraction.dml
-
Contains classes to build DML statements.
- com.feedzai.commons.sql.abstraction.dml.dialect - package com.feedzai.commons.sql.abstraction.dml.dialect
-
Contains an SQL builder.
- com.feedzai.commons.sql.abstraction.dml.result - package com.feedzai.commons.sql.abstraction.dml.result
-
Columns results implementations.
- com.feedzai.commons.sql.abstraction.engine - package com.feedzai.commons.sql.abstraction.engine
-
Contains the database engine core.
- com.feedzai.commons.sql.abstraction.engine.configuration - package com.feedzai.commons.sql.abstraction.engine.configuration
-
Contains classes to configure PdB.
- com.feedzai.commons.sql.abstraction.engine.handler - package com.feedzai.commons.sql.abstraction.engine.handler
-
Contains a handler interface to control the definition flow.
- com.feedzai.commons.sql.abstraction.engine.impl - package com.feedzai.commons.sql.abstraction.engine.impl
-
Database specific implementations.
- com.feedzai.commons.sql.abstraction.engine.impl.h2 - package com.feedzai.commons.sql.abstraction.engine.impl.h2
-
- com.feedzai.commons.sql.abstraction.engine.impl.mysql - package com.feedzai.commons.sql.abstraction.engine.impl.mysql
-
- com.feedzai.commons.sql.abstraction.engine.impl.oracle - package com.feedzai.commons.sql.abstraction.engine.impl.oracle
-
- com.feedzai.commons.sql.abstraction.engine.impl.postgresql - package com.feedzai.commons.sql.abstraction.engine.impl.postgresql
-
- com.feedzai.commons.sql.abstraction.entry - package com.feedzai.commons.sql.abstraction.entry
-
A database entry implementation.
- com.feedzai.commons.sql.abstraction.exceptions - package com.feedzai.commons.sql.abstraction.exceptions
-
- com.feedzai.commons.sql.abstraction.listeners - package com.feedzai.commons.sql.abstraction.listeners
-
The listeners interfaces for the pdb.
- com.feedzai.commons.sql.abstraction.util - package com.feedzai.commons.sql.abstraction.util
-
Contains utility classes that aid PdB.
- COMMA - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The COMMA (,) delimiter.
- commentCharacter() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- commentCharacter() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
- commentCharacter() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- commit() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Commits the current transaction.
- commit() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Commits the current transaction.
- COMPRESS_LOBS - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Property that indicates the lobs should be compressed.
- Concat - Class in com.feedzai.commons.sql.abstraction.dml
-
PDB Concat Operator.
- Concat(Expression, Collection<Expression>) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Concat
-
- concat(Expression, Collection<Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The CONCAT keyword.
- concat(Expression, Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The CONCAT keyword.
- condition - Variable in class com.feedzai.commons.sql.abstraction.dml.When
-
The condition to verify.
- configure() - Method in class com.feedzai.commons.sql.abstraction.engine.DatabaseFactory.PdbModule
-
- conn - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The database connection.
- connect() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Connects to the database.
- connect() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- ConnectionResetException - Exception in com.feedzai.commons.sql.abstraction.engine
-
Exceptions to be thrown when Connection Reset cannot be performed.
- ConnectionResetException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.ConnectionResetException
-
Constructs a new exception with null as its detail message.
- ConnectionResetException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.ConnectionResetException
-
Constructs a new exception with the specified detail message.
- ConnectionResetException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.ConnectionResetException
-
Constructs a new exception with the specified detail message and
cause.
- ConnectionResetException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.ConnectionResetException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- ConnectionResetException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.ConnectionResetException
-
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
- connectionStringFor(String, String) - Method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
Gets the JDBC connection string given the hostname and the database.
- connectionStringFor(String, String, int) - Method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
Gets the JDBC connection string given the hostname and the database.
- Constants - Class in com.feedzai.commons.sql.abstraction.util
-
Common constants to be used in PDB.
- Constants() - Constructor for class com.feedzai.commons.sql.abstraction.util.Constants
-
- CONSTRAINT_NAME_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
Constraint name already exists.
- CONSTRAINT_NAME_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
Foreign Key already exists.
- CONSTRAINT_NAME_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
Constraint name already exists.
- CONSTRAINT_NAME_ALREADY_EXISTS_COCKROACH - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
-
Constraint name already exists.
- containsColumn(String) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity
-
Checks if the given column is present in the list of columns.
- containsEntity(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- containsEntity(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Returns if the current engine contains the entity.
- containsKey(String) - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry
-
Checks if the given key is set in the internal map.
- convertToBatchListener(FailureListener) - Static method in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
- count(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The COUNT operator.
- COUNT - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The COUNT function.
- create(DatabaseEngine, String, int, long, long) - Static method in class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
- create(DatabaseEngine, String, int, long, long, FailureListener) - Static method in class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
- create(DatabaseEngine, String, int, long, long, FailureListener, int, long) - Static method in class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
- create(DatabaseEngine, String, int, long, long, BatchListener) - Static method in class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
- create(DatabaseEngine, String, int, long, long, BatchListener, int, long) - Static method in class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
- createBatch(int, long) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Creates a new batch that periodically flushes a batch.
- createBatch(int, long, String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- createBatch(int, long, String, FailureListener) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- createBatch(int, long, String, BatchListener) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- createBatch(int, long) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates a new batch that periodically flushes a batch.
- createBatch(int, long, String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates a new batch that periodically flushes a batch.
- createBatch(int, long, String, FailureListener) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
- createBatch(int, long, String, BatchListener) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates a new batch that periodically flushes a batch.
- createPreparedStatement(String, Expression) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- createPreparedStatement(String, String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- createPreparedStatement(String, Expression, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- createPreparedStatement(String, String, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- createPreparedStatement(String, Expression) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates a prepared statement.
- createPreparedStatement(String, String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates a prepared statement.
- createPreparedStatement(String, Expression, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates a prepared statement.
- createPreparedStatement(String, String, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates a prepared statement.
- createPreparedStatement(String, Expression) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- createPreparedStatementForInserts(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Creates and gets the prepared statement that will be used for insertions.
- createPreparedStatementForInserts(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- createPreparedStatementForInserts(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- createPreparedStatementForInserts(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- createPreparedStatementForInserts(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- createPreparedStatementForInserts(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- createPreparedStatementForInserts(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- createResultColumn(String, Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.DB2ResultIterator
-
- createResultColumn(String, Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.H2ResultIterator
-
- createResultColumn(String, Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.MySqlResultIterator
-
- createResultColumn(String, Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.OracleResultIterator
-
- createResultColumn(String, Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.PostgreSqlResultIterator
-
- createResultColumn(String, Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
- createResultColumn(String, Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.SqlServerResultIterator
-
- createResultIterator(Statement, String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Creates a specific
ResultIterator for the engine in place given a prepared statement.
- createResultIterator(Statement, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- createResultIterator(Statement, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- createResultIterator(Statement, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- createResultIterator(Statement, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- createResultIterator(Statement, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- createResultIterator(Statement, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- createSelectStatement(int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Creates a
Statement that will be used for selects, i.e., may have an associated
read timeout.
- createTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Creates the table.
- createTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
-
- createTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- createTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- createTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- createTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- createTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- createTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- createView(String) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a view.
- currentSchema - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The current schema that's being used by the engine.
- DatabaseEngine - Interface in com.feedzai.commons.sql.abstraction.engine
-
Interface with the specific database implementation.
- DatabaseEngineDriver - Enum in com.feedzai.commons.sql.abstraction.engine
-
Utility Enumeration to access default information for Database Vendors.
- DatabaseEngineException - Exception in com.feedzai.commons.sql.abstraction.engine
-
- DatabaseEngineException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineException
-
Constructs a new exception with null as its detail message.
- DatabaseEngineException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineException
-
Constructs a new exception with the specified detail message.
- DatabaseEngineException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineException
-
Constructs a new exception with the specified detail message and
cause.
- DatabaseEngineException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- DatabaseEngineException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineException
-
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
- DatabaseEngineRetryableException - Exception in com.feedzai.commons.sql.abstraction.exceptions
-
To be thrown when faults happen during regular database operations and can be retried with a chance of success.
- DatabaseEngineRetryableException() - Constructor for exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableException
-
Constructs a new runtime exception with null as its
detail message.
- DatabaseEngineRetryableException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableException
-
Constructs a new runtime exception with the specified detail message.
- DatabaseEngineRetryableException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableException
-
Constructs a new runtime exception with the specified detail message and
cause.
- DatabaseEngineRetryableException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableException
-
Constructs a new runtime exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- DatabaseEngineRetryableException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableException
-
Constructs a new runtime exception with the specified detail
message, cause, suppression enabled or disabled, and writable
stack trace enabled or disabled.
- DatabaseEngineRetryableRuntimeException - Exception in com.feedzai.commons.sql.abstraction.exceptions
-
To be thrown when faults happen during regular database operations and can be retried with a chance of success.
- DatabaseEngineRetryableRuntimeException() - Constructor for exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableRuntimeException
-
Constructs a new runtime exception with null as its
detail message.
- DatabaseEngineRetryableRuntimeException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableRuntimeException
-
Constructs a new runtime exception with the specified detail message.
- DatabaseEngineRetryableRuntimeException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableRuntimeException
-
Constructs a new runtime exception with the specified detail message and
cause.
- DatabaseEngineRetryableRuntimeException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableRuntimeException
-
Constructs a new runtime exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- DatabaseEngineRetryableRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableRuntimeException
-
Constructs a new runtime exception with the specified detail
message, cause, suppression enabled or disabled, and writable
stack trace enabled or disabled.
- DatabaseEngineRuntimeException - Exception in com.feedzai.commons.sql.abstraction.engine
-
To be thrown when faults happen during regular database operations.
- DatabaseEngineRuntimeException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineRuntimeException
-
Constructs a new runtime exception with null as its
detail message.
- DatabaseEngineRuntimeException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineRuntimeException
-
Constructs a new runtime exception with the specified detail message.
- DatabaseEngineRuntimeException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineRuntimeException
-
Constructs a new runtime exception with the specified detail message and
cause.
- DatabaseEngineRuntimeException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineRuntimeException
-
Constructs a new runtime exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- DatabaseEngineRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineRuntimeException
-
Constructs a new runtime exception with the specified detail
message, cause, suppression enabled or disabled, and writable
stack trace enabled or disabled.
- DatabaseEngineRuntimeException(String, Throwable, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineRuntimeException
-
- DatabaseEngineTimeoutException - Exception in com.feedzai.commons.sql.abstraction.engine
-
- DatabaseEngineTimeoutException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineTimeoutException
-
Constructs a new exception with the specified detail message and
cause.
- DatabaseFactory - Class in com.feedzai.commons.sql.abstraction.engine
-
Factory used to obtain database connections.
- DatabaseFactory.PdbModule - Class in com.feedzai.commons.sql.abstraction.engine
-
Module that enables dependency injection in PDB.
- DatabaseFactory.PdbModule.Builder - Class in com.feedzai.commons.sql.abstraction.engine
-
- DatabaseFactoryException - Exception in com.feedzai.commons.sql.abstraction.engine
-
- DatabaseFactoryException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseFactoryException
-
Constructs a new exception with null as its detail message.
- DatabaseFactoryException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseFactoryException
-
Constructs a new exception with the specified detail message.
- DatabaseFactoryException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseFactoryException
-
Constructs a new exception with the specified detail message and
cause.
- DatabaseFactoryException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseFactoryException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- DatabaseFactoryException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseFactoryException
-
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
- DB2Engine - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
DB2 specific database implementation.
- DB2Engine(PdbProperties) - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
Creates a new DB2 connection.
- DB2ResultColumn - Class in com.feedzai.commons.sql.abstraction.dml.result
-
The DB2 column result implementation.
- DB2ResultColumn(String, Object) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.DB2ResultColumn
-
- DB2ResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
- DB2ResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.DB2ResultIterator
-
- DB2ResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.DB2ResultIterator
-
- DB2Translator - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
Provides SQL translation for DB2.
- DB2Translator() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
-
- DbColumn - Class in com.feedzai.commons.sql.abstraction.ddl
-
Represents a database column definition.
- dbColumn() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Column builder.
- dbColumn(String, DbColumnType, boolean) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Column builder.
- dbColumn(String, DbColumnType) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Column builder.
- dbColumn(String, DbColumnType, int) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Column builder.
- DbColumn.Builder - Class in com.feedzai.commons.sql.abstraction.ddl
-
Builder for creating immutable
DbColumn objects.
- DbColumnConstraint - Enum in com.feedzai.commons.sql.abstraction.ddl
-
Represents the available column constraints.
- DbColumnType - Enum in com.feedzai.commons.sql.abstraction.ddl
-
The column types.
- DbEntity - Class in com.feedzai.commons.sql.abstraction.ddl
-
Represents a database entity.
- DbEntity(String, List<DbColumn>, List<DbFk>, List<String>, List<DbIndex>) - Constructor for class com.feedzai.commons.sql.abstraction.ddl.DbEntity
-
- dbEntity() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Entity builder.
- DbEntity.Builder - Class in com.feedzai.commons.sql.abstraction.ddl
-
Builder to create immutable
DbEntity objects.
- DbEntityType - Enum in com.feedzai.commons.sql.abstraction.ddl
-
The database entity types.
- DbFk - Class in com.feedzai.commons.sql.abstraction.ddl
-
Represents a database foreign key hard link
between two tables.
- dbFk() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Foreign Key builder.
- DbFk.Builder - Class in com.feedzai.commons.sql.abstraction.ddl
-
Builder to create immutable
DbFk objects.
- DbIndex - Class in com.feedzai.commons.sql.abstraction.ddl
-
Represents a database index.
- dbIndex() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Index builder.
- DbIndex.Builder - Class in com.feedzai.commons.sql.abstraction.ddl
-
Builder to create immutable
DbIndex objects.
- de - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The database engine.
- decrypt(String, String) - Static method in class com.feedzai.commons.sql.abstraction.util.AESHelper
-
- decrypt(byte[], String) - Static method in class com.feedzai.commons.sql.abstraction.util.AESHelper
-
- decryptFile(String, String) - Static method in class com.feedzai.commons.sql.abstraction.util.AESHelper
-
- DEFAULT - Static variable in interface com.feedzai.commons.sql.abstraction.engine.handler.ExceptionHandler
-
Default exception handler that doesn't stop the definition flow
in any case.
- DEFAULT_ALLOW_COLUMN_DROP - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
By default don't allow column drops.
- DEFAULT_BLOB_BUFFER_SIZE - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default buffer size for blobs.
- DEFAULT_CHECK_CONNECTION_TIMEOUT - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default timeout when checking if a connection is down.
- DEFAULT_COMPRESS_LOBS - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
Indicates if the LOB columns should be compressed.
- DEFAULT_DISABLE_LOB_CACHING - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
Indicates if LOB data caching should be disabled, to avoid consuming too much memory and/or disk space in the DB
server.
- DEFAULT_FETCH_SIZE - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default fetch size.
- DEFAULT_ISOLATION_LEVEL - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default isolation level.
- DEFAULT_LOGIN_TIMEOUT - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
Default duration (in seconds) to wait for the database connection to be established.
- DEFAULT_MAX_IDENTIFIER_SIZE - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default maximum identifier size.
- DEFAULT_MAXIMUM_TIME_BATCH_SHUTDOWN - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default maximum amount of time to wait when batches are shutting down.
- DEFAULT_QUERY_EXCEPTION_HANDLER - Static variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- DEFAULT_RECONNECT_ON_LOST - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
By default reconnects on connection lost.
- DEFAULT_RETRY_INTERVAL - Static variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Constant representing the default time interval (milliseconds) to wait between batch flush retries.
- DEFAULT_RETRY_INTERVAL - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default retry interval.
- DEFAULT_SCHEMA_POLICY - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default schema policy.
- DEFAULT_SECRET_LOCATION - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default secret location.
- DEFAULT_SELECT_QUERY_TIMEOUT - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default select query timeout (in seconds).
- DEFAULT_SOCKET_TIMEOUT - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default socket connection timeout (in seconds).
- DEFAULT_VARCHAR_SIZE - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The default var char size.
- DefaultBatch - Class in com.feedzai.commons.sql.abstraction.batch
-
The default batch implementation.
- DefaultBatch(DatabaseEngine, String, int, long, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
- DefaultBatch(DatabaseEngine, String, int, long, long, BatchListener) - Constructor for class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
- DefaultBatch(DatabaseEngine, String, int, long, long, BatchListener, int, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
- defaultPort() - Method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
Gets the default port for this vendor.
- defaultValue(K) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
-
Sets the default value.
- Delete - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents the DELETE operator.
- Delete(Expression) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Delete
-
Creates a new instance of
Delete.
- delete(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The DELETE keyword.
- delimiter(char) - Method in class com.feedzai.commons.sql.abstraction.dml.StringAgg
-
Sets the delimiter.
- desc() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Sets ordering to descendant.
- destroy() - Method in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Destroys this batch.
- dev - Static variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The dev Marker.
- dev - Static variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The dev Marker.
- Dialect - Enum in com.feedzai.commons.sql.abstraction.dml.dialect
-
Represents the supported dialects distributed by the library.
- dialect - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The dialect.
- DISABLE_LOB_CACHING - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Property that indicates if LOB data caching should be disabled, to avoid consuming too much memory and/or disk
space in the DB server.
- distinct() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Sets the SELECT expression as DISTINCT.
- distinct() - Method in class com.feedzai.commons.sql.abstraction.dml.StringAgg
-
Apply distinct.
- div(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The DIV operator.
- div(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The DIV operator.
- DIV - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The / delimited.
- doPersist(PreparedStatement, MappedEntity, boolean, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- doPersist(PreparedStatement, MappedEntity, boolean, int) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- doPersist(PreparedStatement, MappedEntity, boolean, int) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- doPersist(PreparedStatement, MappedEntity, boolean, int) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- doPersist(PreparedStatement, MappedEntity, boolean, int) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- doPersist(PreparedStatement, MappedEntity, boolean, int) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- doPersist(PreparedStatement, MappedEntity, boolean, int) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- DRIVER - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The database driver.
- driver() - Method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
Gets the driver.
- dropColumn(DbEntity, String...) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Drops the column.
- dropColumn(DbEntity, String...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- dropColumn(DbEntity, String...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- dropColumn(DbEntity, String...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- dropColumn(DbEntity, String...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- dropColumn(DbEntity, String...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- dropColumn(DbEntity, String...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- dropEntity(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Drops an entity.
- dropEntity(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Drops everything that belongs to the entity.
- dropEntity(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Drops an entity.
- dropEntity(DbEntity) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Drops everything that belongs to the entity.
- dropFkQuery(String, String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Gets the query to drop a foreign key.
- dropFkQuery(String, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- dropFks(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Drops all foreign keys from the table.
- dropFks(String, Set<String>) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Drops foreign keys from a table.
- dropPK(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Drop primary key table operator.
- DropPrimaryKey - Class in com.feedzai.commons.sql.abstraction.ddl
-
Translates to a statement that allows to drop the primary key of a table.
- DropPrimaryKey(Expression) - Constructor for class com.feedzai.commons.sql.abstraction.ddl.DropPrimaryKey
-
- dropReferringFks(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- dropReferringFks(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- dropSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Drops the sequences of the entity.
- dropSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
-
- dropSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- dropSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- dropSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- dropSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- dropSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- dropSequences(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- dropTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Drops the table.
- dropTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- dropTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- dropTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- dropTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- dropTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- dropTable(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- dropView(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- dropView(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Drops a view.
- duplicate(Properties, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Duplicates a connection.
- duplicate(Properties, boolean) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Duplicates a connection.
- DUPLICATE_KEY_NAME - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
Duplicate key name
- DuplicateEngineException - Exception in com.feedzai.commons.sql.abstraction.engine
-
To be thrown if it is not possible to duplicate a connection.
- DuplicateEngineException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DuplicateEngineException
-
Constructs a new exception with null as its detail message.
- DuplicateEngineException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DuplicateEngineException
-
Constructs a new exception with the specified detail message.
- DuplicateEngineException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DuplicateEngineException
-
Constructs a new exception with the specified detail message and
cause.
- DuplicateEngineException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DuplicateEngineException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- DuplicateEngineException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DuplicateEngineException
-
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
- get(String) - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry.Builder
-
Gets the value given the pair.
- get(String) - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry
-
Gets the field.
- getAlias() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Gets the alias.
- getAliases() - Method in class com.feedzai.commons.sql.abstraction.dml.Values
-
Gets the columns' aliases.
- getAlternative() - Method in class com.feedzai.commons.sql.abstraction.dml.Coalesce
-
Gets the alternative expressions.
- getAnd() - Method in class com.feedzai.commons.sql.abstraction.dml.Between
-
Gets the AND expression.
- getAs() - Method in class com.feedzai.commons.sql.abstraction.dml.View
-
Gets the AS expression.
- getAutoIncColumn() - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Gets the auto increment column.
- getBlobBufferSize() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the blob buffer size.
- getCheckConnectionTimeout() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the check connection timeout (in seconds).
- getClauses() - Method in class com.feedzai.commons.sql.abstraction.dml.With
-
Gets the clauses.
- getColumn() - Method in class com.feedzai.commons.sql.abstraction.ddl.AlterColumn
-
Gets the column to change.
- getColumn() - Method in class com.feedzai.commons.sql.abstraction.dml.Between
-
Gets the column in the expression.
- getColumn() - Method in class com.feedzai.commons.sql.abstraction.dml.StringAgg
-
Returns the column to be aggregated.
- getColumnConstraints() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn
-
Gets the immutable list of constraints in the column.
- getColumnNames() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
Retrieves the column names of the iterator.
- getColumns() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity
-
Gets the list of columns of the entity.
- getColumns() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbIndex
-
Gets the list of columns that are part of the index,
- getColumns() - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
Gets the columns.
- getConnection() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Checks if the connection is available and returns it.
- getConnection() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Checks if the connection is available and returns it.
- getConnection(Properties) - Static method in class com.feedzai.commons.sql.abstraction.engine.DatabaseFactory
-
Gets a database connection from the specified properties.
- getConstant() - Method in class com.feedzai.commons.sql.abstraction.dml.K
-
Gets the constant.
- getCurrentRowCount() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
Retrieves the number of rows processed by the iterator so far.
- getDbColumnType() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn
-
Gets the column type.
- getDBProperties() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Get the properties to be passed to the database connection that will be created.
- getDBProperties() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- getDBProperties() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- getDBProperties() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- getDefaultValue() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn
-
Gets the default value, null when not applicable.
- getDelimiter() - Method in class com.feedzai.commons.sql.abstraction.dml.Concat
-
Gets the concatenation delimiter.
- getDelimiter() - Method in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
Gets the delimiter for repetitions.
- getDelimiter() - Method in class com.feedzai.commons.sql.abstraction.dml.StringAgg
-
Returns the delimiter.
- getDialect() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- getDialect() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the dialect being used.
- getDividend() - Method in class com.feedzai.commons.sql.abstraction.dml.Modulo
-
Gets the dividend.
- getDivisor() - Method in class com.feedzai.commons.sql.abstraction.dml.Modulo
-
Gets the divisor.
- getDriver() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the driver property.
- getEngine() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the engine.
- getEntities() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- getEntities(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- getEntities() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the database entities for the current schema.
- getEntities(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the database entities for the specified schema.
- getEntities(String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- getEntity() - Method in class com.feedzai.commons.sql.abstraction.engine.handler.OperationFault
-
Gets the entity name.
- getEntity() - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Gets the entity.
- getEntityEntry() - Method in class com.feedzai.commons.sql.abstraction.batch.BatchEntry
-
Gets the entity data.
- getEnvironment() - Method in class com.feedzai.commons.sql.abstraction.dml.Name
-
Gets the environment.
- getExp() - Method in class com.feedzai.commons.sql.abstraction.dml.Coalesce
-
Gets the expression to test.
- getExp() - Method in class com.feedzai.commons.sql.abstraction.dml.Function
-
Gets the expression in the function.
- getExpression() - Method in class com.feedzai.commons.sql.abstraction.dml.Cast
-
Gets the expression.
- getExpressions() - Method in class com.feedzai.commons.sql.abstraction.dml.Concat
-
Gets the expressions to concatenate.
- getExpressions() - Method in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
Gets the expressions.
- getExpressions() - Method in class com.feedzai.commons.sql.abstraction.dml.Union
-
Gets the expressions to union.
- getExpressions() - Method in class com.feedzai.commons.sql.abstraction.dml.Values.Row
-
Gets the list of expressions.
- getFalseAction() - Method in class com.feedzai.commons.sql.abstraction.dml.Case
-
Gets the false action.
- getFetchSize() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the fetch size.
- getFinalJdbcConnection(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Gets the final JDBC connection.
- getFinalJdbcConnection(String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- getFks() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity
-
Gets the immutable list of foreign keys.
- getForeignColumns() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk
-
- getForeignTable() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk
-
- getFrom() - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
Gets the FROM expression.
- getFromColumns() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Gets the FROM columns.
- getFunction() - Method in class com.feedzai.commons.sql.abstraction.dml.Function
-
Gets the function.
- getGroupbyColumns() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Gets the GROUP BY expressions.
- getHaving() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Gets the HAVING expression.
- getImportedKeys(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Gets a description of the columns that are referenced by the given table's foreign key columns.
- getImportedKeys(String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- getIndexes() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity
-
Gets the immutable list of indexes.
- getInsert() - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Gets the prepared statement for inserts.
- getInsertReturning() - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Gets the prepared statement for inserts that retrieve the generated keys using the
insert statement.
- getInsertWithAutoInc() - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Gets the insert statement with auto increment columns.
- getIsolationLevel() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the isolation level.
- getJdbc() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the JDBC URL.
- getJoin() - Method in class com.feedzai.commons.sql.abstraction.dml.Join
-
Gets the join type represented in a String.
- getJoinExpr() - Method in class com.feedzai.commons.sql.abstraction.dml.Join
-
Gets the join expression.
- getJoins() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Gets the join list.
- getJoinTable() - Method in class com.feedzai.commons.sql.abstraction.dml.Join
-
Gets the join table.
- getLimit() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Gets the limit.
- getLiteral() - Method in class com.feedzai.commons.sql.abstraction.dml.Literal
-
Gets the literal object.
- getLocalColumns() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk
-
Gets the local columns names.
- getLoginTimeout() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the socket login timeout (in seconds).
- getMap() - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry
-
- getMaxBlobSize() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the maximum blob size.
- getMaxIdentifierSize() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the maximum identifier size.
- getMaximumAwaitTimeBatchShutdown() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the maximum await time for batches to shutdown.
- getMaxRetries() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the maximum number of retries.
- getMetadata(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- getMetadata(String, String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- getMetadata(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the table metadata (table must be in the current schema).
- getMetadata(String, String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the table metadata (table must be in the current schema).
- getMetadata(String, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
-
- getMetadata(String, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- getMetadata(String, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- getMetadata(String, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- getName() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn
-
Gets column name.
- getName() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity
-
Gets the name of the entity.
- getName() - Method in class com.feedzai.commons.sql.abstraction.dml.Name
-
Gets the name.
- getName() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
-
- getName() - Method in class com.feedzai.commons.sql.abstraction.dml.View
-
Gets the view name.
- getNewName() - Method in class com.feedzai.commons.sql.abstraction.ddl.Rename
-
Gets the new name.
- getOffset() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Gets the offset.
- getOldName() - Method in class com.feedzai.commons.sql.abstraction.ddl.Rename
-
Gets the old name.
- getOrderbyColumns() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Gets the ORDER BY expressions.
- getOrdering() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Gets the ordering.
- getPassword() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the password.
- getPkFields() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity
-
Gets the immutable list of fields that compose the primary key.
- getPreparedStatementForPersist(boolean, MappedEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Gets the
PreparedStatement to use in a persist operation, depending on whether autoInc is to be used or not.
- getPreparedStatementForPersist(boolean, MappedEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- getPreparedStatementForPersist(boolean, MappedEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- getPreparedStatementForPersist(boolean, MappedEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- getPrivateKey() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Reads the private key from the secret location.
- getProperties() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- getProperties() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the properties in use.
- getPSIterator(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- getPSIterator(String, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- getPSIterator(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
- getPSIterator(String, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
- getPSResultSet(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Gets the result set of the specified prepared statement.
- getPSResultSet(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the result set of the specified prepared statement.
- getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.dml.result.H2ResultIterator
-
- getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.dml.result.MySqlResultIterator
-
- getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.dml.result.OracleResultIterator
-
- getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.dml.result.PostgreSqlResultIterator
-
- getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
- getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- getQueryMetadata(Expression) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Gets the query metadata.
- getQueryMetadata(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Gets the query metadata.
- getQueryMetadata(Expression) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the query metadata.
- getQueryMetadata(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the query metadata.
- getReferencedColumns() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk
-
Gets the referenced columns names.
- getReferencedTable() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk
-
Gets the name of the referenced table (parent table).
- getRetryInterval() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the retry interval.
- getRows() - Method in class com.feedzai.commons.sql.abstraction.dml.Values
-
Gets the rows.
- getSchema() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Gets the schema being used in the current
connection.
- getSchema() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the database schema.
- getSchema() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- getSchema() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- getSchema() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- getSelectColumns() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Gets the SELECT columns.
- getSelectQueryTimeout() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the query select timeout (in seconds).
- getSize() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn
-
Gets the size of the column if applicable (e.g.
- getSocketTimeout() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the socket connection timeout (in seconds).
- getTable() - Method in class com.feedzai.commons.sql.abstraction.ddl.AlterColumn
-
Gets the table expression.
- getTable() - Method in class com.feedzai.commons.sql.abstraction.ddl.DropPrimaryKey
-
Gets the table expression.
- getTable() - Method in class com.feedzai.commons.sql.abstraction.dml.Delete
-
Gets the TABLE expression.
- getTable() - Method in class com.feedzai.commons.sql.abstraction.dml.Truncate
-
Gets the table to truncate.
- getTable() - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
Gets the table.
- getTableName() - Method in class com.feedzai.commons.sql.abstraction.batch.BatchEntry
-
Gets the table name.
- getThen() - Method in class com.feedzai.commons.sql.abstraction.dml.With
-
Gets the then expression.
- getTranslator() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the translator class.
- getTranslatorClass() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Gets the class that translates SQL bound to this engine.
- getTranslatorClass() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
-
- getTranslatorClass() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- getTranslatorClass() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- getTranslatorClass() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- getTranslatorClass() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- getTranslatorClass() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- getTranslatorClass() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- getType() - Method in class com.feedzai.commons.sql.abstraction.dml.Cast
-
Gets the type to be converted.
- getType() - Method in class com.feedzai.commons.sql.abstraction.engine.handler.OperationFault
-
Gets the fault type.
- getUsername() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Gets the username.
- getWhere() - Method in class com.feedzai.commons.sql.abstraction.dml.Delete
-
Gets the WHERE expression.
- getWhere() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Gets the WHERE expression.
- getWhere() - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
Gets the WHERE expression.
- groupby(Expression...) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Adds the GROUP BY columns.
- groupby(Collection<? extends Expression>) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Adds the GROUP BY columns.
- gt(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The GT operator.
- gt(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The GT operator.
- GT - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The > delimited.
- gteq(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The GTEQ operator.
- gteq(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The GTEQ operator.
- GTEQ - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The ≥ delimited.
- in(Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The IN expression.
- IN - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The IN delimited.
- INDEX_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
Name is already used by an existing index.
- INDEX_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
Sequence does not exist.
- indexes - Variable in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
- InitiallyReusableByteArrayOutputStream - Class in com.feedzai.commons.sql.abstraction.util
-
- InitiallyReusableByteArrayOutputStream(byte[]) - Constructor for class com.feedzai.commons.sql.abstraction.util.InitiallyReusableByteArrayOutputStream
-
Builds an instance with an initial buffer.
- inject(Expression...) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- inject(Expression...) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Injects dependencies on the given objects.
- inject(Collection<? extends Expression>) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Injects dependencies on the given objects.
- injector - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The Guice injector.
- injector - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
The Guice injector.
- innerJoin(Expression, Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Sets an inner join with the current table.
- InternalFunction - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents functions that are internal to the database engine in place.
- InternalFunction(String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.InternalFunction
-
- InternalFunction(String, Expression) - Constructor for class com.feedzai.commons.sql.abstraction.dml.InternalFunction
-
- isAliased() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Checks if this expression is to be aliased.
- isAll() - Method in class com.feedzai.commons.sql.abstraction.dml.Union
-
Returns true if this is an UNION ALL expression, false otherwise.
- isAutoInc() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn
-
Signals whether this column is auto incremental or not.
- isClosed() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
Checks if this result iterator is closed.
- isDefaultValueSet() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn
-
Signals if the default value is set or not.
- isDistinct() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Checks if the SELECT expression is distinct.
- isDistinct() - Method in class com.feedzai.commons.sql.abstraction.dml.StringAgg
-
Returns if it should apply DISTINCT.
- isDriverSet() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if the driver property is set.
- isEnclosed() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Checks if this expression is to be enclosed in parenthesis.
- isEncryptedPassword() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if password encryption is set.
- isEncryptedUsername() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if username encryption is set.
- isIsNotNull() - Method in class com.feedzai.commons.sql.abstraction.dml.Name
-
Checks if IS NOT NULL is to be appended to this expression.
- isIsNull() - Method in class com.feedzai.commons.sql.abstraction.dml.Name
-
Checks if IS NULL is to be appended to this expression.
- isLobCachingDisabled() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if LOB data caching should be disabled.
- isMaxBlobSizeSet() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
- isNot() - Method in class com.feedzai.commons.sql.abstraction.dml.Between
-
Checks if the expression is to be negated.
- isNotNull() - Method in class com.feedzai.commons.sql.abstraction.dml.Name
-
Appends "IS NOT NULL" to this expression.
- isNull() - Method in class com.feedzai.commons.sql.abstraction.dml.Name
-
Appends "IS NULL" to this expression.
- isNull() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
-
Checks if the value is null.
- ISOLATION_LEVEL - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The default isolation level.
- IsolationLevel - Enum in com.feedzai.commons.sql.abstraction.engine.configuration
-
Enumerates the possible isolation levels to use when connecting to the database.
- isQuote() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Checks if this expression is to be quoted.
- isQuotes() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Checks if this expression is to be translated with quotes.
- isReconnectOnLost() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if reconnect on connection lost is set.
- isReplace() - Method in class com.feedzai.commons.sql.abstraction.dml.View
-
Checks if this view is to be replaced.
- isRetryable() - Method in exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineRuntimeException
-
- isRetryable() - Method in exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableRuntimeException
-
- isRetryableException(SQLException) - Method in class com.feedzai.commons.sql.abstraction.engine.handler.QueryExceptionHandler
-
Checks if an Exception occurred due to serialization failures in concurrent transactions and may be retried on
the client-side.
- isRetryableException(SQLException) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.h2.H2QueryExceptionHandler
-
- isRetryableException(SQLException) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.oracle.OracleQueryExceptionHandler
-
- isRetryableException(SQLException) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.postgresql.PostgresSqlQueryExceptionHandler
-
- isSchemaPolicyCreate() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if the schema policy is CREATE.
- isSchemaPolicyCreateDrop() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if schema policy is CREATE DROP.
- isSchemaPolicyDropCreate() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if schema policy is DROP CREATE.
- isSchemaPolicyNone() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if schema policy is NONE.
- isSchemaSet() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if the the schema is set.
- isSequenceDirty() - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Checks if a sequence is dirty.
- isSizeSet() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn
-
Signals if the size is set or not.
- isStringAggDistinctCapable() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Checks if the engine supports using DISTINCT inside a string aggregation.
- isStringAggDistinctCapable() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- isStringAggDistinctCapable() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- isStringAggDistinctCapable() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- isStringAggDistinctCapable() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- isStringAggDistinctCapable() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- isStringAggDistinctCapable() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- isTimeoutException(SQLException) - Method in class com.feedzai.commons.sql.abstraction.engine.handler.QueryExceptionHandler
-
Indicates if a given exception is a timeout.
- isTimeoutException(SQLException) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.mysql.MySqlQueryExceptionHandler
-
- isTimeoutException(SQLException) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.postgresql.PostgresSqlQueryExceptionHandler
-
- isTransactionActive() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- isTransactionActive() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Checks if a transaction is active.
- isTranslatorSet() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if a provided translator class is set.
- isUDF() - Method in class com.feedzai.commons.sql.abstraction.dml.Function
-
Checks if this function is a UDF.
- isUDF() - Method in class com.feedzai.commons.sql.abstraction.dml.InternalFunction
-
- isUnique() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbIndex
-
Checks if the index is unique.
- isWithNoLock() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Checks if this expression (TABLES) is with no lock.
- iterator(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- iterator(Expression) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- iterator(String, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- iterator(Expression, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- iterator(Expression, int, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- iterator(String, int, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- iterator(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates an iterator for the given SQL sentence.
- iterator(Expression) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates an iterator for the given SQL expression.
- iterator(String, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates an iterator for the given SQL sentence.
- iterator(String, int, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
- iterator(Expression, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates an iterator for the given SQL expression.
- iterator(Expression, int, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
- name - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The name of the batch.
- name(String) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
-
Sets the column name.
- name - Variable in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
- name(String) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Sets the entity name.
- Name - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents a named expression.
- Name(String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Name
-
Creates a new instance of
Name.
- Name(String, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Name
-
Creates a new instance of
Name.
- name - Variable in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
-
The name of the column.
- NAME_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
Name is already used by an existing object.
- NAME_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
Name is already used by an existing object.
- NAME_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
Name is already used by an existing object.
- NAME_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
Name is already used by an existing object.
- NameAlreadyExistsException - Exception in com.feedzai.commons.sql.abstraction.engine
-
- NameAlreadyExistsException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.NameAlreadyExistsException
-
Constructs a new exception with null as its detail message.
- NameAlreadyExistsException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.NameAlreadyExistsException
-
Constructs a new exception with the specified detail message.
- NameAlreadyExistsException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.NameAlreadyExistsException
-
Constructs a new exception with the specified detail message and
cause.
- NameAlreadyExistsException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.NameAlreadyExistsException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- NameAlreadyExistsException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.NameAlreadyExistsException
-
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
- neq(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The not equal expression.
- neq(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The not equal expression.
- NEQ - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The NEQ delimiter.
- newBuilder() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn
-
Returns a new builder out of this configuration.
- newBuilder() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity
-
Returns a new builder out of the configuration.
- newBuilder() - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry
-
- next() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
Retrieves the next row in the result set.
- nextResult() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
Retrieves the values of the next row in the result set as an array of objects.
- NO_RETRY - Static variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Constant representing that no retries should be attempted on batch flush failures.
- NO_TIMEOUT - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The value that represents absence of a timeout.
- not() - Method in class com.feedzai.commons.sql.abstraction.dml.Between
-
Negates the expression.
- notBetween(Expression, Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The NOT BETWEEN operator.
- notificationLogger - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The notification logger for administration.
- notIn(Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The NOT IN expression.
- NOTIN - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The NOT IN delimited.
- objectToArray(Object) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Converts an object to byte array.
- offset(Integer) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Sets the offset.
- onFailure(BatchEntry[]) - Method in interface com.feedzai.commons.sql.abstraction.FailureListener
-
Deprecated.
Callback indicating that one or more rows have failed to be persisted.
- onFailure(BatchEntry[]) - Method in interface com.feedzai.commons.sql.abstraction.listeners.BatchListener
-
Callback indicating that one or more rows have failed to be persisted.
- onFlushFailure(BatchEntry[]) - Method in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Notifies about the pending entries on flush failure.
- onFlushSuccess(BatchEntry[]) - Method in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Notifies about succeeded entries on flush success.
- onSuccess(BatchEntry[]) - Method in interface com.feedzai.commons.sql.abstraction.listeners.BatchListener
-
Callback indicating that one or more rows have succeeded to be persisted.
- OperationFault - Class in com.feedzai.commons.sql.abstraction.engine.handler
-
Enumeration for failed operations in the engine.
- OperationFault(String, OperationFault.Type) - Constructor for class com.feedzai.commons.sql.abstraction.engine.handler.OperationFault
-
- OperationFault.Type - Enum in com.feedzai.commons.sql.abstraction.engine.handler
-
The type of fault detected in the operation.
- OperationNotSupportedRuntimeException - Exception in com.feedzai.commons.sql.abstraction.engine
-
- OperationNotSupportedRuntimeException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.OperationNotSupportedRuntimeException
-
Constructs a new runtime exception with null as its detail message.
- OperationNotSupportedRuntimeException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.OperationNotSupportedRuntimeException
-
Constructs a new runtime exception with the specified detail message.
- OperationNotSupportedRuntimeException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.OperationNotSupportedRuntimeException
-
Constructs a new runtime exception with the specified detail message and cause.
- OperationNotSupportedRuntimeException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.OperationNotSupportedRuntimeException
-
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null :
cause.toString()) (which typically contains the class and detail message of
cause).
- OperationNotSupportedRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.OperationNotSupportedRuntimeException
-
Constructs a new runtime exception with the specified detail message, cause, suppression enabled or disabled, and
writable stack trace enabled or disabled.
- OPTIONAL_FEATURE_NOT_SUPPORTED - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
An optional feature is not implemented by the driver or not supported by the DB.
- or(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The OR operator.
- or(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The OR operator.
- OR - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The OR delimited.
- ORACLE_DRIVER - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
The Oracle JDBC driver.
- ORACLE_QUERY_EXCEPTION_HANDLER - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
An instance of
QueryExceptionHandler specific for Oracle engine, to be used in disambiguating SQL exceptions.
- OracleEngine - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
Oracle specific database implementation.
- OracleEngine(PdbProperties) - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
Creates a new Oracle connection.
- OracleEngine.Action0 - Interface in com.feedzai.commons.sql.abstraction.engine.impl
-
Represents an action that can throw any exception.
- OracleQueryExceptionHandler - Class in com.feedzai.commons.sql.abstraction.engine.impl.oracle
-
- OracleQueryExceptionHandler() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.oracle.OracleQueryExceptionHandler
-
- OracleResultColumn - Class in com.feedzai.commons.sql.abstraction.dml.result
-
The Oracle column result implementation.
- OracleResultColumn(String, Object) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.OracleResultColumn
-
- OracleResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
- OracleResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.OracleResultIterator
-
- OracleResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.OracleResultIterator
-
- OracleTranslator - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
Provides SQL translation for Oracle.
- OracleTranslator() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
-
- orderby(Expression...) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Adds the ORDER BY columns.
- orderby(Collection<? extends Expression>) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Adds the ORDER BY columns.
- ordering - Variable in class com.feedzai.commons.sql.abstraction.dml.Expression
-
The string that specified the ordering if applicable.
- otherwise(Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Case
-
Sets the false action.
- PASSWORD - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The PASSWORD property name.
- PdbConfigurationException - Exception in com.feedzai.commons.sql.abstraction.engine.configuration
-
Indicates when a configuration has errors.
- PdbConfigurationException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.configuration.PdbConfigurationException
-
Constructs a new exception with null as its detail message.
- PdbConfigurationException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.configuration.PdbConfigurationException
-
Constructs a new exception with the specified detail message.
- PdbConfigurationException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.configuration.PdbConfigurationException
-
Constructs a new exception with the specified detail message and
cause.
- PdbConfigurationException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.configuration.PdbConfigurationException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- PdbConfigurationException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.configuration.PdbConfigurationException
-
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
- PdbProperties - Class in com.feedzai.commons.sql.abstraction.engine.configuration
-
Represents the possible properties to include when configuring the
engine.
- PdbProperties() - Constructor for class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
- PdbProperties(boolean) - Constructor for class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Creates a new instance of
PdbProperties with the default configuration.
- PdbProperties(Properties, boolean) - Constructor for class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Merges the given properties with the default configuration.
- persist(String, EntityEntry) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Persists a given entry.
- persist(String, EntityEntry, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Persists a given entry.
- persist(String, EntityEntry) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Persists a given entry.
- persist(String, EntityEntry, boolean) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Persists a given entry.
- PG_QUERY_EXCEPTION_HANDLER - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
An instance of
QueryExceptionHandler specific for PostgreSQL engine, to be used in disambiguating
SQL exceptions.
- pkFields - Variable in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
- pkFields(String...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Sets the PK fields.
- pkFields(Collection<String>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Sets the PK fields.
- plus(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The PLUS operator.
- plus(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The PLUS operator.
- PLUS - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The + delimited.
- POSTGRESQL_DRIVER - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
The PostgreSQL JDBC driver.
- PostgreSqlEngine - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
PostgreSQL specific database implementation.
- PostgreSqlEngine(PdbProperties) - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
Creates a new PostgreSql connection.
- PostgreSqlEngine(PdbProperties, String) - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
Creates a new PostgreSql connection.
- PostgreSqlResultColumn - Class in com.feedzai.commons.sql.abstraction.dml.result
-
The PostgreSql column result implementation.
- PostgreSqlResultColumn(String, Object) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.PostgreSqlResultColumn
-
- PostgreSqlResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
- PostgreSqlResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.PostgreSqlResultIterator
-
- PostgreSqlResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.PostgreSqlResultIterator
-
- PostgreSqlTranslator - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
Provides SQL translation for PostgreSQL.
- PostgreSqlTranslator() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
-
- PostgresSqlQueryExceptionHandler - Class in com.feedzai.commons.sql.abstraction.engine.impl.postgresql
-
- PostgresSqlQueryExceptionHandler() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.postgresql.PostgresSqlQueryExceptionHandler
-
- PreparedStatementCapsule - Class in com.feedzai.commons.sql.abstraction.util
-
Encapsulates a prepared statement, name as its properties.
- PreparedStatementCapsule(String, PreparedStatement, int) - Constructor for class com.feedzai.commons.sql.abstraction.util.PreparedStatementCapsule
-
- preparedStatementExists(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Checks if there's a prepared statement with the given name.
- preparedStatementExists(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Checks if there's a prepared statement with the given name.
- proceed(OperationFault, Exception) - Method in interface com.feedzai.commons.sql.abstraction.engine.handler.ExceptionHandler
-
Decides if the flow must continue after a faulty operation take place.
- processObject(Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.DB2ResultColumn
-
- processObject(Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.PostgreSqlResultColumn
-
Overrides default behaviour for JSON values, that are converted to strings.
- processObject(Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
-
Processes an object.
- processResultIterator(ResultIterator) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- properties - Variable in class com.feedzai.commons.sql.abstraction.dml.Expression
-
The PDB properties.
- properties - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The configuration.
- properties - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
The properties in place.
- ps - Variable in class com.feedzai.commons.sql.abstraction.util.PreparedStatementCapsule
-
The prepared statement.
- readFile(String) - Static method in class com.feedzai.commons.sql.abstraction.util.AESHelper
-
Reads a file.
- readString(InputStream) - Static method in class com.feedzai.commons.sql.abstraction.util.StringUtils
-
Reads a string from the input stream.
- RECONNECT_ON_LOST - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The property of reconnection.
- reconnectExceptionally(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- RecoveryException - Exception in com.feedzai.commons.sql.abstraction.engine
-
- RecoveryException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RecoveryException
-
Constructs a new exception with null as its detail message.
- RecoveryException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RecoveryException
-
Constructs a new exception with the specified detail message.
- RecoveryException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RecoveryException
-
Constructs a new exception with the specified detail message and
cause.
- RecoveryException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RecoveryException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- RecoveryException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RecoveryException
-
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
- referencedTable(String) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
Sets the name of the referenced table (parent table).
- removeColumn(String) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Removes the column with the given name.
- removeEntity(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- removeEntity(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Removes the entity given the name.
- removePreparedStatement(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- removePreparedStatement(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Removes the given prepared statement.
- Rename - Class in com.feedzai.commons.sql.abstraction.ddl
-
Expression to rename tables.
- Rename(Expression, Expression) - Constructor for class com.feedzai.commons.sql.abstraction.ddl.Rename
-
Creates a new instance of
Rename.
- rename(Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Rename table operator.
- RepeatDelimiter - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents expressions that ca be repeated.
- RepeatDelimiter(String, Expression...) - Constructor for class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
- RepeatDelimiter(String, Collection<? extends Expression>) - Constructor for class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
- replace() - Method in class com.feedzai.commons.sql.abstraction.dml.View
-
Sets this view to be replaced.
- ResultColumn - Class in com.feedzai.commons.sql.abstraction.dml.result
-
Abstract result column to be extended by specific implementations.
- ResultColumn(String, Object) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
-
- ResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
The abstract result iterator.
- ResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
- ResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
- RETRY_INTERVAL - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The retry interval.
- RETRYABLE_EXCEPTIONS - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
A set of PDB Exceptions that can be considered retryable (when these are thrown, it is possible that a client
application will be successfull if it performs again the same actions that resulted in the exception).
- RetryLimitExceededException - Exception in com.feedzai.commons.sql.abstraction.engine
-
- RetryLimitExceededException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RetryLimitExceededException
-
Constructs a new exception with null as its detail message.
- RetryLimitExceededException(String) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RetryLimitExceededException
-
Constructs a new exception with the specified detail message.
- RetryLimitExceededException(String, Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RetryLimitExceededException
-
Constructs a new exception with the specified detail message and
cause.
- RetryLimitExceededException(Throwable) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RetryLimitExceededException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- RetryLimitExceededException(String, Throwable, boolean, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RetryLimitExceededException
-
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
- rightOuterJoin(Expression, Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Sets a right outer join with the current table.
- rollback() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Rolls back a transaction.
- rollback() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Rolls back a transaction.
- row(Expression...) - Method in class com.feedzai.commons.sql.abstraction.dml.Values
-
Add a row to values.
- rowsToUnion(List<Expression>) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Transform values' rows into a union.
- rowsToUnion(List<Expression>) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
-
- run() - Method in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
- salt - Static variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Salt to avoid erroneous flushes.
- scheduler - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The Timer that runs this task.
- SCHEMA - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Database schema property name.
- SCHEMA_POLICY - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Schema policy property name.
- SECRET_LOCATION - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The location of the private key for passwords.
- select(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Starts a new query.
- select(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Starts a new query.
- select(Expression...) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Adds the SELECT columns.
- select(Collection<? extends Expression>) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Adds the SELECT columns.
- SELECT_QUERY_TIMEOUT - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Property that indicates the maximum time a select query is allowed to run, in seconds.
- SEQUENCE_DOES_NOT_EXIST - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
Sequence does not exist.
- set(Expression...) - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
The set keyword.
- set(Collection<? extends Expression>) - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
The set keyword.
- set(String, Object) - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry.Builder
-
Adds the specified key/value pair.
- set(Map<String, Object>) - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry.Builder
-
Adds all the entries in given map to the entity entry.
- setAutoIncColumn(String) - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Sets the auto increment column.
- setEntity(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Sets the entity.
- setEntityEntry(EntityEntry) - Method in class com.feedzai.commons.sql.abstraction.batch.BatchEntry
-
Sets new the entity data.
- setExceptionHandler(ExceptionHandler) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- setExceptionHandler(ExceptionHandler) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Sets the given exception handler in the engine.
- setInsert(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Sets the insert statement.
- setInsertReturning(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Sets the insert statement that allows returning the generated keys.
- setInsertWithAutoInc(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Sets the insert statement auto inc columns.
- setParameter(String, int, Object) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- setParameter(String, int, Object, DbColumnType) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- setParameter(String, int, Object) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Sets the parameter on the specified index.
- setParameter(String, int, Object, DbColumnType) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Sets the parameter on the specified index given its type.
- setParameter(String, int, Object) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- setParameter(String, int, Object) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- setParameter(String, int, Object, DbColumnType) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- setParameters(String, Object...) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- setParameters(String, Object...) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Sets the parameters on the specified prepared statement.
- setParameters(String, Object...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- setParameters(String, Object...) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- setParameterValues(PreparedStatement, int, Object) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Sets the value of a parameter in index to the value provided in param.
- setParameterValues(PreparedStatement, int, Object) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- setProperty(String, Object) - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Adds a property object by converting it to string.
- setSchema(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
- setSchema(String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
-
- setSchema(String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
- setSchema(String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
- setSchema(String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
- setSchema(String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
- setSequenceDirty(boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Sets a sequence as dirty or not.
- setTableName(String) - Method in class com.feedzai.commons.sql.abstraction.batch.BatchEntry
-
Sets new the table name.
- setTransactionIsolation() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Sets the transaction isolation level.
- setTransactionIsolation() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
- shouldCompressLobs() - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Checks if LOBS columns should be compressed.
- singleQuotize(String) - Static method in class com.feedzai.commons.sql.abstraction.util.StringUtils
-
Puts single quotes around a string.
- size(Integer) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
-
Sets the size of the type if applicable (e.g.
- SOCKET_TIMEOUT - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Property that indicates the time, in seconds, of socket timeout.
- socketTimeoutExecutor - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
An
ExecutorService to be used by the DB drivers to break a connection if it has been blocked for longer
than the specified socket timeout
- SQL_STATE_TRANSACTION_FAILURE - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The SQL standard State code for "transaction failure".
- SqlBuilder - Class in com.feedzai.commons.sql.abstraction.dml.dialect
-
The SQL Builder that allows representing SQL queries
in a similar way they're written.
- SqlBuilder() - Constructor for class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
- SQLSERVER_DRIVER - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
The SQLServer JDBC driver.
- SqlServerEngine - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
SQLServer specific database implementation.
- SqlServerEngine(PdbProperties) - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
Creates a new SQL Server connection.
- SqlServerResultColumn - Class in com.feedzai.commons.sql.abstraction.dml.result
-
The Sql Server column result implementation.
- SqlServerResultColumn(String, Object) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.SqlServerResultColumn
-
- SqlServerResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
- SqlServerResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.SqlServerResultIterator
-
- SqlServerResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.SqlServerResultIterator
-
- SqlServerTranslator - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
Provides SQL translation for SQLServer.
- SqlServerTranslator() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
-
- start() - Method in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Starts the timer task.
- stddev(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The STDDEV operator.
- STDDEV - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The STDDEV function.
- stmts - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Map of prepared statements.
- stringAgg(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The StringAgg function.
- StringAgg - Class in com.feedzai.commons.sql.abstraction.dml
-
- stringAgg(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.StringAgg
-
Returns a new StringAgg.
- StringUtils - Class in com.feedzai.commons.sql.abstraction.util
-
String Utilities.
- StringUtils() - Constructor for class com.feedzai.commons.sql.abstraction.util.StringUtils
-
- sum(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The SUM operator.
- SUM - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The SUM function.
- val - Variable in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
-
The value of the column.
- valueOf(String) - Static method in enum com.feedzai.commons.sql.abstraction.ddl.DbColumnConstraint
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.feedzai.commons.sql.abstraction.ddl.DbEntityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.feedzai.commons.sql.abstraction.dml.dialect.Dialect
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.feedzai.commons.sql.abstraction.engine.configuration.IsolationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.feedzai.commons.sql.abstraction.engine.handler.OperationFault.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.feedzai.commons.sql.abstraction.ddl.DbColumnConstraint
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.feedzai.commons.sql.abstraction.ddl.DbEntityType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.feedzai.commons.sql.abstraction.dml.dialect.Dialect
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values(String...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a values expression.
- values(Collection<String>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a values expression.
- Values - Class in com.feedzai.commons.sql.abstraction.dml
-
The Values clause.
- Values(String...) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Values
-
Creates a new Values.
- Values(Collection<String>) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Values
-
Creates a new Values.
- values() - Static method in enum com.feedzai.commons.sql.abstraction.engine.configuration.IsolationLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.feedzai.commons.sql.abstraction.engine.handler.OperationFault.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Values.Row - Class in com.feedzai.commons.sql.abstraction.dml
-
A Row belonging to a Values clause.
- VARCHAR_SIZE - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
VARCHAR size property name.
- View - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents a SQL view.
- View(String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.View
-
Creates a new instance of
View.