A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBatch - Class in com.feedzai.commons.sql.abstraction.batch
-
A Batch that periodically flushes pending insertions to the database.
- AbstractBatch(DatabaseEngine, int, long, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Creates a new instance of
AbstractBatch. - AbstractBatch(DatabaseEngine, String, int, long, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Creates a new instance of
AbstractBatch. - AbstractBatch(DatabaseEngine, String, int, long, long, FailureListener) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Deprecated.
- AbstractBatch(DatabaseEngine, String, int, long, long, FailureListener, int, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Deprecated.
- AbstractBatch(DatabaseEngine, String, int, long, long, BatchListener) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Creates a new instance of
AbstractBatchwith aBatchListener. - AbstractBatch(DatabaseEngine, String, int, long, long, BatchListener, int, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Creates a new instance of
AbstractBatchwith aBatchListener. - 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
-
Creates a new instance of
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(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
- 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(String, DbColumnType, boolean, DbColumnConstraint...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds a column 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, 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, DbColumnType, Integer, DbColumnConstraint...) - 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.
- 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.Builder...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds the FKs.
- addFk(DbFk...) - 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(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
- addFks(Collection<DbFk>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds the FKs.
- addForeignColumn(String...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
Deprecated.a "foreign key" is actually composed from the local columns of the table where it is defined (the child table); this name is wrong and will eventually be removed ─ use
DbFk.Builder.addReferencedColumn(String...)instead. - addForeignColumns(Collection<String>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
Deprecated.a "foreign key" is actually composed from the local columns of the table where it is defined (the child table); this name is wrong and will eventually be removed ─ use
DbFk.Builder.addReferencedColumns(Collection)instead. - addIndex(boolean, String...) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds an index.
- addIndex(DbIndex) - 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(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
- addIndexes(Collection<DbIndex>) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
-
Adds an index.
- 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() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Selects all columns in a row.
- all() - Method in class com.feedzai.commons.sql.abstraction.dml.Union
-
Sets this UNION to UNION ALL.
- all(String) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Selects all columns in a table.
- 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. - 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(Expression, DbColumn) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Alter column operator.
- alterColumn(Expression, Name, DbColumnType, DbColumnConstraint...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Alter column operator.
- AlterColumn - Class in com.feedzai.commons.sql.abstraction.ddl
-
Expression to translate
ALTER TABLE... ALTER COLUMN...statements. - AlterColumn(Expression, DbColumn) - Constructor for class com.feedzai.commons.sql.abstraction.ddl.AlterColumn
-
Creates a new instance of
AlterColumn. - 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.
B
- batch - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The batch at the present moment.
- BatchEntry - Class in com.feedzai.commons.sql.abstraction.batch
-
Represents a batch entry that contains the data of the entry and the table name.
- BatchEntry(String, EntityEntry) - Constructor for class com.feedzai.commons.sql.abstraction.batch.BatchEntry
-
Creates a new instance of
BatchEntry. - batchListener - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The listener for customized behavior when this batch succeeds or fails to persist data.
- BatchListener - Interface in com.feedzai.commons.sql.abstraction.listeners
-
Listener interface to add behavior after executing batch operations on databases (e.g.
- batchSize - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The batchSize.
- batchTimeout - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The batch timeout.
- beginTransaction() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Starts a transaction.
- beginTransaction() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Starts a transaction.
- between(Expression, Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The BETWEEN operator.
- Between - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents the BETWEEN operator.
- Between(Expression, Expression) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Between
-
Creates a new instance of
Between. - BLOB - com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
The blob type.
- BLOB_BUFFER_SIZE - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The blob buffer size property
- BOOLEAN - com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
The boolean type.
- buffer - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
EntityEntry buffer.
- build() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
- build() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
- build() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
- build() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbIndex.Builder
- build() - Method in class com.feedzai.commons.sql.abstraction.engine.DatabaseFactory.PdbModule.Builder
- build() - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry.Builder
- build() - Method in interface com.feedzai.commons.sql.abstraction.util.Builder
-
Builds the final immutable instance.
- Builder<T> - Interface in com.feedzai.commons.sql.abstraction.util
-
Interface to implement builder patterns.
- Builder() - Constructor for class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
- Builder() - Constructor for class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
- Builder() - Constructor for class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
- Builder() - Constructor for class com.feedzai.commons.sql.abstraction.ddl.DbIndex.Builder
- Builder() - Constructor for class com.feedzai.commons.sql.abstraction.engine.DatabaseFactory.PdbModule.Builder
- Builder() - Constructor for class com.feedzai.commons.sql.abstraction.entry.EntityEntry.Builder
C
- 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() - 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.Case
-
Returns a new "case when" that does the trueAction considering the condition.
- caseWhen(Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a case expression.
- cast(Expression, DbColumnType) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a cast 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.
- 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() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Checks if the connection is alive.
- checkConnection() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
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(boolean) - 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.AbstractDatabaseEngine
-
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.
- CLOB - com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
The clob type
- 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(Expression, Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The coalesce operator.
- 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
-
Creates a new instance of
Coalesce. - COCKROACHDB - com.feedzai.commons.sql.abstraction.dml.dialect.Dialect
-
CockroachDB dialect.
- COCKROACHDB - com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
The CockroachDB vendor.
- 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 - Variable in class com.feedzai.commons.sql.abstraction.dml.StringAgg
-
The column to aggregate.
- 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_DOES_NOT_EXIST - com.feedzai.commons.sql.abstraction.engine.handler.OperationFault.Type
-
Column does not exist.
- 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(Expression, Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The CONCAT keyword.
- concat(Expression, Collection<Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The CONCAT keyword.
- 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
-
Creates a new
Concatobject. - 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
nullas 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(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.
- 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).
- 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
-
Deprecated.The
FailureListeneris deprecated and this method will be removed once it is removed. - 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
-
Creates a new instance of
DefaultBatch. - create(DatabaseEngine, String, int, long, long, FailureListener) - Static method in class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
Deprecated.
- create(DatabaseEngine, String, int, long, long, FailureListener, int, long) - Static method in class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
Deprecated.
- create(DatabaseEngine, String, int, long, long, BatchListener) - Static method in class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
Creates a new instance of
DefaultBatchwith aBatchListener. - create(DatabaseEngine, String, int, long, long, BatchListener, int, long) - Static method in class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
Creates a new instance of
DefaultBatchwith aBatchListener. - 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) - 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 class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- 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 class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- createBatch(int, long, String, FailureListener) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Deprecated.
- createBatch(int, long, String, BatchListener) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- 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, Expression) - 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
- createPreparedStatement(String, Expression, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- createPreparedStatement(String, Expression, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates a prepared statement.
- createPreparedStatement(String, String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- createPreparedStatement(String, String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates a prepared statement.
- createPreparedStatement(String, String, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- createPreparedStatement(String, String, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates a prepared statement.
- 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
-
Creates a
ResultColumnfor the given engine in place. - createResultColumn(String, Object) - Method in class com.feedzai.commons.sql.abstraction.dml.result.SqlServerResultIterator
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Creates a specific
ResultIteratorfor the engine in place given a prepared statement. - createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
- createResultIterator(PreparedStatement) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
- createResultIterator(Statement, String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Creates a specific
ResultIteratorgiven the engine implementation. - createResultIterator(Statement, String) - 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(Statement, String) - 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(Statement, String) - 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
- createSelectStatement(int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Creates a
Statementthat 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.
D
- 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
-
Represents
AbstractDatabaseEngineexceptions. - DatabaseEngineException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineException
-
Constructs a new exception with
nullas 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(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.
- 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).
- 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
nullas 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(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.
- 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).
- 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
nullas 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(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.
- 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).
- 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
nullas 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(String, Throwable, boolean) - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseEngineRuntimeException
-
Deprecated.use
DatabaseEngineRetryableRuntimeExceptioninstead. - 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(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).
- DatabaseEngineTimeoutException - Exception in com.feedzai.commons.sql.abstraction.engine
-
A
DatabaseEngineExceptionthat represents a timeout error. - 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
-
Builder to create immutable instances of
DatabaseFactory.PdbModule. - DatabaseFactoryException - Exception in com.feedzai.commons.sql.abstraction.engine
-
Exceptions related with
DatabaseFactory. - DatabaseFactoryException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.DatabaseFactoryException
-
Constructs a new exception with
nullas 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(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.
- 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).
- DB2 - com.feedzai.commons.sql.abstraction.dml.dialect.Dialect
-
DB2 SQL dialect.
- DB2 - com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
The DB2 vendor.
- 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
-
Creates a new instance of
DB2ResultColumn. - DB2ResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
Result iterator for the
DB2Engineengine. - DB2ResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.DB2ResultIterator
-
Creates a new instance of
DB2ResultIterator. - DB2ResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.DB2ResultIterator
-
Creates a new instance of
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() - 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, boolean) - 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 - Class in com.feedzai.commons.sql.abstraction.ddl
-
Represents a database column definition.
- DbColumn.Builder - Class in com.feedzai.commons.sql.abstraction.ddl
-
Builder for creating immutable
DbColumnobjects. - 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() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Entity builder.
- 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
-
Creates a new instance of
DbEntity. - DbEntity.Builder - Class in com.feedzai.commons.sql.abstraction.ddl
-
Builder to create immutable
DbEntityobjects. - DbEntityType - Enum in com.feedzai.commons.sql.abstraction.ddl
-
The database entity types.
- dbFk() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Foreign Key builder.
- DbFk - Class in com.feedzai.commons.sql.abstraction.ddl
-
Represents a database foreign key hard link between two tables.
- DbFk.Builder - Class in com.feedzai.commons.sql.abstraction.ddl
-
Builder to create immutable
DbFkobjects. - dbIndex() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Index builder.
- DbIndex - Class in com.feedzai.commons.sql.abstraction.ddl
-
Represents a database index.
- DbIndex.Builder - Class in com.feedzai.commons.sql.abstraction.ddl
-
Builder to create immutable
DbIndexobjects. - de - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The database engine.
- decrypt(byte[], String) - Static method in class com.feedzai.commons.sql.abstraction.util.AESHelper
-
Decrypts a byte[] encrypted by
AESHelper.encrypt(java.lang.String, java.lang.String)method. - decrypt(String, String) - Static method in class com.feedzai.commons.sql.abstraction.util.AESHelper
-
Decrypts a string encrypted by
AESHelper.encrypt(java.lang.String, java.lang.String)method. - decryptFile(String, String) - Static method in class com.feedzai.commons.sql.abstraction.util.AESHelper
-
Decrypts a file encrypted by
AESHelper.encryptToFile(String, byte[], String)method. - 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
-
The default instance of
QueryExceptionHandlerto be used in disambiguating SQL exceptions. - 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
-
Creates a new instance of
DefaultBatch. - DefaultBatch(DatabaseEngine, String, int, long, long, BatchListener) - Constructor for class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
Creates a new instance of
DefaultBatch. - DefaultBatch(DatabaseEngine, String, int, long, long, BatchListener, int, long) - Constructor for class com.feedzai.commons.sql.abstraction.batch.DefaultBatch
-
Creates a new instance of
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(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The DELETE keyword.
- 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. - 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 - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The dialect.
- Dialect - Enum in com.feedzai.commons.sql.abstraction.dml.dialect
-
Represents the supported dialects distributed by the library.
- 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
-
DB engine specific auxiliary method for
AbstractDatabaseEngine.persist(String, EntityEntry, boolean)to effectively perform the persist action. - 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
- DOUBLE - com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
The double type.
- driver() - Method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
Gets the driver.
- DRIVER - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The database 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(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Drops everything that belongs to the entity.
- dropEntity(DbEntity) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Drops everything that belongs to the entity.
- dropEntity(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Drops an entity.
- dropEntity(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Drops an 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
-
Creates a new instance of
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
nullas 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(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.
- 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).
E
- eh - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The exception handler to control the flow when defining new entities.
- enclose() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Encloses this expression with parenthesis.
- enclosed - Variable in class com.feedzai.commons.sql.abstraction.dml.Expression
-
True if the expression is to be enclosed in parenthesis.
- encrypt(byte[], String) - Static method in class com.feedzai.commons.sql.abstraction.util.AESHelper
-
Encrypts a byte[].
- encrypt(String, String) - Static method in class com.feedzai.commons.sql.abstraction.util.AESHelper
-
Encrypts a string.
- ENCRYPTED_PASSWORD - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The property for using encrypted passwords.
- ENCRYPTED_USERNAME - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The property for using encrypted usernames.
- encryptToFile(String, byte[], String) - Static method in class com.feedzai.commons.sql.abstraction.util.AESHelper
-
Encrypts the byte[] to a file.
- engine() - Method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
Gets the engine.
- ENGINE - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The engine property.
- entities - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Map of entities.
- entityEntry - Variable in class com.feedzai.commons.sql.abstraction.batch.BatchEntry
-
the entity data
- EntityEntry - Class in com.feedzai.commons.sql.abstraction.entry
-
Represents an entry, i.e.
- EntityEntry.Builder - Class in com.feedzai.commons.sql.abstraction.entry
-
Builder to create immutable
EntityEntryobjects. - entityToPreparedStatement(DbEntity, PreparedStatement, EntityEntry, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Translates the given entry entity to the prepared statement.
- entityToPreparedStatement(DbEntity, PreparedStatement, EntityEntry, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
- entityToPreparedStatement(DbEntity, PreparedStatement, EntityEntry, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
- entityToPreparedStatement(DbEntity, PreparedStatement, EntityEntry, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
- entityToPreparedStatement(DbEntity, PreparedStatement, EntityEntry, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
- entityToPreparedStatement(DbEntity, PreparedStatement, EntityEntry, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
- entityToPreparedStatement(DbEntity, PreparedStatement, EntityEntry, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
- entityToPreparedStatementForBatch(DbEntity, PreparedStatement, EntityEntry, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Translates the given entry entity to the prepared statement when used in the context of batch updates.
- entityToPreparedStatementForBatch(DbEntity, PreparedStatement, EntityEntry, boolean) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
- entry() - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a Database Entry builder.
- eq(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The equals expression.
- eq(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The equals expression.
- EQ - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The EQ delimited.
- equals(Object) - Method in class com.feedzai.commons.sql.abstraction.batch.BatchEntry
- equals(Object) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk
- equals(Object) - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry
- escapeCharacter() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- escapeCharacter() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
- escapeCharacter() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
- escapeSql(String) - Static method in class com.feedzai.commons.sql.abstraction.util.StringUtils
-
Apache Commons-Lang 2.X contained StringEscapeUtils#escapeSql, but this method was removed in 3.X as discussed here: https://commons.apache.org/proper/commons-lang/article3_0.html#StringEscapeUtils.escapeSql For this reason, the source code has been copied from 2.X to here so that we can continue to use the logic and possibly build on it in the future.
- ExceptionHandler - Interface in com.feedzai.commons.sql.abstraction.engine.handler
-
Interface to control the definition flow when defining new entities.
- executePS(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Executes the specified prepared statement.
- executePS(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Executes the specified prepared statement.
- executePSUpdate(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Executes update on the specified prepared statement.
- executePSUpdate(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Executes update on the specified prepared statement.
- executeUpdate(Expression) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Executes the given update.
- executeUpdate(Expression) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Executes the given update.
- executeUpdate(Expression) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
- executeUpdate(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Executes a native query.
- executeUpdate(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Executes a native query.
- executeUpdate(String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
- executeUpdateSilently(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Executes the given statement.
- Expression - Class in com.feedzai.commons.sql.abstraction.dml
-
A generic SQL Expression capable of being translated.
- Expression() - Constructor for class com.feedzai.commons.sql.abstraction.dml.Expression
F
- f(String) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
An internal function (provided by the engine in place).
- f(String, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
An internal function (provided by the engine in place).
- FailureListener - Interface in com.feedzai.commons.sql.abstraction
-
Deprecated.Use
BatchListenerinstead. - FETCH_SIZE - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Property that indicates the fetch size for queries.
- fks - Variable in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
- floor(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The FLOOR operator.
- FLOOR - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The FLOOR function.
- flush() - Method in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Flushes the pending batches.
- flush() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Flushes the batches for all the registered entities.
- flush() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Flushes the batches for all the registered entities.
- flush() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
- flush(boolean) - Method in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Flushes the pending messages.
- flushRetryDelay - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The time interval (milliseconds) to wait between batch flush retries.
- FOREIGN_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
Foreign key already exists
- FOREIGN_KEY_ALREADY_EXISTS - com.feedzai.commons.sql.abstraction.engine.handler.OperationFault.Type
-
Foreign key already exists.
- foreignTable(String) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
Deprecated.a "foreign key" is actually composed from the local columns of the table where it is defined (the child table); this name is wrong and will eventually be removed ─ use
DbFk.Builder.referencedTable(String)instead. - forUpdate(boolean) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Sets whether query is FOR UPDATE or not.
- from(Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
Adds the FROM expression.
- from(Expression...) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Adds the FROM columns.
- from(Collection<? extends Expression>) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Adds the FROM columns.
- fromDriver(String) - Static method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
Gets the
DatabaseEngineDrivergiven the driver class. - fromEngine(String) - Static method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
Gets the
DatabaseEngineDrivergiven the engine. - fullOuterJoin(Expression, Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Sets a full outer join with the current table.
- Function - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents SQL functions.
- Function(String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Function
-
Creates a new instance of
Function. - Function(String, Expression) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Function
-
Creates a new instance of
Function. - FUNCTIONS - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The list of functions.
G
- 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,
nullwhen 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() - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the database entities for the current schema.
- getEntities(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- 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
-
Deprecated.a "foreign key" is actually composed from the local columns of the table where it is defined (the child table); this name is wrong and will eventually be removed ─ use
DbFk.getReferencedColumns()instead. - getForeignTable() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk
-
Deprecated.a "foreign key" is actually composed from the local columns of the table where it is defined (the child table); this method was used to get the name of the referenced table, which is the parent table, thus the name of the method is wrong and it will eventually be removed ─ use
DbFk.getReferencedTable()instead. - 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
-
Gets the a map representation of this
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) - 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.AbstractDatabaseEngine
- 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
PreparedStatementto 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) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates an iterator for the
PreparedStatementbound to the given name. - getPSIterator(String, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- getPSIterator(String, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates an iterator for the
PreparedStatementbound to the given name. - 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
-
Gets the instance of
QueryExceptionHandlerto be used in disambiguating SQL exceptions. - getQueryExceptionHandler() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Gets the instance of
QueryExceptionHandlerto be used in disambiguating SQL exceptions. - 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(Expression) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Gets the query metadata.
- getQueryMetadata(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
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.
H
- H2 - com.feedzai.commons.sql.abstraction.dml.dialect.Dialect
-
H2 SQL dialect.
- H2 - com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
The H2 Database vendor.
- H2_DRIVER - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
The PostgreSQL JDBC driver.
- H2_QUERY_EXCEPTION_HANDLER - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
An instance of
QueryExceptionHandlerspecific for H2 engine, to be used in disambiguating SQL exceptions. - H2Engine - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
H2 specific database implementation.
- H2Engine(PdbProperties) - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
Creates a new PostgreSql connection.
- H2QueryExceptionHandler - Class in com.feedzai.commons.sql.abstraction.engine.impl.h2
-
A specific implementation of
QueryExceptionHandlerfor H2 engine. - H2QueryExceptionHandler() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.h2.H2QueryExceptionHandler
- H2ResultColumn - Class in com.feedzai.commons.sql.abstraction.dml.result
-
The H2 column result implementation.
- H2ResultColumn(String, Object) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.H2ResultColumn
-
Creates a new instance of
ResultColumn. - H2ResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
Result iterator for the
H2Engineengine. - H2ResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.H2ResultIterator
-
Creates a new instance of
H2ResultIterator. - H2ResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.H2ResultIterator
-
Creates a new instance of
H2ResultIterator. - H2Translator - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
Provides SQL translation for H2.
- H2Translator() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- handleException(Exception, String) - Method in class com.feedzai.commons.sql.abstraction.engine.handler.QueryExceptionHandler
-
Handles the Exception, disambiguating it into a specific PDB Exception and throwing it.
- handleOperation(OperationFault, Exception) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Controls if the given faulty operation must be silenced or not.
- hasFrom() - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
Checks whether the FROM expression is defined.
- hashCode() - Method in class com.feedzai.commons.sql.abstraction.batch.BatchEntry
- hashCode() - Method in class com.feedzai.commons.sql.abstraction.ddl.DbFk
- hashCode() - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry
- hasIdentityColumn(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Check if the entity has an identity column.
- hasWhere() - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
Checks whether the WHERE expression is defined.
- having(Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Adds the HAVING expression.
I
- 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 - com.feedzai.commons.sql.abstraction.engine.handler.OperationFault.Type
-
Index already exists.
- 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
-
A take on
ByteArrayOutputStreamthat takes a provided byte array as its initial buffer. - 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.
- INT - com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
The integer type.
- 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
-
Creates a new instance of
InternalFunction. - InternalFunction(String, Expression) - Constructor for class com.feedzai.commons.sql.abstraction.dml.InternalFunction
-
Creates a new instance of
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.
- isForUpdate() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Checks if query is a FOR UPDATE.
- 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
-
Checks if the
PdbProperties.getMaxBlobSize()is set. - 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
-
Deprecated.use
DatabaseEngineRetryableRuntimeExceptioninstead. - isRetryable() - Method in exception com.feedzai.commons.sql.abstraction.exceptions.DatabaseEngineRetryableRuntimeException
-
Deprecated.only implemented here to avoid breaking changes with the availability of this method in the super class.
- 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(Expression) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- iterator(Expression) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates an iterator for the given SQL expression.
- iterator(Expression, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- 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 class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- iterator(Expression, int, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates an iterator for the given SQL expression overriding the configured query timeout (see
PdbProperties.getSelectQueryTimeout()) if the underlying engine supports query timeouts. - iterator(String) - 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(String, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- 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 class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- iterator(String, int, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Creates an iterator for the given SQL sentence overriding the configured query timeout (see
PdbProperties.getSelectQueryTimeout()) if the underlying engine supports query timeouts.
J
- JDBC - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The JDBC property name.
- join(Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The same of making eq(e1, e2).
- join(Collection<?>, String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Joins a collection of objects given the delimiter.
- Join - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents a SQL join operator.
- Join(String, Expression, Expression) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Join
-
Creates a new instance of
Join. - joins - Variable in class com.feedzai.commons.sql.abstraction.dml.Expression
-
The list of joins, if applicable.
- JSON - com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
The json type.
K
- k(Object) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
A constant.
- K - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents a SQL constant.
- K(Object) - Constructor for class com.feedzai.commons.sql.abstraction.dml.K
-
Creates a new instance of
K.
L
- L(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
A list of expressions enclosed.
- L(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
A list of expression enclosed.
- lastFlush - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
Timestamp of the last flush.
- leftOuterJoin(Expression, Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Sets a left outer join with the current table.
- like(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The LIKE operator.
- like(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The LIKE operator.
- LIKE - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The LIKE delimited.
- limit(Integer) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Sets the limit.
- lit(Object) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Use this to add literals (strings, etc) when building the SQL statement.
- Literal - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents a literal object that will have no specific translation.
- Literal(Object) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Literal
-
Creates a new instance of
Literal. - loadEntity(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- loadEntity(DbEntity) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Loads an entity into the engine.
- logger - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The logger.
- logger - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The logger that will be used.
- LOGIN_TIMEOUT - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Property that indicates the waiting time for the database connection to be established (in seconds).
- LONG - com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
The long type.
- lower(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The LOWER operator.
- LOWER - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The LOWER function.
- lt(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The LT operator.
- lt(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The LT operator.
- LT - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The < delimited.
- lteq(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The LTEQ operator.
- lteq(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The LTEQ operator.
- LTEQ - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The ≤ delimited.
M
- MappedEntity - Class in com.feedzai.commons.sql.abstraction.engine
-
Mapped entity contains information about an entity that has been mapped using the engine.
- MappedEntity() - Constructor for class com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Creates a new instance of
MappedEntity. - max(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The MAX operator.
- MAX - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The MAX function.
- MAX_BLOB_SIZE - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The maximum blob size property
- MAX_IDENTIFIER_SIZE - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The maximum identifier size property
- MAX_NUMBER_OF_RETRIES - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The maximum number of retries.
- maxAwaitTimeShutdown - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The maximum await time to wait for the batch to shutdown.
- maxFlushRetries - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The number of times to retry a batch flush upon failure.
- MAXIMUM_TIME_BATCH_SHUTDOWN - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Property that indicates how much time to wait for a batch to shutdown.
- MAXIMUM_VARBINARY_SIZE - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
The maximum size for the VARBINARY type.
- md5(String) - Static method in class com.feedzai.commons.sql.abstraction.util.StringUtils
-
Generates the MD5 checksum for the specified message.
- md5(String, int) - Static method in class com.feedzai.commons.sql.abstraction.util.StringUtils
-
Generates de MD5 checksum for the specified message.
- merge(Properties) - Method in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Merges properties with the existing ones.
- min(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The MIN operator.
- MIN - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The MIN function.
- minus(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The MINUS operator.
- minus(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The MINUS operator.
- MINUS - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The - delimited.
- mod(Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The MOD operator.
- Modulo - Class in com.feedzai.commons.sql.abstraction.dml
-
The MOD operator.
- Modulo(Expression, Expression) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Modulo
-
Creates a new instance of
Modulo. - mult(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The MULT operator.
- mult(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The MULT operator.
- MULT - Static variable in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
The * delimited.
- MYSQL - com.feedzai.commons.sql.abstraction.dml.dialect.Dialect
-
MySQL SQL dialect.
- MYSQL - com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
The MySQL vendor.
- MYSQL_DRIVER - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
The MySQL JDBC driver.
- MYSQL_QUERY_EXCEPTION_HANDLER - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
An instance of
QueryExceptionHandlerspecific for MySQL engine, to be used in disambiguating SQL exceptions. - MySqlEngine - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
MySQL specific database implementation.
- MySqlEngine(PdbProperties) - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
Creates a new MySQL connection.
- MySqlQueryExceptionHandler - Class in com.feedzai.commons.sql.abstraction.engine.impl.mysql
-
A specific implementation of
QueryExceptionHandlerfor MySQL engine. - MySqlQueryExceptionHandler() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.mysql.MySqlQueryExceptionHandler
- MySqlResultColumn - Class in com.feedzai.commons.sql.abstraction.dml.result
-
The MySql column result implementation.
- MySqlResultColumn(String, Object) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.MySqlResultColumn
-
Creates a new instance of
MySqlResultColumn. - MySqlResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
Result iterator for the
MySqlEngineengine. - MySqlResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.MySqlResultIterator
-
Creates a new instance of
MySqlResultIterator. - MySqlResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.MySqlResultIterator
-
Creates a new instance of
MySqlResultIterator. - MySqlTranslator - Class in com.feedzai.commons.sql.abstraction.engine.impl
-
Provides SQL translation for MySQL.
- MySqlTranslator() - Constructor for class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
N
- name - Variable in class com.feedzai.commons.sql.abstraction.batch.AbstractBatch
-
The name of the batch.
- name - Variable in class com.feedzai.commons.sql.abstraction.ddl.DbEntity.Builder
- name - Variable in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
-
The name of the column.
- name(String) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
-
Sets the column name.
- 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_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
-
Exceptions related with
NameAlreadyExistsException. - NameAlreadyExistsException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.NameAlreadyExistsException
-
Constructs a new exception with
nullas 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(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.
- 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).
- 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
-
Returns a new Builder out of this
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.
- NOT_NULL - com.feedzai.commons.sql.abstraction.ddl.DbColumnConstraint
-
The not null constraint.
- 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.
O
- 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
-
Creates a new instance of
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
nullas 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(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.
- 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).
- 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 - com.feedzai.commons.sql.abstraction.dml.dialect.Dialect
-
Oracle SQL dialect.
- ORACLE - com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
The Oracle vendor.
- 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
QueryExceptionHandlerspecific 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
-
A specific implementation of
QueryExceptionHandlerfor Oracle engine. - 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
-
Creates a new instance of
OracleResultColumn. - OracleResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
Result iterator for the
OracleEngineengine. - OracleResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.OracleResultIterator
-
Creates a new instance of
OracleResultIterator. - OracleResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.OracleResultIterator
-
Creates a new instance of
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.
P
- 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
nullas 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(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.
- 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).
- 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
-
Creates a new instance of an empty
PdbProperties. - PdbProperties(boolean) - Constructor for class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
Creates a new instance of
PdbPropertieswith 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) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
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, 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
QueryExceptionHandlerspecific 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.
- POSTGRES - com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
The PostgreSQL vendor.
- POSTGRESQL - com.feedzai.commons.sql.abstraction.dml.dialect.Dialect
-
PostgreSQL SQL dialect.
- 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
-
Creates a new instance of
PostgreSqlResultColumn. - PostgreSqlResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
Result iterator for the
PostgreSqlEngineengine. - PostgreSqlResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.PostgreSqlResultIterator
-
Creates a new instance of
PostgreSqlResultIterator. - PostgreSqlResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.PostgreSqlResultIterator
-
Creates a new instance of
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
-
A specific implementation of
QueryExceptionHandlerfor PostgreSQL engine. - 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
-
Creates a new instance of
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.
- PRIMARY_KEY_ALREADY_EXISTS - com.feedzai.commons.sql.abstraction.engine.handler.OperationFault.Type
-
The primary key that already exists.
- 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
-
Process a whole
ResultIterator. - 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.
Q
- query - Variable in class com.feedzai.commons.sql.abstraction.util.PreparedStatementCapsule
-
The query.
- query(Expression) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Executes the given query.
- query(Expression) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Executes the given query.
- query(Expression, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- query(Expression, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Executes the given query overriding the configured query timeout (see
PdbProperties.getSelectQueryTimeout()) if the underlying engine supports query timeouts. - query(String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Executes the given query.
- query(String) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Executes the given native query.
- query(String, int) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
- query(String, int) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Executes the given native query overriding the configured query timeout (see
PdbProperties.getSelectQueryTimeout()if the underlying engine supports query timeouts. - Query - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents a SQL Query.
- Query() - Constructor for class com.feedzai.commons.sql.abstraction.dml.Query
-
Creates a new instance of
Query. - QueryExceptionHandler - Class in com.feedzai.commons.sql.abstraction.engine.handler
-
A handler that can be used to disambiguate the meaning of an
SQLExceptionthrown when executing a JDBC method. - QueryExceptionHandler() - Constructor for class com.feedzai.commons.sql.abstraction.engine.handler.QueryExceptionHandler
- quotes - Variable in class com.feedzai.commons.sql.abstraction.dml.Expression
-
True if the expression is to be put around quotes.
- quotize(String) - Static method in class com.feedzai.commons.sql.abstraction.util.StringUtils
-
Puts quotes around a String.
- quotize(String, String) - Static method in class com.feedzai.commons.sql.abstraction.util.StringUtils
-
Puts quotes around a String.
R
- READ_COMMITTED - com.feedzai.commons.sql.abstraction.engine.configuration.IsolationLevel
-
Read committed isolation level.
- READ_UNCOMMITTED - com.feedzai.commons.sql.abstraction.engine.configuration.IsolationLevel
-
Read uncommitted isolation level.
- 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
-
Verifies if a connection to the database is available, if not, an attempts to reestablished it are made by the
AbstractDatabaseEngine.getConnection(). - RecoveryException - Exception in com.feedzai.commons.sql.abstraction.engine
-
Exceptions related with
RecoveryException. - RecoveryException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RecoveryException
-
Constructs a new exception with
nullas 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(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.
- 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).
- 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(Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Rename table operator.
- 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. - REPEATABLE_READ - com.feedzai.commons.sql.abstraction.engine.configuration.IsolationLevel
-
Repeatable read isolation level.
- 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
-
Creates a new instance of
RepeatDelimiter. - RepeatDelimiter(String, Collection<? extends Expression>) - Constructor for class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
-
Creates a new instance of
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
-
Creates a new instance of
ResultColumn. - ResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
The abstract result iterator.
- ResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
Creates a new instance of
ResultIteratorforPreparedStatement. - ResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.ResultIterator
-
Creates a new instance of
ResultIteratorfor regularStatement. - 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
-
Represents
RetryLimitExceededExceptionexceptions. - RetryLimitExceededException() - Constructor for exception com.feedzai.commons.sql.abstraction.engine.RetryLimitExceededException
-
Constructs a new exception with
nullas 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(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.
- 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).
- 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
S
- 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(Expression...) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
Adds the SELECT columns.
- select(Collection<? extends Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Starts a new query.
- 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_ALREADY_EXISTS - com.feedzai.commons.sql.abstraction.engine.handler.OperationFault.Type
-
Sequence already exists.
- SEQUENCE_DOES_NOT_EXIST - com.feedzai.commons.sql.abstraction.engine.handler.OperationFault.Type
-
Sequence does not exist.
- SEQUENCE_DOES_NOT_EXIST - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
Sequence does not exist.
- SERIALIZABLE - com.feedzai.commons.sql.abstraction.engine.configuration.IsolationLevel
-
Serializable isolation level.
- set(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(Collection<? extends Expression>) - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
The set keyword.
- 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) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Sets the parameter on the specified index.
- 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.AbstractDatabaseEngine
- 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, 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
indexto the value provided inparam. - 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
-
Sets the schema for the current
connection. - 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
-
Overrides
AbstractDatabaseEngine.setTransactionIsolation()This is because Oracle does not support READ_UNCOMMITTED e REPEATABLE_READ. - 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
ExecutorServiceto 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 - com.feedzai.commons.sql.abstraction.dml.dialect.Dialect
-
SQLServer SQL dialect.
- SQLSERVER - com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
-
The SQLServer vendor.
- 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
-
Creates a new instance of
PostgreSqlResultColumn. - SqlServerResultIterator - Class in com.feedzai.commons.sql.abstraction.dml.result
-
Result iterator for the
SqlServerEngineengine. - SqlServerResultIterator(PreparedStatement) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.SqlServerResultIterator
-
Creates a new instance of
SqlServerResultIterator. - SqlServerResultIterator(Statement, String) - Constructor for class com.feedzai.commons.sql.abstraction.dml.result.SqlServerResultIterator
-
Creates a new instance of
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.
- STRING - com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
The string type.
- stringAgg(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The StringAgg function.
- stringAgg(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.StringAgg
-
Returns a new StringAgg.
- StringAgg - Class in com.feedzai.commons.sql.abstraction.dml
- 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.
- SYSTEM_TABLE - com.feedzai.commons.sql.abstraction.ddl.DbEntityType
-
The system table type.
- SYSTEM_VIEW - com.feedzai.commons.sql.abstraction.ddl.DbEntityType
-
The system view type.
T
- table(String) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
A table.
- TABLE - com.feedzai.commons.sql.abstraction.ddl.DbEntityType
-
The table type.
- TABLE_ALREADY_EXISTS - com.feedzai.commons.sql.abstraction.engine.handler.OperationFault.Type
-
Table does not exist.
- TABLE_CAN_ONLY_HAVE_ONE_PRIMARY_KEY - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
Table can have only one primary key.
- TABLE_CAN_ONLY_HAVE_ONE_PRIMARY_KEY - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
Table can have only one primary key.
- TABLE_CAN_ONLY_HAVE_ONE_PRIMARY_KEY - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
Table can have only one primary key.
- TABLE_CAN_ONLY_HAVE_ONE_PRIMARY_KEY - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
Table can have only one primary key.
- TABLE_CAN_ONLY_HAVE_ONE_PRIMARY_KEY - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
Table can have only one primary key.
- TABLE_DOES_NOT_EXIST - com.feedzai.commons.sql.abstraction.engine.handler.OperationFault.Type
-
Table does not exist.
- TABLE_DOES_NOT_EXIST - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
Table or view does not exist.
- TABLE_NAME_ALREADY_EXISTS - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlEngine
-
Table name is already used by an existing object.
- TABLE_OR_VIEW_DOES_NOT_EXIST - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.H2Engine
-
Table or view does not exist.
- TABLE_OR_VIEW_DOES_NOT_EXIST - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.OracleEngine
-
Table or view does not exist.
- TABLE_OR_VIEW_DOES_NOT_EXIST - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
Table or view does not exist.
- TABLE_OR_VIEW_DOES_NOT_EXIST - Static variable in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerEngine
-
Table or view does not exist.
- tableName - Variable in class com.feedzai.commons.sql.abstraction.batch.BatchEntry
-
the table name
- then(Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.With
-
Sets the expression to be executed given the clauses.
- timeout - Variable in class com.feedzai.commons.sql.abstraction.util.PreparedStatementCapsule
-
The query timeout.
- toBlob() - Method in class com.feedzai.commons.sql.abstraction.dml.result.DB2ResultColumn
- toBlob() - Method in class com.feedzai.commons.sql.abstraction.dml.result.OracleResultColumn
- toBlob() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
-
Converts this result (in the form of blob) to the specified object type.
- toBoolean() - Method in class com.feedzai.commons.sql.abstraction.dml.result.DB2ResultColumn
- toBoolean() - Method in class com.feedzai.commons.sql.abstraction.dml.result.MySqlResultColumn
- toBoolean() - Method in class com.feedzai.commons.sql.abstraction.dml.result.OracleResultColumn
- toBoolean() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
- toBoolean() - Method in class com.feedzai.commons.sql.abstraction.dml.result.SqlServerResultColumn
- toDouble() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
- toFloat() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
- toInt() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
- toLong() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
- toObject() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
- toPdbType(int, String) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Maps the database type to
DbColumnType. - toPdbType(int, String) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
- toString() - Method in class com.feedzai.commons.sql.abstraction.batch.BatchEntry
- toString() - Method in class com.feedzai.commons.sql.abstraction.dml.result.DB2ResultColumn
- toString() - Method in class com.feedzai.commons.sql.abstraction.dml.result.ResultColumn
- toString() - Method in enum com.feedzai.commons.sql.abstraction.engine.DatabaseEngineDriver
- toString() - Method in class com.feedzai.commons.sql.abstraction.entry.EntityEntry
- translate() - Method in class com.feedzai.commons.sql.abstraction.ddl.AlterColumn
- translate() - Method in enum com.feedzai.commons.sql.abstraction.ddl.DbColumnConstraint
-
The default translation.
- translate() - Method in class com.feedzai.commons.sql.abstraction.ddl.DropPrimaryKey
- translate() - Method in class com.feedzai.commons.sql.abstraction.ddl.Rename
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Between
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Case
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Cast
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Coalesce
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Concat
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Delete
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Translates the expression.
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Function
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Join
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.K
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Literal
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Modulo
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Name
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Query
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.RepeatDelimiter
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.StringAgg
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Truncate
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Union
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Update
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Values.Row
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.Values
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.View
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.When
- translate() - Method in class com.feedzai.commons.sql.abstraction.dml.With
- translate(AlterColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Name. - translate(AlterColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(AlterColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(AlterColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(AlterColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(AlterColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(AlterColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(DbColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
DbColumn. - translate(DbColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBTranslator
- translate(DbColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(DbColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(DbColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(DbColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(DbColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(DbColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(DropPrimaryKey) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
DropPrimaryKey. - translate(DropPrimaryKey) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(DropPrimaryKey) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(DropPrimaryKey) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(DropPrimaryKey) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(DropPrimaryKey) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(DropPrimaryKey) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(Rename) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Rename. - translate(Rename) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(Rename) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(Rename) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(Rename) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(Rename) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(Rename) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(Between) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Between. - translate(Case) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates Case.
- translate(Cast) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates Cast.
- translate(Cast) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBTranslator
- translate(Cast) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(Cast) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(Cast) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(Cast) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(Cast) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(Cast) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(Coalesce) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Coalesce. - translate(Concat) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Transform the concat keyword.
- translate(Concat) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(Concat) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(Delete) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Delete. - translate(Expression) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Translates the given expression to the current dialect.
- translate(Expression) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Translates the given expression to the current dialect.
- translate(Function) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Function. - translate(Function) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(Function) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(Function) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(Function) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(Function) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(Function) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(Join) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Join. - translate(Join) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(K) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
K. - translate(Literal) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Literal. - translate(Modulo) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Modulo. - translate(Modulo) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(Modulo) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(Modulo) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(Modulo) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(Modulo) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(Modulo) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(Name) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Name. - translate(Query) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Query. - translate(Query) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(Query) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(Query) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(Query) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(Query) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(Query) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(RepeatDelimiter) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
RepeatDelimiter. - translate(RepeatDelimiter) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBTranslator
- translate(RepeatDelimiter) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(RepeatDelimiter) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(RepeatDelimiter) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(RepeatDelimiter) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(RepeatDelimiter) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(RepeatDelimiter) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(StringAgg) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
StringAgg. - translate(StringAgg) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(StringAgg) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(StringAgg) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(StringAgg) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(StringAgg) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(StringAgg) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(Truncate) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Truncate. - translate(Truncate) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(Union) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Union. - translate(Update) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Update. - translate(Update) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(Update) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(Update) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(Values) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates Values.
- translate(Values) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(Values.Row) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates Values.Row.
- translate(View) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
View. - translate(View) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translate(View) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translate(View) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translate(View) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translate(View) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translate(View) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translate(When) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates When.
- translate(With) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
- translate(With) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translateEscape() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates the escape character.
- translateEscape() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translateEscape() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translateEscape() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translateEscape() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translateEscape() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translateEscape() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translateFalse() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates the boolean false.
- translateFalse() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translateFalse() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translateFalse() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translateFalse() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translateFalse() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translateFalse() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translateTrue() - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates the boolean true.
- translateTrue() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Translator
- translateTrue() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.H2Translator
- translateTrue() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translateTrue() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.OracleTranslator
- translateTrue() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlTranslator
- translateTrue() - Method in class com.feedzai.commons.sql.abstraction.engine.impl.SqlServerTranslator
- translateType(DbColumn) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Translates the type present in the given column.
- translateUpdate(Update) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Update. - translateUpdateFrom(Update) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
Updateconsidering the FROM clause. - translateUpdateFrom(Update) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.MySqlTranslator
- translateUpdateSetClause(Update) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractTranslator
-
Translates
UpdateSET clause. - translator - Variable in class com.feedzai.commons.sql.abstraction.dml.Expression
-
The abstract translator.
- translator - Variable in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
The translator in place.
- TRANSLATOR - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The translator.
- truncate(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The TRUNCATE keyword.
- Truncate - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents the TRUNCATE operator.
- Truncate(Expression) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Truncate
-
Creates a new instance of
Truncate. - type(DbColumnType) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbColumn.Builder
-
Sets the column type.
U
- udf(String) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The Used Defined Function operator.
- udf(String, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The Used Defined Function operator.
- union(Expression...) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a union expression.
- union(Collection<Expression>) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
Creates a union expression.
- Union - Class in com.feedzai.commons.sql.abstraction.dml
-
The union clause.
- Union(Expression...) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Union
-
Creates a new UNION expression.
- Union(Collection<Expression>) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Union
-
Creates a new UNION expression.
- unique(boolean) - Method in class com.feedzai.commons.sql.abstraction.ddl.DbIndex.Builder
-
Indicates if this index is unique or not.
- UNIQUE - com.feedzai.commons.sql.abstraction.ddl.DbColumnConstraint
-
The unique constraint.
- UNIT_SEPARATOR_CHARACTER - Static variable in class com.feedzai.commons.sql.abstraction.util.Constants
-
The unit separator character.
- UNKNOWN - com.feedzai.commons.sql.abstraction.dml.dialect.Dialect
-
Unknown implementation (can be used when implementing new engines that are not distributed with the library.
- UNMAPPED - com.feedzai.commons.sql.abstraction.ddl.DbColumnType
-
A type that is not mapped.
- UNMAPPED - com.feedzai.commons.sql.abstraction.ddl.DbEntityType
-
A type that is not mapped.
- unquote() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Removes the quotes for this expression.
- update(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The UPDATE operator.
- Update - Class in com.feedzai.commons.sql.abstraction.dml
-
Represents the UPDATE operator.
- Update(Expression) - Constructor for class com.feedzai.commons.sql.abstraction.dml.Update
-
Creates a new instance of
Update. - updateEntity(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.AbstractDatabaseEngine
-
Updates an entity in the engine.
- updateEntity(DbEntity) - Method in interface com.feedzai.commons.sql.abstraction.engine.DatabaseEngine
-
Updates an entity in the engine.
- updateEntity(DbEntity) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.DB2Engine
- updatePersistAutoIncSequence(MappedEntity, long) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.CockroachDBEngine
- updatePersistAutoIncSequence(MappedEntity, long) - Method in class com.feedzai.commons.sql.abstraction.engine.impl.PostgreSqlEngine
-
Updates the autoInc sequence value after a persist operation.
- upper(Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The UPPER operator.
- UPPER - Static variable in class com.feedzai.commons.sql.abstraction.dml.Function
-
The UPPER function.
- USERNAME - Static variable in class com.feedzai.commons.sql.abstraction.engine.configuration.PdbProperties
-
The USERNAME property name.
V
- 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() - 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(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.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. - VIEW - com.feedzai.commons.sql.abstraction.ddl.DbEntityType
-
The view type.
W
- when(Expression, Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Case
-
Adds a new when clause to this case.
- when(Expression, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.When
-
Creates a new When expression.
- When - Class in com.feedzai.commons.sql.abstraction.dml
- whens - Variable in class com.feedzai.commons.sql.abstraction.dml.Case
-
List of when clauses.
- where(Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Delete
-
Sets the where expression.
- where(Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Query
-
The where clause.
- where(Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Update
-
Adds the WHERE expression.
- with(Expression) - Method in class com.feedzai.commons.sql.abstraction.dml.Concat
-
Adds an expression to concatenate.
- with(String, Expression) - Static method in class com.feedzai.commons.sql.abstraction.dml.dialect.SqlBuilder
-
The With clause.
- With - Class in com.feedzai.commons.sql.abstraction.dml
-
With SQL Expression.
- With(String, Expression) - Constructor for class com.feedzai.commons.sql.abstraction.dml.With
-
Creates a new WITH expression.
- withNoLock - Variable in class com.feedzai.commons.sql.abstraction.dml.Expression
-
The SQL Server's no lock keyword.
- withNoLock() - Method in class com.feedzai.commons.sql.abstraction.dml.Expression
-
Sets no lock keyword on SQL Server tables.
- withPdbProperties(PdbProperties) - Method in class com.feedzai.commons.sql.abstraction.engine.DatabaseFactory.PdbModule.Builder
-
Sets the PDB properties.
- withTranslator(Class<? extends AbstractTranslator>) - Method in class com.feedzai.commons.sql.abstraction.engine.DatabaseFactory.PdbModule.Builder
-
Sets the translator class.
All Classes All Packages