public abstract static class MultiRangeQuery.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
bytesPerDim |
protected List<MultiRangeQuery.RangeClause> |
clauses |
protected String |
field |
protected int |
numDims |
Constructor and Description |
---|
Builder(String field,
int bytesPerDim,
int numDims)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
MultiRangeQuery.Builder |
add(byte[] lowerValue,
byte[] upperValue)
Add a new clause to this
MultiRangeQuery.Builder . |
MultiRangeQuery.Builder |
add(MultiRangeQuery.RangeClause clause)
Add a new clause to this
MultiRangeQuery.Builder . |
abstract MultiRangeQuery |
build()
Create a new
MultiRangeQuery based on the parameters that have
been set on this builder. |
protected final String field
protected final int bytesPerDim
protected final int numDims
protected final List<MultiRangeQuery.RangeClause> clauses
public Builder(String field, int bytesPerDim, int numDims)
public MultiRangeQuery.Builder add(MultiRangeQuery.RangeClause clause)
MultiRangeQuery.Builder
.public MultiRangeQuery.Builder add(byte[] lowerValue, byte[] upperValue)
MultiRangeQuery.Builder
.public abstract MultiRangeQuery build()
MultiRangeQuery
based on the parameters that have
been set on this builder.Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.