public class TimeRangeStatistic extends FieldStatistic<TimeRangeStatistic.TimeRangeValue>
Modifier and Type | Class and Description |
---|---|
static class |
TimeRangeStatistic.TimeRangeValue |
Modifier and Type | Field and Description |
---|---|
static FieldStatisticType<TimeRangeStatistic.TimeRangeValue> |
STATS_TYPE |
cachedStatisticId, DEFAULT_TAG, INTERNAL_TAG
Constructor and Description |
---|
TimeRangeStatistic() |
TimeRangeStatistic(String typeName,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
TimeRangeStatistic.TimeRangeValue |
createEmpty()
Create a new value for this statistic, initialized to a base state (no entries ingested).
|
String |
getDescription()
Get a human-readable description of this statistic.
|
boolean |
isCompatibleWith(Class<?> fieldClass)
Determine if the statistic is compatible with the given class.
|
byteLength, generateGroupId, generateStatisticId, getFieldName, getId, getTypeName, readBytes, setFieldName, setTypeName, toString, writeBytes
fromBinary, getBinningStrategy, getStatisticType, getTag, isInternal, setBinningStrategy, setInternal, setTag, toBinary
public static final FieldStatisticType<TimeRangeStatistic.TimeRangeValue> STATS_TYPE
public String getDescription()
Statistic
getDescription
in class Statistic<TimeRangeStatistic.TimeRangeValue>
public TimeRangeStatistic.TimeRangeValue createEmpty()
Statistic
createEmpty
in class Statistic<TimeRangeStatistic.TimeRangeValue>
public boolean isCompatibleWith(Class<?> fieldClass)
Statistic
isCompatibleWith
in class FieldStatistic<TimeRangeStatistic.TimeRangeValue>
fieldClass
- the class to checktrue
if the statistic is compatibleCopyright © 2013–2022. All rights reserved.