public class TypesExistsRequest extends MasterNodeReadRequest<TypesExistsRequest> implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.ReplaceablelocalDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| 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, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutcreateTask, createTask, setParentTaskgetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic String[] indices()
IndicesRequestindices in interface IndicesRequestpublic TypesExistsRequest indices(String[] indices)
indices in interface IndicesRequest.Replaceablepublic String[] types()
public void types(String[] types)
public IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic TypesExistsRequest indicesOptions(IndicesOptions indicesOptions)
public ActionRequestValidationException validate()
validate in class ActionRequest<TypesExistsRequest>public void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class MasterNodeReadRequest<TypesExistsRequest>IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class MasterNodeReadRequest<TypesExistsRequest>IOExceptionCopyright © 2009–2017. All rights reserved.