Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::RegexpMatchesBindData Struct Reference
Inheritance diagram for duckdb::RegexpMatchesBindData:
Collaboration diagram for duckdb::RegexpMatchesBindData:

Public Member Functions

 RegexpMatchesBindData (duckdb_re2::RE2::Options options, string constant_string, bool constant_pattern)
 RegexpMatchesBindData (duckdb_re2::RE2::Options options, string constant_string, bool constant_pattern, string range_min, string range_max, bool range_success)
unique_ptr< FunctionData > Copy () const override
Public Member Functions inherited from duckdb::RegexpBaseBindData
 RegexpBaseBindData (duckdb_re2::RE2::Options options, string constant_string, bool constant_pattern=true)
bool Equals (const FunctionData &other_p) const override
Public Member Functions inherited from duckdb::FunctionData
virtual DUCKDB_API bool SupportStatementCache () const
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const
template<class TARGET>
TARGET & CastNoConst () const

Public Attributes

string range_min
string range_max
bool range_success
Public Attributes inherited from duckdb::RegexpBaseBindData
duckdb_re2::RE2::Options options
string constant_string
bool constant_pattern

Additional Inherited Members

Static Public Member Functions inherited from duckdb::FunctionData
static DUCKDB_API bool Equals (const FunctionData *left, const FunctionData *right)

Constructor & Destructor Documentation

◆ RegexpMatchesBindData() [1/2]

duckdb::RegexpMatchesBindData::RegexpMatchesBindData ( duckdb_re2::RE2::Options options,
string constant_string,
bool constant_pattern )
234473 : RegexpBaseBindData(options, std::move(constant_string_p), constant_pattern) {
234474 if (constant_pattern) {
234475 auto pattern = make_uniq<RE2>(constant_string, options);
234476 if (!pattern->ok()) {
234477 throw InvalidInputException(pattern->error());
234478 }
234479
234480 range_success = pattern->PossibleMatchRange(&range_min, &range_max, 1000);
234481 } else {
234482 range_success = false;
234483 }
234484}

◆ RegexpMatchesBindData() [2/2]

duckdb::RegexpMatchesBindData::RegexpMatchesBindData ( duckdb_re2::RE2::Options options,
string constant_string,
bool constant_pattern,
string range_min,
string range_max,
bool range_success )
234489 : RegexpBaseBindData(options, std::move(constant_string_p), constant_pattern), range_min(std::move(range_min_p)),
234490 range_max(std::move(range_max_p)), range_success(range_success) {
234491}

Member Function Documentation

◆ Copy()

unique_ptr< FunctionData > duckdb::RegexpMatchesBindData::Copy ( ) const
overridevirtual

Implements duckdb::FunctionData.

234493 {
234494 return make_uniq<RegexpMatchesBindData>(options, constant_string, constant_pattern, range_min, range_max,
234495 range_success);
234496}

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