|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.action.support.broadcast.BroadcastOperationRequest org.elasticsearch.action.admin.indices.stats.IndicesStatsRequest
public class IndicesStatsRequest
A request to get indices level stats. Allow to enable different stats to be returned.
By default, the docs(boolean)
, store(boolean)
, indexing(boolean)
are enabled. Other stats can be enabled as well.
All the stats to be returned can be cleared using clear()
, at which point, specific
stats can be enabled.
Field Summary |
---|
Fields inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequest |
---|
indices |
Constructor Summary | |
---|---|
IndicesStatsRequest()
|
Method Summary | |
---|---|
IndicesStatsRequest |
all()
Sets all flags to return all stats. |
IndicesStatsRequest |
clear()
Clears all stats. |
boolean |
docs()
|
IndicesStatsRequest |
docs(boolean docs)
|
boolean |
flush()
|
IndicesStatsRequest |
flush(boolean flush)
|
boolean |
get()
|
IndicesStatsRequest |
get(boolean get)
|
String[] |
groups()
|
IndicesStatsRequest |
groups(String... groups)
Sets specific search group stats to retrieve the stats for. |
boolean |
indexing()
|
IndicesStatsRequest |
indexing(boolean indexing)
|
IndicesStatsRequest |
indices(String... indices)
|
boolean |
merge()
|
IndicesStatsRequest |
merge(boolean merge)
|
void |
readFrom(StreamInput in)
|
boolean |
refresh()
|
IndicesStatsRequest |
refresh(boolean refresh)
|
boolean |
search()
|
IndicesStatsRequest |
search(boolean search)
|
boolean |
store()
|
IndicesStatsRequest |
store(boolean store)
|
String[] |
types()
Document types to return stats for. |
IndicesStatsRequest |
types(String... types)
Document types to return stats for. |
boolean |
warmer()
|
IndicesStatsRequest |
warmer(boolean warmer)
|
void |
writeTo(StreamOutput out)
|
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequest |
---|
beforeLocalFork, beforeStart, ignoreIndices, ignoreIndices, indices, listenerThreaded, listenerThreaded, operationThreading, operationThreading, operationThreading, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndicesStatsRequest()
Method Detail |
---|
public IndicesStatsRequest indices(String... indices)
indices
in class BroadcastOperationRequest
public IndicesStatsRequest all()
public IndicesStatsRequest clear()
public IndicesStatsRequest types(String... types)
indexing(boolean)
when
enabled, returning specific indexing stats for those types.
public String[] types()
indexing(boolean)
when
enabled, returning specific indexing stats for those types.
public IndicesStatsRequest groups(String... groups)
public String[] groups()
public IndicesStatsRequest docs(boolean docs)
public boolean docs()
public IndicesStatsRequest store(boolean store)
public boolean store()
public IndicesStatsRequest indexing(boolean indexing)
public boolean indexing()
public IndicesStatsRequest get(boolean get)
public boolean get()
public IndicesStatsRequest search(boolean search)
public boolean search()
public IndicesStatsRequest merge(boolean merge)
public boolean merge()
public IndicesStatsRequest refresh(boolean refresh)
public boolean refresh()
public IndicesStatsRequest flush(boolean flush)
public boolean flush()
public IndicesStatsRequest warmer(boolean warmer)
public boolean warmer()
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastOperationRequest
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastOperationRequest
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |