Package org.apache.lucene.index
Class TermState
- java.lang.Object
-
- org.apache.lucene.index.TermState
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
OrdTermState
public abstract class TermState extends Object implements Cloneable
Encapsulates all required internal state to position the associatedTermsEnum
without re-seeking.- See Also:
TermsEnum.seekExact(org.apache.lucene.util.BytesRef, TermState)
,TermsEnum.termState()
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
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 instanceString
toString()
-