MySQL 8.4.3
Source Code Documentation
Json_seekable_path Class Reference

A path expression which can be used to seek to a position inside a JSON value. More...

#include <json_path.h>

Inheritance diagram for Json_seekable_path:
[legend]

Public Member Functions

size_t leg_count () const
 Return the number of legs in this searchable path. More...
 
Json_path_iterator begin () const
 Get an iterator pointing to the first path leg. More...
 
Json_path_iterator end () const
 Get an iterator pointing just past the last path leg. More...
 
const Json_path_leglast_leg () const
 Get a pointer to the last path leg. More...
 

Protected Member Functions

 Json_seekable_path (PSI_memory_key key)
 

Protected Attributes

Json_path_leg_pointers m_path_legs
 An array of pointers to the legs of the JSON path. More...
 

Detailed Description

A path expression which can be used to seek to a position inside a JSON value.

Constructor & Destructor Documentation

◆ Json_seekable_path()

Json_seekable_path::Json_seekable_path ( PSI_memory_key  key)
explicitprotected

Member Function Documentation

◆ begin()

Json_path_iterator Json_seekable_path::begin ( ) const
inline

Get an iterator pointing to the first path leg.

◆ end()

Json_path_iterator Json_seekable_path::end ( ) const
inline

Get an iterator pointing just past the last path leg.

◆ last_leg()

const Json_path_leg * Json_seekable_path::last_leg ( ) const
inline

Get a pointer to the last path leg.

The path must not be empty.

◆ leg_count()

size_t Json_seekable_path::leg_count ( ) const
inline

Return the number of legs in this searchable path.

Member Data Documentation

◆ m_path_legs

Json_path_leg_pointers Json_seekable_path::m_path_legs
protected

An array of pointers to the legs of the JSON path.


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