|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 |
clear()
Clears all stats. |
boolean |
docs()
|
IndicesStatsRequest |
docs(boolean docs)
|
boolean |
flush()
|
IndicesStatsRequest |
flush(boolean flush)
|
boolean |
get()
|
IndicesStatsRequest |
get(boolean get)
|
java.lang.String[] |
groups()
|
IndicesStatsRequest |
groups(java.lang.String... groups)
Sets specific search group stats to retrieve the stats for. |
boolean |
indexing()
|
IndicesStatsRequest |
indexing(boolean indexing)
|
IndicesStatsRequest |
indices(java.lang.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)
|
java.lang.String[] |
types()
Document types to return stats for. |
IndicesStatsRequest |
types(java.lang.String... types)
Document types to return stats for. |
void |
writeTo(StreamOutput out)
|
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequest |
---|
beforeLocalFork, beforeStart, 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(java.lang.String... indices)
indices
in class BroadcastOperationRequest
public IndicesStatsRequest clear()
public IndicesStatsRequest types(java.lang.String... types)
indexing(boolean)
when
enabled, returning specific indexing stats for those types.
public java.lang.String[] types()
indexing(boolean)
when
enabled, returning specific indexing stats for those types.
public IndicesStatsRequest groups(java.lang.String... groups)
public java.lang.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 void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class BroadcastOperationRequest
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
readFrom
in class BroadcastOperationRequest
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |