Class GeospatialStatistics

java.lang.Object
org.apache.parquet.format.GeospatialStatistics
All Implemented Interfaces:
Serializable, Cloneable, Comparable<GeospatialStatistics>, org.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.23.0)", date="2026-08-06") public class GeospatialStatistics extends Object implements org.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>, Serializable, Cloneable, Comparable<GeospatialStatistics>
Statistics specific to Geometry and Geography logical types
See Also:
  • Field Details

    • bbox

      public BoundingBox bbox
      A bounding box of geospatial instances
    • geospatial_types

      public List<Integer> geospatial_types
      Geospatial type codes of all instances, or an empty list if not known
    • metaDataMap

      public static final Map<GeospatialStatistics._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • GeospatialStatistics

      public GeospatialStatistics()
    • GeospatialStatistics

      public GeospatialStatistics(GeospatialStatistics other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public GeospatialStatistics deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
    • getBbox

      public BoundingBox getBbox()
      A bounding box of geospatial instances
    • setBbox

      public GeospatialStatistics setBbox(BoundingBox bbox)
      A bounding box of geospatial instances
    • unsetBbox

      public void unsetBbox()
    • isSetBbox

      public boolean isSetBbox()
      Returns true if field bbox is set (has been assigned a value) and false otherwise
    • setBboxIsSet

      public void setBboxIsSet(boolean value)
    • getGeospatial_typesSize

      public int getGeospatial_typesSize()
    • getGeospatial_typesIterator

      public Iterator<Integer> getGeospatial_typesIterator()
    • addToGeospatial_types

      public void addToGeospatial_types(int elem)
    • getGeospatial_types

      public List<Integer> getGeospatial_types()
      Geospatial type codes of all instances, or an empty list if not known
    • setGeospatial_types

      public GeospatialStatistics setGeospatial_types(List<Integer> geospatial_types)
      Geospatial type codes of all instances, or an empty list if not known
    • unsetGeospatial_types

      public void unsetGeospatial_types()
    • isSetGeospatial_types

      public boolean isSetGeospatial_types()
      Returns true if field geospatial_types is set (has been assigned a value) and false otherwise
    • setGeospatial_typesIsSet

      public void setGeospatial_typesIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(GeospatialStatistics._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
    • getFieldValue

      public Object getFieldValue(GeospatialStatistics._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
    • isSet

      public boolean isSet(GeospatialStatistics._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(GeospatialStatistics that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(GeospatialStatistics other)
      Specified by:
      compareTo in interface Comparable<GeospatialStatistics>
    • fieldForId

      public GeospatialStatistics._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • write

      public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException