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 com.inductiveautomation.ignition.gateway.localdb.Table
Table.Column, Table.ForeignKey, Table.PrimaryKey
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindSequences
(String tableName, Connection conn) protected String
getColumnTypeSql
(SFieldScalar field) qc()
protected void
sqlDefinition_CreateForeignKeys
(List<String> commands, List<Table.ForeignKey> fks) Should create the sql for adding the foreign keys and add them to the "commands" listprotected String
Returns the keyword(s) to use for create TABLE.Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.Table
buildFor, 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, valueToQueryLiteral
-
Constructor Details
-
HsqlTable
public HsqlTable()
-
-
Method Details
-
findSequences
- Specified by:
findSequences
in classTable
- Throws:
SQLException
-
qc
-
sqlDefinition_Table
Description copied from class:Table
Returns the keyword(s) to use for create TABLE. Default is "TABLE", but HSQL would use "CACHED TABLE"- Overrides:
sqlDefinition_Table
in classTable
-
sqlDefinition_CreateForeignKeys
Description copied from class:Table
Should create the sql for adding the foreign keys and add them to the "commands" list- Overrides:
sqlDefinition_CreateForeignKeys
in classTable
-
getColumnTypeSql
- Overrides:
getColumnTypeSql
in classTable
-