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.
|
Modifier and Type | Method and Description |
---|---|
static DbColumnConstraint |
DbColumnConstraint.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbColumnConstraint[] |
DbColumnConstraint.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<DbColumnConstraint> |
DbColumn.getColumnConstraints()
Gets the immutable list of constraints in the column.
|
Modifier and Type | Method and Description |
---|---|
DbEntity.Builder |
DbEntity.Builder.addColumn(String name,
DbColumnType type,
boolean autoInc,
DbColumnConstraint... constraints)
Adds a column to the entity.
|
DbEntity.Builder |
DbEntity.Builder.addColumn(String name,
DbColumnType type,
DbColumnConstraint... constraints)
Adds a column to the entity.
|
DbEntity.Builder |
DbEntity.Builder.addColumn(String name,
DbColumnType type,
Integer size,
boolean autoInc,
DbColumnConstraint... constraints)
Adds a column to the entity.
|
DbEntity.Builder |
DbEntity.Builder.addColumn(String name,
DbColumnType type,
Integer size,
DbColumnConstraint... constraints)
Adds a column to the entity.
|
DbEntity.Builder |
DbEntity.Builder.addColumn(String name,
DbColumnType type,
K defaultValue,
DbColumnConstraint... constraints)
Adds a column to the entity.
|
DbColumn.Builder |
DbColumn.Builder.addConstraint(DbColumnConstraint dbColumnConstraint)
Adds a new constraint to this column.
|
DbColumn.Builder |
DbColumn.Builder.addConstraints(DbColumnConstraint... constraints)
Adds constraints.
|
Modifier and Type | Method and Description |
---|---|
DbColumn.Builder |
DbColumn.Builder.addConstraints(Collection<DbColumnConstraint> constraints)
Adds constraints.
|
Modifier and Type | Method and Description |
---|---|
static AlterColumn |
SqlBuilder.alterColumn(Expression table,
Name column,
DbColumnType dbColumnType,
DbColumnConstraint... constraints)
Alter column operator.
|
Copyright © 2014 Feedzai. All Rights Reserved.