public final class FieldCapabilitiesRequest extends ActionRequest implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.Replaceable| Modifier and Type | Field and Description |
|---|---|
static ParseField |
FIELDS_FIELD |
static java.lang.String |
NAME |
| Constructor and Description |
|---|
FieldCapabilitiesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String[] |
fields() |
FieldCapabilitiesRequest |
fields(java.lang.String... fields)
The list of field names to retrieve
|
int |
hashCode() |
java.lang.String[] |
indices()
Returns the array of indices that the action relates to
|
FieldCapabilitiesRequest |
indices(java.lang.String... indices)
The list of indices to lookup
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
FieldCapabilitiesRequest |
indicesOptions(IndicesOptions indicesOptions) |
static FieldCapabilitiesRequest |
parseFields(XContentParser parser) |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getShouldStoreResultgetParentTask, setParentTaskremoteAddress, remoteAddressclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskpublic static final ParseField FIELDS_FIELD
public static final java.lang.String NAME
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ActionRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class ActionRequestjava.io.IOExceptionpublic static FieldCapabilitiesRequest parseFields(XContentParser parser) throws java.io.IOException
java.io.IOExceptionpublic FieldCapabilitiesRequest fields(java.lang.String... fields)
public java.lang.String[] fields()
public FieldCapabilitiesRequest indices(java.lang.String... indices)
indices in interface IndicesRequest.Replaceablepublic FieldCapabilitiesRequest indicesOptions(IndicesOptions indicesOptions)
public java.lang.String[] indices()
IndicesRequestindices in interface IndicesRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic ActionRequestValidationException validate()
validate in class ActionRequestpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object