Package org.apache.parquet.format
Class BoundingBox
- java.lang.Object
-
- org.apache.parquet.format.BoundingBox
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<BoundingBox>,org.apache.thrift.TBase<BoundingBox,BoundingBox._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.22.0)", date="2025-12-22") public class BoundingBox extends Object implements org.apache.thrift.TBase<BoundingBox,BoundingBox._Fields>, Serializable, Cloneable, Comparable<BoundingBox>Bounding box for GEOMETRY or GEOGRAPHY type in the representation of min/max value pair of coordinates from each axis.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBoundingBox._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Constructor Summary
Constructors Constructor Description BoundingBox()BoundingBox(double xmin, double xmax, double ymin, double ymax)BoundingBox(BoundingBox other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(BoundingBox other)BoundingBoxdeepCopy()booleanequals(Object that)booleanequals(BoundingBox that)BoundingBox._FieldsfieldForId(int fieldId)ObjectgetFieldValue(BoundingBox._Fields field)doublegetMmax()doublegetMmin()doublegetXmax()doublegetXmin()doublegetYmax()doublegetYmin()doublegetZmax()doublegetZmin()inthashCode()booleanisSet(BoundingBox._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetMmax()Returns true if field mmax is set (has been assigned a value) and false otherwisebooleanisSetMmin()Returns true if field mmin is set (has been assigned a value) and false otherwisebooleanisSetXmax()Returns true if field xmax is set (has been assigned a value) and false otherwisebooleanisSetXmin()Returns true if field xmin is set (has been assigned a value) and false otherwisebooleanisSetYmax()Returns true if field ymax is set (has been assigned a value) and false otherwisebooleanisSetYmin()Returns true if field ymin is set (has been assigned a value) and false otherwisebooleanisSetZmax()Returns true if field zmax is set (has been assigned a value) and false otherwisebooleanisSetZmin()Returns true if field zmin is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(BoundingBox._Fields field, Object value)BoundingBoxsetMmax(double mmax)voidsetMmaxIsSet(boolean value)BoundingBoxsetMmin(double mmin)voidsetMminIsSet(boolean value)BoundingBoxsetXmax(double xmax)voidsetXmaxIsSet(boolean value)BoundingBoxsetXmin(double xmin)voidsetXminIsSet(boolean value)BoundingBoxsetYmax(double ymax)voidsetYmaxIsSet(boolean value)BoundingBoxsetYmin(double ymin)voidsetYminIsSet(boolean value)BoundingBoxsetZmax(double zmax)voidsetZmaxIsSet(boolean value)BoundingBoxsetZmin(double zmin)voidsetZminIsSet(boolean value)StringtoString()voidunsetMmax()voidunsetMmin()voidunsetXmax()voidunsetXmin()voidunsetYmax()voidunsetYmin()voidunsetZmax()voidunsetZmin()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
xmin
public double xmin
-
xmax
public double xmax
-
ymin
public double ymin
-
ymax
public double ymax
-
zmin
public double zmin
-
zmax
public double zmax
-
mmin
public double mmin
-
mmax
public double mmax
-
metaDataMap
public static final Map<BoundingBox._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
BoundingBox
public BoundingBox()
-
BoundingBox
public BoundingBox(double xmin, double xmax, double ymin, double ymax)
-
BoundingBox
public BoundingBox(BoundingBox other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BoundingBox deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<BoundingBox,BoundingBox._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<BoundingBox,BoundingBox._Fields>
-
getXmin
public double getXmin()
-
setXmin
public BoundingBox setXmin(double xmin)
-
unsetXmin
public void unsetXmin()
-
isSetXmin
public boolean isSetXmin()
Returns true if field xmin is set (has been assigned a value) and false otherwise
-
setXminIsSet
public void setXminIsSet(boolean value)
-
getXmax
public double getXmax()
-
setXmax
public BoundingBox setXmax(double xmax)
-
unsetXmax
public void unsetXmax()
-
isSetXmax
public boolean isSetXmax()
Returns true if field xmax is set (has been assigned a value) and false otherwise
-
setXmaxIsSet
public void setXmaxIsSet(boolean value)
-
getYmin
public double getYmin()
-
setYmin
public BoundingBox setYmin(double ymin)
-
unsetYmin
public void unsetYmin()
-
isSetYmin
public boolean isSetYmin()
Returns true if field ymin is set (has been assigned a value) and false otherwise
-
setYminIsSet
public void setYminIsSet(boolean value)
-
getYmax
public double getYmax()
-
setYmax
public BoundingBox setYmax(double ymax)
-
unsetYmax
public void unsetYmax()
-
isSetYmax
public boolean isSetYmax()
Returns true if field ymax is set (has been assigned a value) and false otherwise
-
setYmaxIsSet
public void setYmaxIsSet(boolean value)
-
getZmin
public double getZmin()
-
setZmin
public BoundingBox setZmin(double zmin)
-
unsetZmin
public void unsetZmin()
-
isSetZmin
public boolean isSetZmin()
Returns true if field zmin is set (has been assigned a value) and false otherwise
-
setZminIsSet
public void setZminIsSet(boolean value)
-
getZmax
public double getZmax()
-
setZmax
public BoundingBox setZmax(double zmax)
-
unsetZmax
public void unsetZmax()
-
isSetZmax
public boolean isSetZmax()
Returns true if field zmax is set (has been assigned a value) and false otherwise
-
setZmaxIsSet
public void setZmaxIsSet(boolean value)
-
getMmin
public double getMmin()
-
setMmin
public BoundingBox setMmin(double mmin)
-
unsetMmin
public void unsetMmin()
-
isSetMmin
public boolean isSetMmin()
Returns true if field mmin is set (has been assigned a value) and false otherwise
-
setMminIsSet
public void setMminIsSet(boolean value)
-
getMmax
public double getMmax()
-
setMmax
public BoundingBox setMmax(double mmax)
-
unsetMmax
public void unsetMmax()
-
isSetMmax
public boolean isSetMmax()
Returns true if field mmax is set (has been assigned a value) and false otherwise
-
setMmaxIsSet
public void setMmaxIsSet(boolean value)
-
setFieldValue
public void setFieldValue(BoundingBox._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<BoundingBox,BoundingBox._Fields>
-
getFieldValue
public Object getFieldValue(BoundingBox._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<BoundingBox,BoundingBox._Fields>
-
isSet
public boolean isSet(BoundingBox._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<BoundingBox,BoundingBox._Fields>
-
equals
public boolean equals(BoundingBox that)
-
compareTo
public int compareTo(BoundingBox other)
- Specified by:
compareToin interfaceComparable<BoundingBox>
-
fieldForId
public BoundingBox._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<BoundingBox,BoundingBox._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
-
-