| Package | Description |
|---|---|
| com.feedzai.commons.sql.abstraction.ddl |
Contains classes that aid on DDL creation.
|
| com.feedzai.commons.sql.abstraction.dml.dialect |
Contains an SQL builder.
|
| com.feedzai.commons.sql.abstraction.engine |
Contains the database engine core.
|
| com.feedzai.commons.sql.abstraction.engine.impl |
Database specific implementations.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<DbColumn> |
DbEntity.Builder.columns |
| Modifier and Type | Method and Description |
|---|---|
DbColumn |
DbColumn.Builder.build() |
DbColumn |
AlterColumn.getColumn()
Gets the column to change.
|
| Modifier and Type | Method and Description |
|---|---|
List<DbColumn> |
DbEntity.getColumns()
Gets the list of columns of the entity.
|
| Modifier and Type | Method and Description |
|---|---|
DbEntity.Builder |
DbEntity.Builder.addColumn(DbColumn dbColumn)
Adds a column to the entity.
|
| Modifier and Type | Method and Description |
|---|---|
DbEntity.Builder |
DbEntity.Builder.addColumn(Collection<DbColumn> dbColumn)
Adds the columns to the entity.
|
| Constructor and Description |
|---|
AlterColumn(Expression table,
DbColumn column)
Creates a new instance of
AlterColumn. |
| Constructor and Description |
|---|
DbEntity(String name,
List<DbColumn> columns,
List<DbFk> fks,
List<String> pkFields,
List<DbIndex> indexes)
Creates a new instance of
DbEntity. |
| Modifier and Type | Method and Description |
|---|---|
static AlterColumn |
SqlBuilder.alterColumn(Expression table,
DbColumn dbColumn)
Alter column operator.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractDatabaseEngine.addColumn(DbEntity entity,
DbColumn... columns)
Adds the column to an existent table.
|
protected void |
AbstractDatabaseEngine.setPreparedStatementValue(PreparedStatement ps,
int index,
DbColumn dbColumn,
Object value,
boolean fromBatch)
Sets a value in the prepared statement.
|
abstract String |
AbstractTranslator.translate(DbColumn dc)
Translates
DbColumn. |
protected String |
AbstractDatabaseEngine.translateType(DbColumn column)
Translates the type present in the given column.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MySqlEngine.addColumn(DbEntity entity,
DbColumn... columns) |
protected void |
DB2Engine.addColumn(DbEntity entity,
DbColumn... columns) |
protected void |
H2Engine.addColumn(DbEntity entity,
DbColumn... columns)
Deprecated.
|
protected void |
OracleEngine.addColumn(DbEntity entity,
DbColumn... columns) |
protected void |
SqlServerEngine.addColumn(DbEntity entity,
DbColumn... columns) |
protected void |
PostgreSqlEngine.addColumn(DbEntity entity,
DbColumn... columns) |
protected void |
MySqlEngine.setPreparedStatementValue(PreparedStatement ps,
int index,
DbColumn dbColumn,
Object value,
boolean fromBatch) |
protected void |
DB2Engine.setPreparedStatementValue(PreparedStatement ps,
int index,
DbColumn dbColumn,
Object value,
boolean fromBatch) |
protected void |
H2Engine.setPreparedStatementValue(PreparedStatement ps,
int index,
DbColumn dbColumn,
Object value,
boolean fromBatch)
Deprecated.
|
protected void |
OracleEngine.setPreparedStatementValue(PreparedStatement ps,
int index,
DbColumn dbColumn,
Object value,
boolean fromBatch) |
protected void |
SqlServerEngine.setPreparedStatementValue(PreparedStatement ps,
int index,
DbColumn dbColumn,
Object value,
boolean fromBatch) |
protected void |
PostgreSqlEngine.setPreparedStatementValue(PreparedStatement ps,
int index,
DbColumn dbColumn,
Object value,
boolean fromBatch) |
String |
DB2Translator.translate(DbColumn c) |
String |
H2Translator.translate(DbColumn c) |
String |
CockroachDBTranslator.translate(DbColumn c) |
String |
OracleTranslator.translate(DbColumn c) |
String |
SqlServerTranslator.translate(DbColumn c) |
String |
MySqlTranslator.translate(DbColumn c) |
String |
PostgreSqlTranslator.translate(DbColumn c) |
Copyright © 2023 Feedzai. All rights reserved.