Class CommonStatsFlags
org.elasticsearch.action.admin.indices.stats.CommonStatsFlags
- All Implemented Interfaces:
,
Writeable
public class CommonStatsFlags
extends
implements
-
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()
[]
... completionDataFields)
[]
... fieldDataFields)
Sets specific search group stats to retrieve the stats for.getFlags()
[]
groups()
... 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)
[]
types()
Document types to return stats for.... types)
Document types to return stats for.void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.
, , , , , , , , ,
-
Field Details
-
ALL
-
NONE
-
-
Constructor Details
-
CommonStatsFlags
- Parameters:
flags
- flags to set. If no flags are supplied, default flags will be set.
-
CommonStatsFlags
- Throws:
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
all
Sets all flags to return all stats. -
clear
Clears all stats. -
anySet
public boolean anySet() -
getFlags
-
types
public ... types)Document types to return stats for. Mainly affectsCommonStatsFlags.Flag.Indexing
when enabled, returning specific indexing stats for those types. -
types
public [] types()Document types to return stats for. Mainly affectsCommonStatsFlags.Flag.Indexing
when enabled, returning specific indexing stats for those types. -
groups
public ... groups)Sets specific search group stats to retrieve the stats for. Mainly affects search when enabled. -
groups
public [] groups() -
fieldDataFields
public ... fieldDataFields)Sets specific search group stats to retrieve the stats for. Mainly affects search when enabled. -
fieldDataFields
public [] fieldDataFields() -
completionDataFields
public ... completionDataFields) -
completionDataFields
public [] completionDataFields() -
includeSegmentFileSizes
-
includeUnloadedSegments
-
includeUnloadedSegments
public boolean includeUnloadedSegments() -
includeSegmentFileSizes
public boolean includeSegmentFileSizes() -
isSet
-
set
-
clone
- Overrides:
in class
-