Class TermsIndexWriterBase.FieldWriter
- java.lang.Object
-
- org.apache.lucene.codecs.blockterms.TermsIndexWriterBase.FieldWriter
-
- Enclosing class:
- TermsIndexWriterBase
public abstract class TermsIndexWriterBase.FieldWriter extends Object
Terms index API for a single field.
-
-
Constructor Summary
Constructors Constructor Description FieldWriter()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidadd(BytesRef text, TermStats stats, long termsFilePointer)abstract booleancheckIndexTerm(BytesRef text, TermStats stats)abstract voidfinish(long termsFilePointer)
-
-
-
Method Detail
-
checkIndexTerm
public abstract boolean checkIndexTerm(BytesRef text, TermStats stats) throws IOException
- Throws:
IOException
-
add
public abstract void add(BytesRef text, TermStats stats, long termsFilePointer) throws IOException
- Throws:
IOException
-
finish
public abstract void finish(long termsFilePointer) throws IOException- Throws:
IOException
-
-