Class DoubleMeanHolder
java.lang.Object
org.apache.druid.query.aggregation.mean.DoubleMeanHolder
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DoubleMeanHolderfromBytes(byte[] data) static DoubleMeanHolderget(ByteBuffer buf, int position) inthashCode()static voidinit(ByteBuffer buf, int position) doublemean()byte[]toBytes()voidupdate(double sum) static voidupdate(ByteBuffer buf, int position, double sum) static voidupdate(ByteBuffer buf, int position, DoubleMeanHolder other) update(DoubleMeanHolder other)
-
Field Details
-
MAX_INTERMEDIATE_SIZE
public static final int MAX_INTERMEDIATE_SIZE- See Also:
-
COMPARATOR
-
-
Constructor Details
-
DoubleMeanHolder
public DoubleMeanHolder(double sum, long count)
-
-
Method Details