public class StatisticsColumnData extends Object implements Message
| Modifier and Type | Field and Description |
|---|---|
static short |
TYPE_CODE |
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
StatisticsColumnData()
Default constructor.
|
StatisticsColumnData(StatisticsDecimalMessage min,
StatisticsDecimalMessage max,
long nulls,
long distinct,
long total,
int size,
byte[] rawData,
long ver,
long createdAt)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
createdAt() |
short |
directType()
Gets message type.
|
long |
distinct() |
byte |
fieldsCount()
Gets fields count.
|
StatisticsDecimalMessage |
max() |
StatisticsDecimalMessage |
min() |
long |
nulls() |
void |
onAckReceived()
Method called when ack message received.
|
byte[] |
rawData() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
int |
size() |
long |
total() |
long |
version() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public static final short TYPE_CODE
public StatisticsColumnData()
public StatisticsColumnData(StatisticsDecimalMessage min, StatisticsDecimalMessage max, long nulls, long distinct, long total, int size, byte[] rawData, long ver, long createdAt)
min - Min value in column.max - Max value in column.nulls - Number of null values in column.distinct - Total distinct values in column.total - Total values in column.size - Average size, for variable size types (in bytes).rawData - Raw data to make statistics aggregate.ver - Statistics version.createdAt - Created at time, milliseconds.public StatisticsDecimalMessage min()
public StatisticsDecimalMessage max()
public long nulls()
public long distinct()
public long total()
public int size()
public byte[] rawData()
public long version()
public long createdAt()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic void onAckReceived()
onAckReceived in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023