MySQL 9.0.0
Source Code Documentation
GeomColl_component_counter Class Reference
Inheritance diagram for GeomColl_component_counter:
[legend]

Public Member Functions

 GeomColl_component_counter ()
 
void on_wkb_start (Geometry::wkbByteOrder, Geometry::wkbType geotype, const void *, uint32, bool) override
 Notified when scanner sees the start of a geometry WKB. More...
 
void on_wkb_end (const void *) 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
 

Public Attributes

size_t num
 

Constructor & Destructor Documentation

◆ GeomColl_component_counter()

GeomColl_component_counter::GeomColl_component_counter ( )
inline

Member Function Documentation

◆ on_wkb_end()

void GeomColl_component_counter::on_wkb_end ( const void *  wkb)
inlineoverridevirtual

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.

Implements WKB_scanner_event_handler.

◆ on_wkb_start()

void GeomColl_component_counter::on_wkb_start ( Geometry::wkbByteOrder  bo,
Geometry::wkbType  geotype,
const void *  wkb,
uint32  len,
bool  has_hdr 
)
inlineoverridevirtual

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.

Implements WKB_scanner_event_handler.

Member Data Documentation

◆ num

size_t GeomColl_component_counter::num

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