Class H2TreeIndexBase

  • All Implemented Interfaces:
    org.h2.engine.DbObject, org.h2.index.Index, org.h2.schema.SchemaObject
    Direct Known Subclasses:
    H2TreeClientIndex, H2TreeIndex

    public abstract class H2TreeIndexBase
    extends GridH2IndexBase
    H2 tree index base.
    • 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
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected H2TreeIndexBase​(GridH2Table tbl, String name, org.h2.table.IndexColumn[] cols, org.h2.index.IndexType type)
      Constructor.
    • Constructor Detail

      • H2TreeIndexBase

        protected H2TreeIndexBase​(GridH2Table tbl,
                                  String name,
                                  org.h2.table.IndexColumn[] cols,
                                  org.h2.index.IndexType type)
        Constructor.
        Parameters:
        tbl - Table.
    • Method Detail

      • 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> allColumnsSet)
      • canGetFirstOrLast

        public boolean canGetFirstOrLast()