public class IndicesStatsRequest extends BroadcastRequest<IndicesStatsRequest>
By default, all statistics are enabled.
All the stats to be returned can be cleared using clear()
, at which point, specific
stats can be enabled.
TransportRequest.Empty
IndicesRequest.Replaceable
indices
headers
Constructor and Description |
---|
IndicesStatsRequest() |
Modifier and Type | Method and Description |
---|---|
IndicesStatsRequest |
all()
Sets all flags to return all stats.
|
IndicesStatsRequest |
clear()
Clears all stats.
|
boolean |
completion() |
IndicesStatsRequest |
completion(boolean completion) |
String[] |
completionFields() |
IndicesStatsRequest |
completionFields(String... completionDataFields) |
boolean |
docs() |
IndicesStatsRequest |
docs(boolean docs) |
boolean |
fieldData() |
IndicesStatsRequest |
fieldData(boolean fieldData) |
String[] |
fieldDataFields() |
IndicesStatsRequest |
fieldDataFields(String... fieldDataFields) |
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) |
boolean |
merge() |
IndicesStatsRequest |
merge(boolean merge) |
boolean |
percolate() |
IndicesStatsRequest |
percolate(boolean percolate) |
boolean |
queryCache() |
IndicesStatsRequest |
queryCache(boolean queryCache) |
void |
readFrom(StreamInput in) |
boolean |
recovery() |
IndicesStatsRequest |
recovery(boolean recovery) |
boolean |
refresh() |
IndicesStatsRequest |
refresh(boolean refresh) |
boolean |
requestCache() |
IndicesStatsRequest |
requestCache(boolean requestCache) |
boolean |
search() |
IndicesStatsRequest |
search(boolean search) |
boolean |
segments() |
IndicesStatsRequest |
segments(boolean segments) |
boolean |
store() |
IndicesStatsRequest |
store(boolean store) |
boolean |
suggest() |
IndicesStatsRequest |
suggest(boolean suggest) |
boolean |
translog() |
IndicesStatsRequest |
translog(boolean translog) |
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) |
indices, indices, indicesOptions, indicesOptions, validate
createTask, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
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 IndicesStatsRequest queryCache(boolean queryCache)
public boolean queryCache()
public IndicesStatsRequest fieldData(boolean fieldData)
public boolean fieldData()
public IndicesStatsRequest percolate(boolean percolate)
public boolean percolate()
public IndicesStatsRequest segments(boolean segments)
public boolean segments()
public IndicesStatsRequest fieldDataFields(String... fieldDataFields)
public String[] fieldDataFields()
public IndicesStatsRequest completion(boolean completion)
public boolean completion()
public IndicesStatsRequest completionFields(String... completionDataFields)
public String[] completionFields()
public IndicesStatsRequest translog(boolean translog)
public boolean translog()
public IndicesStatsRequest suggest(boolean suggest)
public boolean suggest()
public IndicesStatsRequest requestCache(boolean requestCache)
public boolean requestCache()
public IndicesStatsRequest recovery(boolean recovery)
public boolean recovery()
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastRequest<IndicesStatsRequest>
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastRequest<IndicesStatsRequest>
IOException
Copyright © 2009–2016. All rights reserved.