Class SimpleFieldIndex<T>

Type Parameters:
T - field's value type

public class SimpleFieldIndex<T> extends SimpleIndex<T>
An index on a simple field that is not a sub-field of a complex field.
  • Method Details

    • getIndex

      public CoreIndex1<T,ObjId> getIndex(Transaction tx)
      Description copied from class: Index
      Get this index's view of the given transaction.
      Specified by:
      getIndex in class SimpleIndex<T>
      Parameters:
      tx - transaction
      Returns:
      view of this index in tx
    • 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