public class TypesExistsRequest extends MasterNodeReadRequest<TypesExistsRequest> implements IndicesRequest.Replaceable
TransportRequest.Empty
IndicesRequest.Replaceable
local
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
headers
Constructor and Description |
---|
TypesExistsRequest() |
TypesExistsRequest(String[] indices,
String... types) |
Modifier and Type | Method and Description |
---|---|
String[] |
indices()
Returns the array of indices that the action relates to
|
TypesExistsRequest |
indices(String[] indices) |
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
TypesExistsRequest |
indicesOptions(IndicesOptions indicesOptions) |
void |
readFrom(StreamInput in) |
String[] |
types() |
void |
types(String[] types) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
local, local
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
createTask, createTask, setParentTask
getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public TypesExistsRequest indices(String[] indices)
indices
in interface IndicesRequest.Replaceable
public String[] types()
public void types(String[] types)
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public TypesExistsRequest indicesOptions(IndicesOptions indicesOptions)
public ActionRequestValidationException validate()
validate
in class ActionRequest<TypesExistsRequest>
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class MasterNodeReadRequest<TypesExistsRequest>
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class MasterNodeReadRequest<TypesExistsRequest>
IOException
Copyright © 2009–2016. All rights reserved.