Package org.apache.lucene.index
Class TermState
- java.lang.Object
-
- org.apache.lucene.index.TermState
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
OrdTermState
public abstract class TermState extends java.lang.Object implements java.lang.Cloneable
Encapsulates all required internal state to position the associatedTermsEnum
without re-seeking.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TermState()
Sole constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TermState
clone()
abstract void
copyFrom(TermState other)
Copies the content of the givenTermState
to this instancejava.lang.String
toString()
-
-
-
Method Detail
-
copyFrom
public abstract void copyFrom(TermState other)
Copies the content of the givenTermState
to this instance- Parameters:
other
- the TermState to copy
-
clone
public TermState clone()
- Overrides:
clone
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-