Class SQLiteTable


  • public class SQLiteTable
    extends Table
    Created by colby.clegg on 11/12/2015.
    • Constructor Detail

      • SQLiteTable

        public SQLiteTable()
    • Method Detail

      • colQC

        public java.lang.String colQC()
        Overrides:
        colQC in class Table
      • findSequences

        protected java.util.List<java.lang.String> findSequences​(java.lang.String tableName,
                                                                 java.sql.Connection connection)
                                                          throws java.sql.SQLException
        Specified by:
        findSequences in class Table
        Throws:
        java.sql.SQLException
      • sqlDefinition_CreateSequence

        protected java.lang.String sqlDefinition_CreateSequence​(java.lang.String sequence,
                                                                java.lang.String table)
        Description copied from class: Table
        Returns the full "CREATE SEQUENCE seqName"
        Overrides:
        sqlDefinition_CreateSequence in class Table
      • sqlDefinition_DropIndex

        protected java.lang.String sqlDefinition_DropIndex​(java.lang.String indexName)
        Overrides:
        sqlDefinition_DropIndex in class Table
      • valueToQueryLiteral

        protected java.lang.String valueToQueryLiteral​(java.lang.Object value,
                                                       SFieldScalar field)
        Description copied from class: Table
        In 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:
        valueToQueryLiteral in class Table
      • valueToQueryLiteral

        protected java.lang.String valueToQueryLiteral​(java.lang.Object value,
                                                       java.lang.String columnType)
        Overrides:
        valueToQueryLiteral in class Table
      • canAlterFrom

        public boolean canAlterFrom​(Table existing)
        Description copied from class: Table
        Returns true if all of the modifications required can be handled through altering. If not, a new version of the table will be made.
        Overrides:
        canAlterFrom in class Table