Package dev.vortex.api
Class VortexColumnStatistics
java.lang.Object
dev.vortex.api.VortexColumnStatistics
Statistics and physical size reported for one top-level column after a Vortex write.
-
Constructor Summary
ConstructorsConstructorDescriptionVortexColumnStatistics(int columnIndex, long compressedSize, long valueCount, long nullValueCount, long nanValueCount, Object lowerBound, Object upperBound) Construct native write statistics. -
Method Summary
Modifier and TypeMethodDescriptionintZero-based position of this column in the writer's Arrow schema.longCompressed bytes referenced by this column's physical layout.Lower bound represented using the corresponding Arrow scalar's Java type.Exact NaN count, or empty for non-floating-point columns.Exact null count, or empty when Vortex did not compute one for this data type.Upper bound represented using the corresponding Arrow scalar's Java type.longNumber of values in this top-level column.
-
Constructor Details
-
VortexColumnStatistics
public VortexColumnStatistics(int columnIndex, long compressedSize, long valueCount, long nullValueCount, long nanValueCount, Object lowerBound, Object upperBound) Construct native write statistics.This constructor is public so the JNI implementation can instantiate the value without reflective access. Applications should obtain instances from
VortexWriteSummary.columnStatistics().
-
-
Method Details
-
columnIndex
public int columnIndex()Zero-based position of this column in the writer's Arrow schema. -
compressedSize
public long compressedSize()Compressed bytes referenced by this column's physical layout. -
valueCount
public long valueCount()Number of values in this top-level column. -
nullValueCount
Exact null count, or empty when Vortex did not compute one for this data type. -
nanValueCount
Exact NaN count, or empty for non-floating-point columns. -
lowerBound
Lower bound represented using the corresponding Arrow scalar's Java type.Integers use
Integer,Long, orBigInteger; floating-point values useFloatorDouble; decimal values useBigDecimal; strings useString; and binary values usebyte[]. -
upperBound
Upper bound represented using the corresponding Arrow scalar's Java type.
-