IndicesRequest
, IndicesRequest.Replaceable
, Streamable
, Writeable
, TaskAwareRequest
public class ClearIndicesCacheRequest extends BroadcastRequest<ClearIndicesCacheRequest>
IndicesRequest.Replaceable
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
indices
Constructor | Description |
---|---|
ClearIndicesCacheRequest() |
|
ClearIndicesCacheRequest(java.lang.String... indices) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
fieldDataCache() |
|
ClearIndicesCacheRequest |
fieldDataCache(boolean fieldDataCache) |
|
java.lang.String[] |
fields() |
|
ClearIndicesCacheRequest |
fields(java.lang.String... fields) |
|
boolean |
queryCache() |
|
ClearIndicesCacheRequest |
queryCache(boolean queryCache) |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
boolean |
requestCache() |
|
ClearIndicesCacheRequest |
requestCache(boolean requestCache) |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResult
indices, indices, indicesOptions, indicesOptions, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public ClearIndicesCacheRequest()
public ClearIndicesCacheRequest(java.lang.String... indices)
public boolean queryCache()
public ClearIndicesCacheRequest queryCache(boolean queryCache)
public boolean requestCache()
public ClearIndicesCacheRequest requestCache(boolean requestCache)
public boolean fieldDataCache()
public ClearIndicesCacheRequest fieldDataCache(boolean fieldDataCache)
public ClearIndicesCacheRequest fields(java.lang.String... fields)
public java.lang.String[] fields()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BroadcastRequest<ClearIndicesCacheRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class BroadcastRequest<ClearIndicesCacheRequest>
java.io.IOException