MySQL 8.0.39
Source Code Documentation
WKB_scanner_event_handler Class Referenceabstract

#include <spatial.h>

Inheritance diagram for WKB_scanner_event_handler:
[legend]

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
 

Constructor & Destructor Documentation

◆ ~WKB_scanner_event_handler()

virtual WKB_scanner_event_handler::~WKB_scanner_event_handler ( )
virtualdefault

Member Function Documentation

◆ continue_scan()

virtual bool WKB_scanner_event_handler::continue_scan ( ) const
inlinevirtual

◆ on_wkb_end()

virtual void WKB_scanner_event_handler::on_wkb_end ( const void *  wkb)
pure virtual

Notified when scanner sees the end of a geometry WKB.

Parameters
wkbthe 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 >.

◆ on_wkb_start()

virtual void WKB_scanner_event_handler::on_wkb_start ( Geometry::wkbByteOrder  bo,
Geometry::wkbType  geotype,
const void *  wkb,
uint32  len,
bool  has_hdr 
)
pure virtual

Notified when scanner sees the start of a geometry WKB.

Parameters
bobyte order of the WKB.
geotypegeometry type of the WKB;
wkbWKB byte string, the first byte after the WKB header if any.
lenNO. of bytes of the WKB byte string starting from wkb. There can be many geometries in the [wkb, wkb+len) buffer.
has_hdrwhether 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 >.


The documentation for this class was generated from the following file: