MySQL  8.0.27
Source Code Documentation
WKB_scanner_event_handler Class Referenceabstract

#include <spatial.h>

Inheritance diagram for WKB_scanner_event_handler:
GeomColl_component_counter Geometry_grouper< Base_type > Geometry_well_formed_checker Is_empty_geometry Point_accumulator

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 Geometry_grouper< Base_type >, Geometry_well_formed_checker, GeomColl_component_counter, and Is_empty_geometry.

◆ 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_grouper< Base_type >, Point_accumulator, GeomColl_component_counter, Is_empty_geometry, and Geometry_well_formed_checker.


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