public class SQLiteTable extends Table
Table.Column, Table.ForeignKey
Constructor and Description |
---|
SQLiteTable() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
colQC() |
protected java.util.List<java.lang.String> |
findSequences(java.lang.String tableName,
java.sql.Connection connection) |
protected java.lang.String |
getColumnTypeSQL(SFieldScalar field) |
protected java.lang.String |
sqlDefinition_CreateSequence(java.lang.String sequence,
java.lang.String table)
Returns the full "CREATE SEQUENCE seqName"
|
protected java.lang.String |
sqlDefinition_DropIndex(java.lang.String indexName) |
protected boolean |
supportsConstraintModification() |
protected boolean |
supportsDropColumn() |
protected java.lang.String |
valueToQueryLiteral(java.lang.Object value,
SFieldScalar field)
In some cases, we put the value of the column directly into the query.
|
protected java.lang.String |
valueToQueryLiteral(java.lang.Object value,
java.lang.String columnType) |
buildFor, buildFor, buildFor, buildNew, getColumnDDL, getColumns, getConstraintDDL, getPhase1AlterDDL, getPhase2AlterDDL, getTableCreateDDL, getTableName, qc, sqlDefinition_CreateForeignKeys, sqlDefinition_CreateIndex, sqlDefinition_Table, tableExists
protected boolean supportsConstraintModification()
supportsConstraintModification
in class Table
protected java.util.List<java.lang.String> findSequences(java.lang.String tableName, java.sql.Connection connection) throws java.sql.SQLException
findSequences
in class Table
java.sql.SQLException
protected java.lang.String sqlDefinition_CreateSequence(java.lang.String sequence, java.lang.String table)
Table
sqlDefinition_CreateSequence
in class Table
protected java.lang.String sqlDefinition_DropIndex(java.lang.String indexName)
sqlDefinition_DropIndex
in class Table
protected java.lang.String getColumnTypeSQL(SFieldScalar field)
getColumnTypeSQL
in class Table
protected boolean supportsDropColumn()
supportsDropColumn
in class Table
protected java.lang.String valueToQueryLiteral(java.lang.Object value, SFieldScalar field)
Table
valueToQueryLiteral
in class Table
protected java.lang.String valueToQueryLiteral(java.lang.Object value, java.lang.String columnType)
valueToQueryLiteral
in class Table