Class BucketState
java.lang.Object
com.illumon.iris.clientsupport.plotdownsampling.BucketState
Represents a given "pixel" in the downsampled output - the first and last value within that pixel, and the
max/min value of each column we're interested in within that pixel.
The arrays of values for a given downsampled table are shared between all states, so each BucketState instance
tracks its own offset in those arrays.
-
Constructor Summary
ConstructorsConstructorDescriptionBucketState(long key, int offset, ValueTracker[] valueTrackers, boolean trackNulls) -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(long rowIndex, Chunk<? extends Attributes.Values>[] valueChunks, int chunkIndex) voidclose()getIndex()longgetKey()longvoidremove(long rowIndex) voidrescanIfNeeded(DownsampleChunkContext context) voidshift(IndexShiftData shiftData) toString()voidupdate(long rowIndex, Chunk<? extends Attributes.Values>[] valueChunks, int chunkIndex) voidvalidate(boolean usePrev, DownsampleChunkContext context, int[] allYColumnIndexes)