Package org.elasticsearch.action
Class OriginalIndices
java.lang.Object
org.elasticsearch.action.OriginalIndices
- All Implemented Interfaces:
IndicesRequest
public final class OriginalIndices extends java.lang.Object implements IndicesRequest
Used to keep track of original indices within internal (e.g. shard level) requests
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequest
IndicesRequest.Replaceable -
Field Summary
Fields Modifier and Type Field Description static OriginalIndicesNONE -
Constructor Summary
Constructors Constructor Description OriginalIndices(java.lang.String[] indices, IndicesOptions indicesOptions)OriginalIndices(IndicesRequest indicesRequest) -
Method Summary
Modifier and Type Method Description java.lang.String[]indices()Returns the array of indices that the action relates toIndicesOptionsindicesOptions()Returns the indices options used to resolve indices.static OriginalIndicesreadOriginalIndices(StreamInput in)java.lang.StringtoString()static voidwriteOriginalIndices(OriginalIndices originalIndices, StreamOutput out)
-
Field Details
-
Constructor Details
-
Method Details
-
indices
public java.lang.String[] indices()Description copied from interface:IndicesRequestReturns the array of indices that the action relates to- Specified by:
indicesin interfaceIndicesRequest
-
indicesOptions
Description copied from interface:IndicesRequestReturns the indices options used to resolve indices. They tell for instance whether a single index is accepted, whether an empty array will be converted to _all, and how wildcards will be expanded if needed.- Specified by:
indicesOptionsin interfaceIndicesRequest
-
readOriginalIndices
- Throws:
java.io.IOException
-
writeOriginalIndices
public static void writeOriginalIndices(OriginalIndices originalIndices, StreamOutput out) throws java.io.IOException- Throws:
java.io.IOException
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-