public static class DifferingVisibilityCountStatistic.DifferingVisibilityCountValue extends StatisticValue<Long> implements StatisticsIngestCallback, StatisticsDeleteCallback
bin, NO_BIN, statistic
Constructor and Description |
---|
DifferingVisibilityCountValue() |
DifferingVisibilityCountValue(Statistic<?> statistic) |
Modifier and Type | Method and Description |
---|---|
<T> void |
entryDeleted(DataTypeAdapter<T> adapter,
T entry,
GeoWaveRow... kvs)
Called when an entry is deleted from the data store.
|
<T> void |
entryIngested(DataTypeAdapter<T> adapter,
T entry,
GeoWaveRow... rows)
Called when an entry is added to the data store.
|
void |
fromBinary(byte[] bytes)
Convert a stream of binary bytes to fields and data within an object.
|
Long |
getValue()
Get the raw value of the statistic value.
|
boolean |
isAnyEntryDifferingFieldVisiblity() |
void |
merge(Mergeable merge)
Merge another statistic value into this one.
|
byte[] |
toBinary()
Convert fields and data within an object to binary form for transmission or storage.
|
getBin, getStatistic, getValueId, getValueId, setBin, toString
public DifferingVisibilityCountValue()
public DifferingVisibilityCountValue(Statistic<?> statistic)
public boolean isAnyEntryDifferingFieldVisiblity()
public void merge(Mergeable merge)
StatisticValue
merge
in interface Mergeable
merge
in class StatisticValue<Long>
public <T> void entryIngested(DataTypeAdapter<T> adapter, T entry, GeoWaveRow... rows)
StatisticsIngestCallback
entryIngested
in interface StatisticsIngestCallback
entry
- the ingested entryrows
- the GeoWave rows associated with the entrypublic <T> void entryDeleted(DataTypeAdapter<T> adapter, T entry, GeoWaveRow... kvs)
StatisticsDeleteCallback
entryDeleted
in interface StatisticsDeleteCallback
adapter
- the data type that the entry belongs toentry
- the deleted entrykvs
- the GeoWave rows associated with the entrypublic Long getValue()
StatisticValue
getValue
in class StatisticValue<Long>
public byte[] toBinary()
Persistable
toBinary
in interface Persistable
public void fromBinary(byte[] bytes)
Persistable
fromBinary
in interface Persistable
Copyright © 2013–2022. All rights reserved.