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.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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionA bounding box of geospatial instancesGeospatial type codes of all instances, or an empty list if not knownstatic final Map<GeospatialStatistics._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToGeospatial_types(int elem) voidclear()intcompareTo(GeospatialStatistics other) deepCopy()booleanbooleanequals(GeospatialStatistics that) fieldForId(int fieldId) getBbox()A bounding box of geospatial instancesGeospatial type codes of all instances, or an empty list if not knownintinthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field bbox is set (has been assigned a value) and false otherwisebooleanReturns true if field geospatial_types is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setBbox(BoundingBox bbox) A bounding box of geospatial instancesvoidsetBboxIsSet(boolean value) voidsetFieldValue(GeospatialStatistics._Fields field, Object value) setGeospatial_types(List<Integer> geospatial_types) Geospatial type codes of all instances, or an empty list if not knownvoidsetGeospatial_typesIsSet(boolean value) toString()voidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
bbox
A bounding box of geospatial instances -
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
Performs a deep copy on other.
-
-
Method Details
-
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
A bounding box of geospatial instances -
setBbox
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
-
addToGeospatial_types
public void addToGeospatial_types(int elem) -
getGeospatial_types
Geospatial type codes of all instances, or an empty list if not known -
setGeospatial_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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<GeospatialStatistics,GeospatialStatistics._Fields>
-
isSet
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
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<GeospatialStatistics>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-