public static class IndexMapReduce.Builder extends MapReduce.Builder<IndexMapReduce.Builder>
phases, timeout
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
IndexMapReduce |
build()
Construct a new IndexMapReduce operation.
|
protected IndexMapReduce.Builder |
self() |
IndexMapReduce.Builder |
withIndex(String index)
Add the index to query to the builder.
|
IndexMapReduce.Builder |
withMatchValue(BinaryValue value)
Set the query to a Match query on the builder.
|
IndexMapReduce.Builder |
withMatchValue(long value)
Set the query to a Match query on the builder.
|
IndexMapReduce.Builder |
withNamespace(Namespace namespace)
Add the namespace that the index resides in to the builder.
|
IndexMapReduce.Builder |
withRange(BinaryValue start,
BinaryValue end)
Set the query to a Range query on the builder.
|
IndexMapReduce.Builder |
withRange(long start,
long end)
Set the query to a Range query on the builder.
|
timeout, withLinkPhase, withLinkPhase, withMapPhase, withMapPhase, withMapPhase, withMapPhase, withReducePhase, withReducePhase, withReducePhase, withReducePhase
protected IndexMapReduce.Builder self()
self
in class MapReduce.Builder<IndexMapReduce.Builder>
public IndexMapReduce.Builder withNamespace(Namespace namespace)
namespace
- the namespace that the index resides inpublic IndexMapReduce.Builder withIndex(String index)
index
- the secondary index to querypublic IndexMapReduce.Builder withRange(long start, long end)
start
- The inclusive lower bound of the index queryend
- The inclusive upper bound of the index querypublic IndexMapReduce.Builder withRange(BinaryValue start, BinaryValue end)
start
- The inclusive lower bound of the index queryend
- The inclusive upper bound of the index querypublic IndexMapReduce.Builder withMatchValue(long value)
value
- the index value to matchpublic IndexMapReduce.Builder withMatchValue(BinaryValue value)
value
- the index value to matchpublic IndexMapReduce build()
Copyright © 2016. All rights reserved.