Expand description
Counters for managing buffer lengths for each geometry array type.
The most memory-efficient way to construct an array from a set of geometries is to make a first pass over these geometries to count exactly how big each underlying buffer of the Arrow array must be, allocate once for exactly what you need, and then fill those buffers in a second pass. Capacity counters help with this process.
Structsยง
- Geometry
Capacity - A counter for the buffer sizes of a
GeometryArray
. - Geometry
Collection Capacity - A counter for the buffer sizes of a
GeometryCollectionArray
. - Line
String Capacity - A counter for the buffer sizes of a
LineStringArray
. - Multi
Line String Capacity - A counter for the buffer sizes of a
MultiLineStringArray
. - Multi
Point Capacity - A counter for the buffer sizes of a
MultiPointArray
. - Multi
Polygon Capacity - A counter for the buffer sizes of a
MultiPolygonArray
. - Polygon
Capacity - A counter for the buffer sizes of a
PolygonArray
. - WkbCapacity
- A counter for the buffer sizes of a
GenericWkbArray
.