public abstract class AbstractMultiIndexActionBuilder<T extends Action,K> extends AbstractAction.Builder<T,K>
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
indexNames |
cleanApiParameters, headers, parameters| Constructor and Description |
|---|
AbstractMultiIndexActionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
K |
addIndex(Collection<? extends String> indexNames) |
K |
addIndex(String indexName) |
K |
allowNoIndices(boolean allow)
Fail of wildcard indices expressions results into no concrete indices.
|
abstract T |
build() |
String |
getJoinedIndices() |
K |
ignoreUnavailable(boolean ignore)
Ignore unavailable indices, this includes indices that not exists or closed indices.
|
addCleanApiParameter, refresh, removeCleanApiParameter, resultCasing, setHeader, setHeader, setParameter, setParameter, toggleApiParameterpublic K addIndex(Collection<? extends String> indexNames)
public K ignoreUnavailable(boolean ignore)
ignore - whether to ignore unavailable indicespublic K allowNoIndices(boolean allow)
allow - whether to allow no indices.public String getJoinedIndices()
Copyright © 2017. All rights reserved.