Record Class GeospatialStatistics
java.lang.Object
java.lang.Record
dev.hardwood.metadata.GeospatialStatistics
- Record Components:
bbox- bounding box, ornullif absentgeospatialTypes- list of geospatial type codes for geometry/geography column, empty list if not known. Values correspond to the ParquetGeospatialTypeenum: 0=Point, 1=LineString, 2=Polygon, 3=MultiPoint, 4=MultiLineString, 5=MultiPolygon, 6=GeometryCollection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGeospatialStatistics(BoundingBox bbox, List<Integer> geospatialTypes) Creates an instance of aGeospatialStatisticsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbbox()Returns the value of thebboxrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegeospatialTypesrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GeospatialStatistics
Creates an instance of aGeospatialStatisticsrecord class.- Parameters:
bbox- the value for thebboxrecord componentgeospatialTypes- the value for thegeospatialTypesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
bbox
-
geospatialTypes
Returns the value of thegeospatialTypesrecord component.- Returns:
- the value of the
geospatialTypesrecord component
-