Package org.apache.parquet.format
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.22.0)", date="2025-12-22") 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeospatialStatistics._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description BoundingBoxbboxA bounding box of geospatial instancesList<Integer>geospatial_typesGeospatial type codes of all instances, or an empty list if not knownstatic Map<GeospatialStatistics._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description GeospatialStatistics()GeospatialStatistics(GeospatialStatistics other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToGeospatial_types(int elem)voidclear()intcompareTo(GeospatialStatistics other)GeospatialStatisticsdeepCopy()booleanequals(Object that)booleanequals(GeospatialStatistics that)GeospatialStatistics._FieldsfieldForId(int fieldId)BoundingBoxgetBbox()A bounding box of geospatial instancesObjectgetFieldValue(GeospatialStatistics._Fields field)List<Integer>getGeospatial_types()Geospatial type codes of all instances, or an empty list if not knownIterator<Integer>getGeospatial_typesIterator()intgetGeospatial_typesSize()inthashCode()booleanisSet(GeospatialStatistics._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBbox()Returns true if field bbox is set (has been assigned a value) and false otherwisebooleanisSetGeospatial_types()Returns true if field geospatial_types is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)GeospatialStatisticssetBbox(BoundingBox bbox)A bounding box of geospatial instancesvoidsetBboxIsSet(boolean value)voidsetFieldValue(GeospatialStatistics._Fields field, Object value)GeospatialStatisticssetGeospatial_types(List<Integer> geospatial_types)Geospatial type codes of all instances, or an empty list if not knownvoidsetGeospatial_typesIsSet(boolean value)StringtoString()voidunsetBbox()voidunsetGeospatial_types()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
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 Detail
-
GeospatialStatistics
public GeospatialStatistics()
-
GeospatialStatistics
public GeospatialStatistics(GeospatialStatistics other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public GeospatialStatistics deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.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()
-
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:
setFieldValuein interfaceorg.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
-
getFieldValue
public Object getFieldValue(GeospatialStatistics._Fields field)
- Specified by:
getFieldValuein interfaceorg.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:
isSetin interfaceorg.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
-
equals
public boolean equals(GeospatialStatistics that)
-
compareTo
public int compareTo(GeospatialStatistics other)
- Specified by:
compareToin interfaceComparable<GeospatialStatistics>
-
fieldForId
public GeospatialStatistics._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-