Enum Class IndexedDISI.Method

java.lang.Object
java.lang.Enum<IndexedDISI.Method>
org.apache.lucene.backward_codecs.lucene70.IndexedDISI.Method
All Implemented Interfaces:
Serializable, Comparable<IndexedDISI.Method>, Constable
Enclosing class:
IndexedDISI

static enum IndexedDISI.Method extends Enum<IndexedDISI.Method>
  • Enum Constant Details

  • Constructor Details

    • Method

      private Method()
  • Method Details

    • values

      public static IndexedDISI.Method[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IndexedDISI.Method valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • advanceWithinBlock

      abstract boolean advanceWithinBlock(IndexedDISI disi, int target) throws IOException
      Advance to the first doc from the block that is equal to or greater than target. Return true if there is such a doc and false otherwise.
      Throws:
      IOException
    • advanceExactWithinBlock

      abstract boolean advanceExactWithinBlock(IndexedDISI disi, int target) throws IOException
      Advance the iterator exactly to the position corresponding to the given target and return whether this document exists.
      Throws:
      IOException