MySQL 8.4.2
Source Code Documentation
|
#include <spatial.h>
Public Member Functions | |
virtual | ~WKB_scanner_event_handler ()=default |
virtual void | on_wkb_start (Geometry::wkbByteOrder bo, Geometry::wkbType geotype, const void *wkb, uint32 len, bool has_hdr)=0 |
Notified when scanner sees the start of a geometry WKB. More... | |
virtual void | on_wkb_end (const void *wkb)=0 |
Notified when scanner sees the end of a geometry WKB. More... | |
virtual bool | continue_scan () const |
|
virtualdefault |
|
inlinevirtual |
Reimplemented in Is_empty_geometry, and Geometry_well_formed_checker.
|
pure virtual |
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. |
Implemented in Is_empty_geometry, GeomColl_component_counter, Point_accumulator, Geometry_well_formed_checker, and Geometry_grouper< Base_type >.
|
pure virtual |
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. |
Implemented in Geometry_well_formed_checker, Is_empty_geometry, GeomColl_component_counter, Point_accumulator, and Geometry_grouper< Base_type >.