MySQL 9.1.0
Source Code Documentation
|
Accumulate a geometry's all vertex points into a multipoint. More...
Public Member Functions | |
Point_accumulator (Gis_multi_point *mpts) | |
void | on_wkb_start (Geometry::wkbByteOrder, Geometry::wkbType geotype, const void *wkb, uint32 len, bool) override |
Notified when scanner sees the start of a geometry WKB. More... | |
void | on_wkb_end (const void *wkb) override |
Notified when scanner sees the end of a geometry WKB. More... | |
Public Member Functions inherited from WKB_scanner_event_handler | |
virtual | ~WKB_scanner_event_handler ()=default |
virtual bool | continue_scan () const |
Private Attributes | |
Gis_multi_point * | m_mpts |
const void * | pt_start |
Accumulate a geometry's all vertex points into a multipoint.
It implements the WKB_scanner_event_handler interface so as to be registered into wkb_scanner and be notified of WKB data events.
|
inlineexplicit |
|
inlineoverridevirtual |
Notified when scanner sees the end of a geometry WKB.
wkb | the position of the first byte after the WKB byte string which the scanner just scanned. |
Implements WKB_scanner_event_handler.
|
inlineoverridevirtual |
Notified when scanner sees the start of a geometry WKB.
bo | byte order of the WKB. |
geotype | geometry type of the WKB; |
wkb | WKB byte string, the first byte after the WKB header if any. |
len | NO. of bytes of the WKB byte string starting from wkb. There can be many geometries in the [wkb, wkb+len) buffer. |
has_hdr | whether there is a WKB header right before 'wkb' in the byte string. |
Implements WKB_scanner_event_handler.
|
private |
|
private |