public static class RoaringDocIdSet.Builder extends Object
RoaringDocIdSet
s.Constructor and Description |
---|
Builder(int maxDoc)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
RoaringDocIdSet.Builder |
add(DocIdSetIterator disi)
Add the content of the provided
DocIdSetIterator . |
RoaringDocIdSet.Builder |
add(int docId)
Add a new doc-id to this builder.
|
RoaringDocIdSet |
build()
Build an instance.
|
public RoaringDocIdSet.Builder add(int docId)
public RoaringDocIdSet.Builder add(DocIdSetIterator disi) throws IOException
DocIdSetIterator
.IOException
public RoaringDocIdSet build()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.