Uses of Class
com.feedzai.commons.sql.abstraction.ddl.DbEntity
-
Packages that use DbEntity Package Description com.feedzai.commons.sql.abstraction.ddl Contains classes that aid on DDL creation.com.feedzai.commons.sql.abstraction.engine Contains the database engine core.com.feedzai.commons.sql.abstraction.engine.impl Database specific implementations. -
-
Uses of DbEntity in com.feedzai.commons.sql.abstraction.ddl
Methods in com.feedzai.commons.sql.abstraction.ddl that return DbEntity Modifier and Type Method Description DbEntityDbEntity.Builder. build() -
Uses of DbEntity in com.feedzai.commons.sql.abstraction.engine
Methods in com.feedzai.commons.sql.abstraction.engine that return DbEntity Modifier and Type Method Description DbEntityMappedEntity. getEntity()Gets the entity.DbEntityAbstractDatabaseEngine. removeEntity(String name)DbEntityDatabaseEngine. removeEntity(String name)Removes the entity given the name.Methods in com.feedzai.commons.sql.abstraction.engine with parameters of type DbEntity Modifier and Type Method Description protected abstract voidAbstractDatabaseEngine. addColumn(DbEntity entity, DbColumn... columns)Adds the column to an existent table.voidAbstractDatabaseEngine. addEntity(DbEntity entity)Adds an entity to the engine.voidDatabaseEngine. addEntity(DbEntity entity)Adds an entity to the engine.protected voidAbstractDatabaseEngine. addFks(DbEntity entity)Adds all foreign keys defined in the entity to the table in the database.protected voidAbstractDatabaseEngine. addFks(DbEntity entity, Set<DbFk> fks)Adds foreign key constraints to the table in the database that the provided entity represents.protected abstract voidAbstractDatabaseEngine. addIndexes(DbEntity entity)Add the desired indexes.protected abstract voidAbstractDatabaseEngine. addPrimaryKey(DbEntity entity)Add a primary key to the entity.protected abstract voidAbstractDatabaseEngine. addSequences(DbEntity entity)Adds the necessary sequences.protected abstract MappedEntityAbstractDatabaseEngine. createPreparedStatementForInserts(DbEntity entity)Creates and gets the prepared statement that will be used for insertions.protected abstract voidAbstractDatabaseEngine. createTable(DbEntity entity)Creates the table.protected abstract voidAbstractDatabaseEngine. dropColumn(DbEntity entity, String... columns)Drops the column.voidAbstractDatabaseEngine. dropEntity(DbEntity entity)Drops everything that belongs to the entity.voidDatabaseEngine. dropEntity(DbEntity entity)Drops everything that belongs to the entity.protected abstract voidAbstractDatabaseEngine. dropSequences(DbEntity entity)Drops the sequences of the entity.protected abstract voidAbstractDatabaseEngine. dropTable(DbEntity entity)Drops the table.protected abstract intAbstractDatabaseEngine. entityToPreparedStatement(DbEntity entity, PreparedStatement ps, EntityEntry entry, boolean useAutoIncs)Translates the given entry entity to the prepared statement.protected intAbstractDatabaseEngine. entityToPreparedStatementForBatch(DbEntity entity, PreparedStatement ps, EntityEntry entry, boolean useAutoIncs)Translates the given entry entity to the prepared statement when used in the context of batch updates.booleanAbstractDatabaseEngine. hasIdentityColumn(DbEntity entity)Check if the entity has an identity column.voidAbstractDatabaseEngine. loadEntity(DbEntity entity)voidDatabaseEngine. loadEntity(DbEntity entity)Loads an entity into the engine.MappedEntityMappedEntity. setEntity(DbEntity entity)Sets the entity.voidAbstractDatabaseEngine. updateEntity(DbEntity entity)Updates an entity in the engine.voidDatabaseEngine. updateEntity(DbEntity entity)Updates an entity in the engine. -
Uses of DbEntity in com.feedzai.commons.sql.abstraction.engine.impl
Methods in com.feedzai.commons.sql.abstraction.engine.impl with parameters of type DbEntity Modifier and Type Method Description protected voidDB2Engine. addColumn(DbEntity entity, DbColumn... columns)protected voidH2Engine. addColumn(DbEntity entity, DbColumn... columns)protected voidMySqlEngine. addColumn(DbEntity entity, DbColumn... columns)protected voidOracleEngine. addColumn(DbEntity entity, DbColumn... columns)protected voidPostgreSqlEngine. addColumn(DbEntity entity, DbColumn... columns)protected voidSqlServerEngine. addColumn(DbEntity entity, DbColumn... columns)protected voidCockroachDBEngine. addFks(DbEntity entity, Set<DbFk> fks)protected voidDB2Engine. addFks(DbEntity entity, Set<DbFk> fks)protected voidH2Engine. addFks(DbEntity entity, Set<DbFk> fks)protected voidMySqlEngine. addFks(DbEntity entity, Set<DbFk> fks)protected voidOracleEngine. addFks(DbEntity entity, Set<DbFk> fks)protected voidPostgreSqlEngine. addFks(DbEntity entity, Set<DbFk> fks)protected voidSqlServerEngine. addFks(DbEntity entity, Set<DbFk> fks)protected voidDB2Engine. addIndexes(DbEntity entity)protected voidH2Engine. addIndexes(DbEntity entity)protected voidMySqlEngine. addIndexes(DbEntity entity)protected voidOracleEngine. addIndexes(DbEntity entity)protected voidPostgreSqlEngine. addIndexes(DbEntity entity)protected voidSqlServerEngine. addIndexes(DbEntity entity)protected voidCockroachDBEngine. addPrimaryKey(DbEntity entity)protected voidDB2Engine. addPrimaryKey(DbEntity entity)protected voidH2Engine. addPrimaryKey(DbEntity entity)protected voidMySqlEngine. addPrimaryKey(DbEntity entity)protected voidOracleEngine. addPrimaryKey(DbEntity entity)protected voidPostgreSqlEngine. addPrimaryKey(DbEntity entity)protected voidSqlServerEngine. addPrimaryKey(DbEntity entity)protected voidCockroachDBEngine. addSequences(DbEntity entity)protected voidDB2Engine. addSequences(DbEntity entity)protected voidH2Engine. addSequences(DbEntity entity)protected voidMySqlEngine. addSequences(DbEntity entity)protected voidOracleEngine. addSequences(DbEntity entity)protected voidPostgreSqlEngine. addSequences(DbEntity entity)protected voidSqlServerEngine. addSequences(DbEntity entity)protected MappedEntityDB2Engine. createPreparedStatementForInserts(DbEntity entity)protected MappedEntityH2Engine. createPreparedStatementForInserts(DbEntity entity)protected MappedEntityMySqlEngine. createPreparedStatementForInserts(DbEntity entity)protected MappedEntityOracleEngine. createPreparedStatementForInserts(DbEntity entity)protected MappedEntityPostgreSqlEngine. createPreparedStatementForInserts(DbEntity entity)protected MappedEntitySqlServerEngine. createPreparedStatementForInserts(DbEntity entity)protected voidCockroachDBEngine. createTable(DbEntity entity)protected voidDB2Engine. createTable(DbEntity entity)protected voidH2Engine. createTable(DbEntity entity)protected voidMySqlEngine. createTable(DbEntity entity)protected voidOracleEngine. createTable(DbEntity entity)protected voidPostgreSqlEngine. createTable(DbEntity entity)protected voidSqlServerEngine. createTable(DbEntity entity)protected voidDB2Engine. dropColumn(DbEntity entity, String... columns)protected voidH2Engine. dropColumn(DbEntity entity, String... columns)protected voidMySqlEngine. dropColumn(DbEntity entity, String... columns)protected voidOracleEngine. dropColumn(DbEntity entity, String... columns)protected voidPostgreSqlEngine. dropColumn(DbEntity entity, String... columns)protected voidSqlServerEngine. dropColumn(DbEntity entity, String... columns)protected voidMySqlEngine. dropReferringFks(DbEntity entity)protected voidSqlServerEngine. dropReferringFks(DbEntity entity)protected voidCockroachDBEngine. dropSequences(DbEntity entity)protected voidDB2Engine. dropSequences(DbEntity entity)protected voidH2Engine. dropSequences(DbEntity entity)protected voidMySqlEngine. dropSequences(DbEntity entity)protected voidOracleEngine. dropSequences(DbEntity entity)protected voidPostgreSqlEngine. dropSequences(DbEntity entity)protected voidSqlServerEngine. dropSequences(DbEntity entity)protected voidDB2Engine. dropTable(DbEntity entity)protected voidH2Engine. dropTable(DbEntity entity)protected voidMySqlEngine. dropTable(DbEntity entity)protected voidOracleEngine. dropTable(DbEntity entity)protected voidPostgreSqlEngine. dropTable(DbEntity entity)protected voidSqlServerEngine. dropTable(DbEntity entity)protected intDB2Engine. entityToPreparedStatement(DbEntity entity, PreparedStatement ps, EntityEntry entry, boolean useAutoInc)protected intH2Engine. entityToPreparedStatement(DbEntity entity, PreparedStatement ps, EntityEntry entry, boolean useAutoInc)protected intMySqlEngine. entityToPreparedStatement(DbEntity entity, PreparedStatement ps, EntityEntry entry, boolean useAutoInc)protected intOracleEngine. entityToPreparedStatement(DbEntity entity, PreparedStatement originalPs, EntityEntry entry, boolean useAutoInc)protected intPostgreSqlEngine. entityToPreparedStatement(DbEntity entity, PreparedStatement ps, EntityEntry entry, boolean useAutoInc)protected intSqlServerEngine. entityToPreparedStatement(DbEntity entity, PreparedStatement ps, EntityEntry entry, boolean useAutoInc)protected intOracleEngine. entityToPreparedStatementForBatch(DbEntity entity, PreparedStatement originalPs, EntityEntry entry, boolean useAutoInc)voidDB2Engine. updateEntity(DbEntity entity)
-