Class CommonStatsFlags
java.lang.Object
org.elasticsearch.action.admin.indices.stats.CommonStatsFlags
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall()
Sets all flags to return all stats.boolean
anySet()
clear()
Clears all stats.clone()
String[]
completionDataFields
(String... completionDataFields) String[]
fieldDataFields
(String... fieldDataFields) Sets specific search group stats to retrieve the stats for.getFlags()
String[]
groups()
Sets specific search group stats to retrieve the stats for.boolean
includeSegmentFileSizes
(boolean includeSegmentFileSizes) boolean
includeUnloadedSegments
(boolean includeUnloadedSegments) boolean
isSet
(CommonStatsFlags.Flag flag) set
(CommonStatsFlags.Flag flag, boolean add) void
writeTo
(StreamOutput out) Write this into the StreamOutput.
-
Field Details
-
ALL
-
NONE
-
-
Constructor Details
-
CommonStatsFlags
- Parameters:
flags
- flags to set. If no flags are supplied, default flags will be set.
-
CommonStatsFlags
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
all
Sets all flags to return all stats. -
clear
Clears all stats. -
anySet
public boolean anySet() -
getFlags
-
groups
Sets specific search group stats to retrieve the stats for. Mainly affects search when enabled. -
groups
-
fieldDataFields
Sets specific search group stats to retrieve the stats for. Mainly affects search when enabled. -
fieldDataFields
-
completionDataFields
-
completionDataFields
-
includeSegmentFileSizes
-
includeUnloadedSegments
-
includeUnloadedSegments
public boolean includeUnloadedSegments() -
includeSegmentFileSizes
public boolean includeSegmentFileSizes() -
isSet
-
set
-
clone
-