Class GenericPartitionFieldSummary

    • Constructor Detail

      • GenericPartitionFieldSummary

        public GenericPartitionFieldSummary​(org.apache.avro.Schema avroSchema)
        Used by Avro reflection to instantiate this class when reading manifest files.
      • GenericPartitionFieldSummary

        public GenericPartitionFieldSummary​(boolean containsNull,
                                            java.nio.ByteBuffer lowerBound,
                                            java.nio.ByteBuffer upperBound)
    • Method Detail

      • upperBound

        public java.nio.ByteBuffer upperBound()
        Specified by:
        upperBound in interface ManifestFile.PartitionFieldSummary
        Returns:
        a ByteBuffer that contains a serialized bound higher than all values of the field
      • 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
      • get

        public java.lang.Object get​(int i)
        Specified by:
        get in interface org.apache.avro.generic.IndexedRecord
      • set

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

        public void put​(int i,
                        java.lang.Object v)
        Specified by:
        put in interface org.apache.avro.generic.IndexedRecord
      • getSchema

        public org.apache.avro.Schema getSchema()
        Specified by:
        getSchema in interface org.apache.avro.generic.GenericContainer
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object