@Public public class SimpleStats extends Object
All statistics are stored in the form of a Binary, which can significantly reduce its memory consumption, but the cost is that the column type needs to be known when getting.
Modifier and Type | Field and Description |
---|---|
static SimpleStats |
EMPTY_STATS
Empty stats for 0 column number.
|
static RowType |
SCHEMA |
Constructor and Description |
---|
SimpleStats(BinaryRow minValues,
BinaryRow maxValues,
BinaryArray nullCounts) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static SimpleStats |
fromRow(InternalRow row) |
int |
hashCode() |
BinaryRow |
maxValues() |
BinaryRow |
minValues() |
BinaryArray |
nullCounts() |
InternalRow |
toRow() |
public static final RowType SCHEMA
public static final SimpleStats EMPTY_STATS
public SimpleStats(BinaryRow minValues, BinaryRow maxValues, BinaryArray nullCounts)
public BinaryRow minValues()
public BinaryRow maxValues()
public BinaryArray nullCounts()
public InternalRow toRow()
public static SimpleStats fromRow(InternalRow row)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.