public class Metrics
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Metrics() |
Metrics(java.lang.Long rowCount,
java.util.Map<java.lang.Integer,java.lang.Long> columnSizes,
java.util.Map<java.lang.Integer,java.lang.Long> valueCounts,
java.util.Map<java.lang.Integer,java.lang.Long> nullValueCounts,
java.util.Map<java.lang.Integer,java.lang.Long> nanValueCounts) |
Metrics(java.lang.Long rowCount,
java.util.Map<java.lang.Integer,java.lang.Long> columnSizes,
java.util.Map<java.lang.Integer,java.lang.Long> valueCounts,
java.util.Map<java.lang.Integer,java.lang.Long> nullValueCounts,
java.util.Map<java.lang.Integer,java.lang.Long> nanValueCounts,
java.util.Map<java.lang.Integer,java.nio.ByteBuffer> lowerBounds,
java.util.Map<java.lang.Integer,java.nio.ByteBuffer> upperBounds) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,java.lang.Long> |
columnSizes()
Get the number of bytes for all fields in a file.
|
java.util.Map<java.lang.Integer,java.nio.ByteBuffer> |
lowerBounds()
Get the non-null lower bound values for all fields in a file.
|
java.util.Map<java.lang.Integer,java.lang.Long> |
nanValueCounts()
Get the number of NaN values for all float and double fields in a file.
|
java.util.Map<java.lang.Integer,java.lang.Long> |
nullValueCounts()
Get the number of null values for all fields in a file.
|
java.lang.Long |
recordCount()
Get the number of records (rows) in file.
|
java.util.Map<java.lang.Integer,java.nio.ByteBuffer> |
upperBounds()
Get the non-null upper bound values for all fields in a file.
|
java.util.Map<java.lang.Integer,java.lang.Long> |
valueCounts()
Get the number of all values, including nulls, NaN and repeated.
|
public Metrics()
public Metrics(java.lang.Long rowCount, java.util.Map<java.lang.Integer,java.lang.Long> columnSizes, java.util.Map<java.lang.Integer,java.lang.Long> valueCounts, java.util.Map<java.lang.Integer,java.lang.Long> nullValueCounts, java.util.Map<java.lang.Integer,java.lang.Long> nanValueCounts)
public Metrics(java.lang.Long rowCount, java.util.Map<java.lang.Integer,java.lang.Long> columnSizes, java.util.Map<java.lang.Integer,java.lang.Long> valueCounts, java.util.Map<java.lang.Integer,java.lang.Long> nullValueCounts, java.util.Map<java.lang.Integer,java.lang.Long> nanValueCounts, java.util.Map<java.lang.Integer,java.nio.ByteBuffer> lowerBounds, java.util.Map<java.lang.Integer,java.nio.ByteBuffer> upperBounds)
public java.lang.Long recordCount()
public java.util.Map<java.lang.Integer,java.lang.Long> columnSizes()
public java.util.Map<java.lang.Integer,java.lang.Long> valueCounts()
public java.util.Map<java.lang.Integer,java.lang.Long> nullValueCounts()
public java.util.Map<java.lang.Integer,java.lang.Long> nanValueCounts()
public java.util.Map<java.lang.Integer,java.nio.ByteBuffer> lowerBounds()
ByteBuffer
back to a value, use
Conversions.fromByteBuffer(org.apache.iceberg.types.Type, java.nio.ByteBuffer)
.public java.util.Map<java.lang.Integer,java.nio.ByteBuffer> upperBounds()