Class HsqlTable
java.lang.Object
com.inductiveautomation.ignition.gateway.localdb.Table
com.inductiveautomation.ignition.gateway.localdb.hsql.HsqlTable
Created by colby.clegg on 11/12/2015.
-
Nested Class Summary
Nested classes/interfaces inherited from class Table
Table.Column, Table.ForeignKey, Table.PrimaryKey -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindSequences(String tableName, Connection conn) qc()protected voidsqlDefinition_CreateForeignKeys(List<String> commands, List<Table.ForeignKey> fks) Should create the sql for adding the foreign keys and add them to the "commands" listprotected StringReturns the keyword(s) to use for create TABLE.Methods inherited from class Table
buildFor, buildFor, buildNew, canAlterFrom, colQC, findColumn, getColumnDdl, getColumns, getConstraintDdl, getForeignKeys, getIndexName, getPhase1AlterDdl, getPhase1Transfer, getPhase2AlterDdl, getPhase2Transfer, getPrimaryKey, getTableCreateDdl, getTableName, getTransferCommand, sqlDefinition_CreateIndex, sqlDefinition_CreateSequence, sqlDefinition_DropIndex, supportsConstraintModification, supportsDropColumn, tableExists, valueToQueryLiteral
-
Constructor Details
-
HsqlTable
public HsqlTable()
-
-
Method Details
-
findSequences
- Specified by:
findSequencesin classTable- Throws:
SQLException
-
qc
-
sqlDefinition_Table
Description copied from class:TableReturns the keyword(s) to use for create TABLE. Default is "TABLE", but HSQL would use "CACHED TABLE"- Overrides:
sqlDefinition_Tablein classTable
-
sqlDefinition_CreateForeignKeys
Description copied from class:TableShould create the sql for adding the foreign keys and add them to the "commands" list- Overrides:
sqlDefinition_CreateForeignKeysin classTable
-