public static class ByteOffsetsEnum.OfPostings extends ByteOffsetsEnum
ByteOffsetsEnum.MultiByteOffsetsEnum, ByteOffsetsEnum.OfPostingsEMPTY| Constructor and Description |
|---|
OfPostings(org.apache.lucene.util.BytesRef term,
int freq,
org.apache.lucene.index.PostingsEnum postingsEnum) |
OfPostings(org.apache.lucene.util.BytesRef term,
org.apache.lucene.index.PostingsEnum postingsEnum) |
| Modifier and Type | Method and Description |
|---|---|
int |
byteOffset() |
int |
freq() |
org.apache.lucene.index.PostingsEnum |
getPostingsEnum() |
org.apache.lucene.util.BytesRef |
getTerm() |
boolean |
nextPosition() |
close, compareTo, toStringpublic OfPostings(org.apache.lucene.util.BytesRef term,
int freq,
org.apache.lucene.index.PostingsEnum postingsEnum)
throws IOException
IOExceptionpublic OfPostings(org.apache.lucene.util.BytesRef term,
org.apache.lucene.index.PostingsEnum postingsEnum)
throws IOException
IOExceptionpublic org.apache.lucene.index.PostingsEnum getPostingsEnum()
public boolean nextPosition()
throws IOException
nextPosition in class ByteOffsetsEnumIOExceptionpublic int freq()
throws IOException
freq in class ByteOffsetsEnumIOExceptionpublic org.apache.lucene.util.BytesRef getTerm()
getTerm in class ByteOffsetsEnumpublic int byteOffset()
throws IOException
byteOffset in class ByteOffsetsEnumIOExceptionCopyright © 2019. All rights reserved.