Class MapKeyIndex<K,V>

Type Parameters:
K - map key type
V - map value type

public class MapKeyIndex<K,V> extends ComplexSubFieldIndex<NavigableMap<K,V>,K>
An index on the keys of a map field.
  • 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