IndicesRequest, IndicesRequest.Replaceable, Streamable, Writeable, TaskAwareRequestpublic class TypesExistsRequest extends MasterNodeReadRequest<TypesExistsRequest> implements IndicesRequest.Replaceable
IndicesRequest.ReplaceableTransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>localDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout| Constructor | Description |
|---|---|
TypesExistsRequest() |
|
TypesExistsRequest(java.lang.String[] indices,
java.lang.String... types) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
indices() |
Returns the array of indices that the action relates to
|
TypesExistsRequest |
indices(java.lang.String... indices) |
Sets the indices that the action relates to.
|
IndicesOptions |
indicesOptions() |
Returns the indices options used to resolve indices.
|
TypesExistsRequest |
indicesOptions(IndicesOptions indicesOptions) |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
java.lang.String[] |
types() |
|
void |
types(java.lang.String[] types) |
|
ActionRequestValidationException |
validate() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResultlocal, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewWriteableReadercreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic TypesExistsRequest()
public TypesExistsRequest(java.lang.String[] indices,
java.lang.String... types)
public java.lang.String[] indices()
IndicesRequestindices in interface IndicesRequestpublic TypesExistsRequest indices(java.lang.String... indices)
IndicesRequest.Replaceableindices in interface IndicesRequest.Replaceablepublic java.lang.String[] types()
public void types(java.lang.String[] types)
public IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic TypesExistsRequest indicesOptions(IndicesOptions indicesOptions)
public ActionRequestValidationException validate()
validate in class ActionRequestpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class MasterNodeReadRequest<TypesExistsRequest>java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class MasterNodeReadRequest<TypesExistsRequest>java.io.IOException