Uses of Class
com.github.tadukoo.database.mysql.syntax.ColumnDefinition
Package
Description
Contains
DatabasePojo
, which can be used to store and
retrieve the pojo values from a Database
Contains syntax elements to help build SQL statements
Contains classes for creating MySQL statements
-
Uses of ColumnDefinition in com.github.tadukoo.database.mysql.pojo
Modifier and TypeFieldDescriptionprivate final Map<String,
ColumnDefinition> AbstractDatabasePojo.columnDefMap
The Map ofcolumn definitions
for this pojoModifier and TypeMethodDescriptiondefault ColumnDefinition
DatabasePojo.getColumnDefByKey
(String key) Retrieve aColumnDefinition
from the Map using the given keyModifier and TypeMethodDescriptionAbstractDatabasePojo.getColumnDefs()
DatabasePojo.getColumnDefs()
Modifier and TypeMethodDescriptiondefault void
DatabasePojo.addColumnDef
(ColumnDefinition columnDef) Adds the givenColumnDefinition
to the Map ofcolumn definitions
default void
DatabasePojo.addColumnDef
(ColumnDefinition columnDef, Object value) Adds the givenColumnDefinition
to the Map ofcolumn definitions
and sets the column value to the given value -
Uses of ColumnDefinition in com.github.tadukoo.database.mysql.syntax
Modifier and TypeMethodDescriptionColumnDefinition.Build.build()
Constructs a newColumnDefinition
using the set parametersColumnDefinition.Builder.build()
Constructs a newColumnDefinition
using the set parametersModifier and TypeMethodDescriptionForeignKeyConstraint.ColumnNames.columnDefs
(ColumnDefinition... columnDefs) ForeignKeyConstraint.ForeignKeyConstraintBuilder.columnDefs
(ColumnDefinition... columnDefs) static Object
SQLSyntaxUtil.getValueBasedOnColumnDefinition
(ResultSet resultSet, String tableName, ColumnDefinition columnDef) Extracts a value from the givenResultSet
based on the info in the givenColumnDefinition
ForeignKeyConstraint.ForeignKeyConstraintBuilder.referenceColumnDefs
(ColumnDefinition... referenceColumnDefs) ForeignKeyConstraint.ReferenceColumnNames.referenceColumnDefs
(ColumnDefinition... referenceColumnDefs) Modifier and TypeMethodDescriptionForeignKeyConstraint.ColumnNames.columnDefs
(List<ColumnDefinition> columnDefs) ForeignKeyConstraint.ForeignKeyConstraintBuilder.columnDefs
(List<ColumnDefinition> columnDefs) ForeignKeyConstraint.ForeignKeyConstraintBuilder.referenceColumnDefs
(List<ColumnDefinition> referenceColumnDefs) ForeignKeyConstraint.ReferenceColumnNames.referenceColumnDefs
(List<ColumnDefinition> referenceColumnDefs) -
Uses of ColumnDefinition in com.github.tadukoo.database.mysql.syntax.statement
Modifier and TypeFieldDescriptionprivate final ColumnDefinition
SQLAlterStatement.columnDef
Thecolumn definition
to be usedprivate ColumnDefinition
SQLAlterStatement.SQLAlterStatementBuilder.columnDef
Thecolumn definition
to be usedModifier and TypeFieldDescriptionprivate final List<ColumnDefinition>
SQLCreateStatement.columns
Thecolumns
to create in the tableprivate List<ColumnDefinition>
SQLCreateStatement.SQLCreateStatementBuilder.columns
Thecolumns
to create in the tableModifier and TypeMethodDescriptionSQLAlterStatement.ColumnDef.columnDef
(ColumnDefinition columnDef) SQLAlterStatement.SQLAlterStatementBuilder.columnDef
(ColumnDefinition columnDef) SQLCreateStatement.AsOrColumns.columns
(ColumnDefinition... columns) SQLCreateStatement.SQLCreateStatementBuilder.columns
(ColumnDefinition... columns) Modifier and TypeMethodDescriptionSQLCreateStatement.AsOrColumns.columns
(List<ColumnDefinition> columns) SQLCreateStatement.SQLCreateStatementBuilder.columns
(List<ColumnDefinition> columns) ModifierConstructorDescriptionprivate
SQLAlterStatement
(SQLType type, String tableName, SQLColumnOperation operation, String columnName, ColumnDefinition columnDef, ForeignKeyConstraint foreignKey) Constructs aSQLAlterStatement
using the given parametersModifierConstructorDescriptionprivate
SQLCreateStatement
(SQLType type, boolean ifNotExists, String name, SQLSelectStatement selectStmt, List<ColumnDefinition> columns, List<ForeignKeyConstraint> foreignKeys) Constructs a newSQLCreateStatement
with the given parameters