public final class OriginalIndices extends java.lang.Object implements IndicesRequest
IndicesRequest.Replaceable
Modifier and Type | Field and Description |
---|---|
static OriginalIndices |
NONE |
Constructor and Description |
---|
OriginalIndices(IndicesRequest indicesRequest) |
OriginalIndices(java.lang.String[] indices,
IndicesOptions indicesOptions) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
indices()
Returns the array of indices that the action relates to
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
static OriginalIndices |
readOriginalIndices(StreamInput in) |
java.lang.String |
toString() |
static void |
writeOriginalIndices(OriginalIndices originalIndices,
StreamOutput out) |
public static final OriginalIndices NONE
public OriginalIndices(IndicesRequest indicesRequest)
public OriginalIndices(java.lang.String[] indices, IndicesOptions indicesOptions)
public java.lang.String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public static OriginalIndices readOriginalIndices(StreamInput in) throws java.io.IOException
java.io.IOException
public static void writeOriginalIndices(OriginalIndices originalIndices, StreamOutput out) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object