IndicesRequest
, IndicesRequest.Replaceable
, Streamable
, Writeable
, TaskAwareRequest
public final class FieldCapabilitiesRequest extends ActionRequest implements IndicesRequest.Replaceable
IndicesRequest.Replaceable
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field | Description |
---|---|---|
static ParseField |
FIELDS_FIELD |
|
static java.lang.String |
NAME |
Constructor | Description |
---|---|
FieldCapabilitiesRequest() |
Modifier and Type | Method | 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.
|
getShouldStoreResult
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public static final ParseField FIELDS_FIELD
public static final java.lang.String NAME
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class ActionRequest
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class ActionRequest
java.io.IOException
public static FieldCapabilitiesRequest parseFields(XContentParser parser) throws java.io.IOException
java.io.IOException
public FieldCapabilitiesRequest fields(java.lang.String... fields)
public java.lang.String[] fields()
public FieldCapabilitiesRequest indices(java.lang.String... indices)
indices
in interface IndicesRequest.Replaceable
public FieldCapabilitiesRequest indicesOptions(IndicesOptions indicesOptions)
public java.lang.String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public ActionRequestValidationException validate()
validate
in class ActionRequest
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object