public class FieldStatsRequest extends BroadcastRequest<FieldStatsRequest>
TransportRequest.Empty
IndicesRequest.Replaceable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_LEVEL |
indices
Constructor and Description |
---|
FieldStatsRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getFields() |
IndexConstraint[] |
getIndexConstraints() |
java.lang.String |
level() |
void |
level(java.lang.String level) |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
void |
setFields(java.lang.String[] fields) |
void |
setIndexConstraints(IndexConstraint[] indexConstraints) |
void |
setUseCache(boolean useCache) |
boolean |
shouldUseCache() |
void |
source(XContentParser parser) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
indices, indices, indicesOptions, indicesOptions
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
public static final java.lang.String DEFAULT_LEVEL
public java.lang.String[] getFields()
public void setFields(java.lang.String[] fields)
public void setUseCache(boolean useCache)
public boolean shouldUseCache()
public IndexConstraint[] getIndexConstraints()
public void setIndexConstraints(IndexConstraint[] indexConstraints)
public void source(XContentParser parser) throws java.io.IOException
java.io.IOException
public java.lang.String level()
public void level(java.lang.String level)
public ActionRequestValidationException validate()
validate
in class BroadcastRequest<FieldStatsRequest>
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BroadcastRequest<FieldStatsRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class BroadcastRequest<FieldStatsRequest>
java.io.IOException