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.23.0)",
date="2026-08-06")
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:
-
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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBoundingBox(double xmin, double xmax, double ymin, double ymax) BoundingBox(BoundingBox other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(BoundingBox other) deepCopy()booleanbooleanequals(BoundingBox that) fieldForId(int fieldId) getFieldValue(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 otherwisebooleanReturns true if field mmax is set (has been assigned a value) and false otherwisebooleanReturns true if field mmin is set (has been assigned a value) and false otherwisebooleanReturns true if field xmax is set (has been assigned a value) and false otherwisebooleanReturns true if field xmin is set (has been assigned a value) and false otherwisebooleanReturns true if field ymax is set (has been assigned a value) and false otherwisebooleanReturns true if field ymin is set (has been assigned a value) and false otherwisebooleanReturns true if field zmax is set (has been assigned a value) and false otherwisebooleanReturns 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) setMmax(double mmax) voidsetMmaxIsSet(boolean value) setMmin(double mmin) voidsetMminIsSet(boolean value) setXmax(double xmax) voidsetXmaxIsSet(boolean value) setXmin(double xmin) voidsetXminIsSet(boolean value) setYmax(double ymax) voidsetYmaxIsSet(boolean value) setYmin(double ymin) voidsetYminIsSet(boolean value) setZmax(double zmax) voidsetZmaxIsSet(boolean value) setZmin(double zmin) voidsetZminIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
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
-
-
Constructor Details
-
BoundingBox
public BoundingBox() -
BoundingBox
public BoundingBox(double xmin, double xmax, double ymin, double ymax) -
BoundingBox
Performs a deep copy on other.
-
-
Method Details
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<BoundingBox,BoundingBox._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<BoundingBox,BoundingBox._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<BoundingBox,BoundingBox._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<BoundingBox>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-