Package org.apache.iceberg
Class MetricsUtil.ReadableMetricsStruct
- java.lang.Object
-
- org.apache.iceberg.MetricsUtil.ReadableMetricsStruct
-
- All Implemented Interfaces:
StructLike
- Enclosing class:
- MetricsUtil
public static class MetricsUtil.ReadableMetricsStruct extends java.lang.Object implements StructLike
A struct, consisting of allMetricsUtil.ReadableColMetricsStructfor all primitive columns of the table
-
-
Constructor Summary
Constructors Constructor Description ReadableMetricsStruct(java.util.List<StructLike> columnMetrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tget(int pos, java.lang.Class<T> javaClass)<T> voidset(int pos, T value)intsize()
-
-
-
Constructor Detail
-
ReadableMetricsStruct
public ReadableMetricsStruct(java.util.List<StructLike> columnMetrics)
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceStructLike
-
get
public <T> T get(int pos, java.lang.Class<T> javaClass)- Specified by:
getin interfaceStructLike
-
set
public <T> void set(int pos, T value)- Specified by:
setin interfaceStructLike
-
-