Package org.apache.iceberg
Class MetricsUtil.ReadableColMetricsStruct
- java.lang.Object
-
- org.apache.iceberg.MetricsUtil.ReadableColMetricsStruct
-
- All Implemented Interfaces:
StructLike
- Enclosing class:
- MetricsUtil
public static class MetricsUtil.ReadableColMetricsStruct extends java.lang.Object implements StructLike
A struct of readable metric values for a primitive column
-
-
Constructor Summary
Constructors Constructor Description ReadableColMetricsStruct(java.lang.String columnName, Types.NestedField projection, java.lang.Object... metrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
get(int pos, java.lang.Class<T> javaClass)
<T> void
set(int pos, T value)
int
size()
-
-
-
Constructor Detail
-
ReadableColMetricsStruct
public ReadableColMetricsStruct(java.lang.String columnName, Types.NestedField projection, java.lang.Object... metrics)
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceStructLike
-
get
public <T> T get(int pos, java.lang.Class<T> javaClass)
- Specified by:
get
in interfaceStructLike
-
set
public <T> void set(int pos, T value)
- Specified by:
set
in interfaceStructLike
-
-