public class IndicesOptions extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
allowAliasesToMultipleIndices() |
boolean |
allowNoIndices() |
boolean |
expandWildcardsClosed() |
boolean |
expandWildcardsOpen() |
boolean |
forbidClosedIndices() |
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 |
fromRequest(RestRequest request,
IndicesOptions defaultSettings) |
boolean |
ignoreUnavailable() |
static IndicesOptions |
lenient()
Deprecated.
in favor of
lenientExpandOpen() whose name makes it clearer what the method actually does. |
static IndicesOptions |
lenientExpandOpen() |
static IndicesOptions |
readIndicesOptions(StreamInput in) |
static IndicesOptions |
strict()
Deprecated.
in favor of
strictExpandOpen() whose name makes it clearer what the method actually does. |
static IndicesOptions |
strictExpand() |
static IndicesOptions |
strictExpandOpen() |
static IndicesOptions |
strictExpandOpenAndForbidClosed() |
static IndicesOptions |
strictSingleIndexNoExpandForbidClosed() |
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 IOException
IOException
public static IndicesOptions readIndicesOptions(StreamInput in) throws IOException
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)
@Deprecated public static IndicesOptions strict()
strictExpandOpen()
whose name makes it clearer what the method actually does.public static IndicesOptions strictExpandOpen()
public static IndicesOptions strictExpandOpenAndForbidClosed()
public static IndicesOptions strictExpand()
public static IndicesOptions strictSingleIndexNoExpandForbidClosed()
@Deprecated public static IndicesOptions lenient()
lenientExpandOpen()
whose name makes it clearer what the method actually does.public static IndicesOptions lenientExpandOpen()
Copyright © 2009–2015. All rights reserved.