Class SqlSystemIndex

  • All Implemented Interfaces:
    org.h2.engine.DbObject, org.h2.index.Index, org.h2.schema.SchemaObject

    public class SqlSystemIndex
    extends org.h2.index.BaseIndex
    Meta view H2 index.
    • Field Summary

      • Fields inherited from class org.h2.index.BaseIndex

        columnIds, columns, indexColumns, indexType, isMultiVersion, table
      • Fields inherited from class org.h2.engine.DbObjectBase

        comment, database, trace
      • Fields inherited from interface org.h2.engine.DbObject

        AGGREGATE, COMMENT, CONSTANT, CONSTRAINT, FUNCTION_ALIAS, INDEX, RIGHT, ROLE, SCHEMA, SEQUENCE, SETTING, SYNONYM, TABLE_OR_VIEW, TRIGGER, USER, USER_DATATYPE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(org.h2.engine.Session ses, org.h2.result.Row row)
      boolean canGetFirstOrLast()
      void checkRename()
      void close​(org.h2.engine.Session ses)
      org.h2.index.Cursor find​(org.h2.engine.Session ses, org.h2.result.SearchRow first, org.h2.result.SearchRow last)
      org.h2.index.Cursor findFirstOrLast​(org.h2.engine.Session ses, boolean first)
      double getCost​(org.h2.engine.Session ses, int[] masks, org.h2.table.TableFilter[] filters, int filter, org.h2.result.SortOrder sortOrder, HashSet<org.h2.table.Column> allColsSet)
      String getCreateSQL()
      long getDiskSpaceUsed()
      long getRowCount​(org.h2.engine.Session ses)
      long getRowCountApproximation()
      boolean needRebuild()
      void remove​(org.h2.engine.Session ses)
      void remove​(org.h2.engine.Session ses, org.h2.result.Row row)
      void truncate​(org.h2.engine.Session ses)
      • Methods inherited from class org.h2.index.BaseIndex

        canFindNext, canScan, checkIndexColumnTypes, commit, compareRows, createLookupBatch, find, findNext, getColumnIndex, getColumns, getCostRangeIndex, getCreateSQLForCopy, getDropSQL, getDuplicateKeyException, getIndexColumns, getIndexType, getPlanSQL, getRow, getTable, getType, initBaseIndex, isFindUsingFullTableScan, isFirstColumn, isHidden, isRowIdIndex, mayHaveNullDuplicates, removeChildrenAndResources, setSortedInsertMode
      • Methods inherited from class org.h2.schema.SchemaObjectBase

        getSchema, getSQL, initSchemaObjectBase
      • Methods inherited from class org.h2.engine.DbObjectBase

        getChildren, getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toString
      • Methods inherited from interface org.h2.engine.DbObject

        getChildren, getComment, getDatabase, getId, getName, getSQL, isTemporary, rename, setComment, setTemporary
      • Methods inherited from interface org.h2.schema.SchemaObject

        getSchema
    • Method Detail

      • close

        public void close​(org.h2.engine.Session ses)
      • add

        public void add​(org.h2.engine.Session ses,
                        org.h2.result.Row row)
      • remove

        public void remove​(org.h2.engine.Session ses,
                           org.h2.result.Row row)
      • find

        public org.h2.index.Cursor find​(org.h2.engine.Session ses,
                                        org.h2.result.SearchRow first,
                                        org.h2.result.SearchRow last)
      • getCost

        public double getCost​(org.h2.engine.Session ses,
                              int[] masks,
                              org.h2.table.TableFilter[] filters,
                              int filter,
                              org.h2.result.SortOrder sortOrder,
                              HashSet<org.h2.table.Column> allColsSet)
      • truncate

        public void truncate​(org.h2.engine.Session ses)
      • remove

        public void remove​(org.h2.engine.Session ses)
      • checkRename

        public void checkRename()
        Specified by:
        checkRename in interface org.h2.engine.DbObject
        Specified by:
        checkRename in class org.h2.engine.DbObjectBase
      • needRebuild

        public boolean needRebuild()
      • getCreateSQL

        public String getCreateSQL()
        Specified by:
        getCreateSQL in interface org.h2.engine.DbObject
        Overrides:
        getCreateSQL in class org.h2.index.BaseIndex
      • canGetFirstOrLast

        public boolean canGetFirstOrLast()
      • findFirstOrLast

        public org.h2.index.Cursor findFirstOrLast​(org.h2.engine.Session ses,
                                                   boolean first)
      • getRowCount

        public long getRowCount​(org.h2.engine.Session ses)
      • getRowCountApproximation

        public long getRowCountApproximation()
      • getDiskSpaceUsed

        public long getDiskSpaceUsed()