Class SQLiteTable
java.lang.Object
com.inductiveautomation.ignition.gateway.localdb.Table
com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteTable
Created by colby.clegg on 11/12/2015.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.inductiveautomation.ignition.gateway.localdb.TableTable.Column, Table.ForeignKey, Table.PrimaryKey
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanAlterFrom(Table existing) Returns true if all of the modifications required can be handled through altering.colQC()findSequences(String tableName, Connection connection) protected StringgetColumnTypeSql(SFieldScalar field) protected StringsqlDefinition_CreateSequence(String sequence, String table) Returns the full "CREATE SEQUENCE seqName"protected StringsqlDefinition_DropIndex(String indexName) protected booleanprotected booleanprotected StringvalueToQueryLiteral(Object value, String columnType) protected StringvalueToQueryLiteral(Object value, SFieldScalar field) In some cases, we put the value of the column directly into the query.Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.TablebuildFor, buildFor, buildFor, buildNew, findColumn, getColumnDdl, getColumns, getConstraintDdl, getForeignKeys, getIndexName, getPhase1AlterDdl, getPhase1Transfer, getPhase2AlterDdl, getPhase2Transfer, getPrimaryKey, getTableCreateDdl, getTableName, getTransferCommand, qc, sqlDefinition_CreateForeignKeys, sqlDefinition_CreateIndex, sqlDefinition_Table, tableExists
- 
Constructor Details- 
SQLiteTablepublic SQLiteTable()
 
- 
- 
Method Details- 
supportsConstraintModificationprotected boolean supportsConstraintModification()- Overrides:
- supportsConstraintModificationin class- Table
 
- 
colQC
- 
findSequences- Specified by:
- findSequencesin class- Table
- Throws:
- SQLException
 
- 
sqlDefinition_CreateSequenceDescription copied from class:TableReturns the full "CREATE SEQUENCE seqName"- Overrides:
- sqlDefinition_CreateSequencein class- Table
 
- 
sqlDefinition_DropIndex- Overrides:
- sqlDefinition_DropIndexin class- Table
 
- 
getColumnTypeSql- Overrides:
- getColumnTypeSqlin class- Table
 
- 
supportsDropColumnprotected boolean supportsDropColumn()- Overrides:
- supportsDropColumnin class- Table
 
- 
valueToQueryLiteralDescription copied from class:TableIn some cases, we put the value of the column directly into the query. This allows us to override how it is represented in the query.- Overrides:
- valueToQueryLiteralin class- Table
 
- 
valueToQueryLiteral- Overrides:
- valueToQueryLiteralin class- Table
 
- 
canAlterFromDescription copied from class:TableReturns true if all of the modifications required can be handled through altering. If not, a new version of the table will be made.- Overrides:
- canAlterFromin class- Table
 
 
-