Class CompositeIndex


public class CompositeIndex extends Index
A composite index on two or more fields in an ObjType.
  • Method Details

    • visit

      public <R> R visit(IndexSwitch<R> target)
      Description copied from class: Index
      Apply visitor pattern.
      Specified by:
      visit in class Index
      Type Parameters:
      R - visitor return type
      Parameters:
      target - target to invoke
      Returns:
      return value from the method of target corresponding to this instance's type
    • toString

      public String toString()
      Overrides:
      toString in class Index
    • getIndex

      public AbstractCoreIndex<ObjId> getIndex(Transaction tx)
      Description copied from class: Index
      Get this index's view of the given transaction.
      Specified by:
      getIndex in class Index
      Parameters:
      tx - transaction
      Returns:
      view of this index in tx