Class MetricsUtil.ReadableColMetricsStruct

  • All Implemented Interfaces:
    Enclosing class:

    public static class MetricsUtil.ReadableColMetricsStruct
    extends java.lang.Object
    implements StructLike
    A struct of readable metric values for a primitive column
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface StructLike
      • get

        public <T> T get​(int pos,
                         java.lang.Class<T> javaClass)
        Specified by:
        get in interface StructLike
      • set

        public <T> void set​(int pos,
                            T value)
        Specified by:
        set in interface StructLike