public class IndicesOptions
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
allowAliasesToMultipleIndices() |
boolean |
allowNoIndices() |
boolean |
expandWildcardsClosed() |
boolean |
expandWildcardsOpen() |
boolean |
forbidClosedIndices() |
static IndicesOptions |
fromMap(java.util.Map<java.lang.String,java.lang.Object> map,
IndicesOptions defaultSettings) |
static IndicesOptions |
fromOptions(boolean ignoreUnavailable,
boolean allowNoIndices,
boolean expandToOpenIndices,
boolean expandToClosedIndices) |
static IndicesOptions |
fromOptions(boolean ignoreUnavailable,
boolean allowNoIndices,
boolean expandToOpenIndices,
boolean expandToClosedIndices,
IndicesOptions defaultOptions) |
static IndicesOptions |
fromParameters(java.lang.Object wildcardsString,
java.lang.Object ignoreUnavailableString,
java.lang.Object allowNoIndicesString,
IndicesOptions defaultSettings) |
static IndicesOptions |
fromRequest(RestRequest request,
IndicesOptions defaultSettings) |
boolean |
ignoreUnavailable() |
static boolean |
isIndicesOptions(java.lang.String name)
Returns true if the name represents a valid name for one of the indices option
false otherwise
|
static IndicesOptions |
lenientExpandOpen() |
static IndicesOptions |
readIndicesOptions(StreamInput in) |
static IndicesOptions |
strictExpand() |
static IndicesOptions |
strictExpandOpen() |
static IndicesOptions |
strictExpandOpenAndForbidClosed() |
static IndicesOptions |
strictSingleIndexNoExpandForbidClosed() |
java.lang.String |
toString() |
void |
writeIndicesOptions(StreamOutput out) |
public boolean ignoreUnavailable()
public boolean allowNoIndices()
public boolean expandWildcardsOpen()
public boolean expandWildcardsClosed()
public boolean forbidClosedIndices()
public boolean allowAliasesToMultipleIndices()
public void writeIndicesOptions(StreamOutput out) throws java.io.IOException
java.io.IOException
public static IndicesOptions readIndicesOptions(StreamInput in) throws java.io.IOException
java.io.IOException
public static IndicesOptions fromOptions(boolean ignoreUnavailable, boolean allowNoIndices, boolean expandToOpenIndices, boolean expandToClosedIndices)
public static IndicesOptions fromOptions(boolean ignoreUnavailable, boolean allowNoIndices, boolean expandToOpenIndices, boolean expandToClosedIndices, IndicesOptions defaultOptions)
public static IndicesOptions fromRequest(RestRequest request, IndicesOptions defaultSettings)
public static IndicesOptions fromMap(java.util.Map<java.lang.String,java.lang.Object> map, IndicesOptions defaultSettings)
public static boolean isIndicesOptions(java.lang.String name)
public static IndicesOptions fromParameters(java.lang.Object wildcardsString, java.lang.Object ignoreUnavailableString, java.lang.Object allowNoIndicesString, IndicesOptions defaultSettings)
public static IndicesOptions strictExpandOpen()
public static IndicesOptions strictExpandOpenAndForbidClosed()
public static IndicesOptions strictExpand()
public static IndicesOptions strictSingleIndexNoExpandForbidClosed()
public static IndicesOptions lenientExpandOpen()
public java.lang.String toString()
toString
in class java.lang.Object