OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StringOps.cpp File Reference
#include "StringOps.h"
+ Include dependency graph for StringOps.cpp:

Go to the source code of this file.

Namespaces

 StringOps_Namespace
 

Functions

double StringOps_Namespace::compute_jaro_score (std::string_view s1, std::string_view s2)
 
double StringOps_Namespace::compute_jaro_winkler_score (std::string_view s1, std::string_view s2)
 
template<typename T >
StringOps_Namespace::compute_levenshtein_distance_template (std::string_view s1, std::string_view s2)
 
int64_t StringOps_Namespace::compute_levenshtein_distance (std::string_view s1, std::string_view s2)
 
std::unique_ptr< const StringOp > StringOps_Namespace::gen_string_op (const StringOpInfo &string_op_info)
 
std::pair< std::string, bool > StringOps_Namespace::apply_string_op_to_literals (const StringOpInfo &string_op_info)
 
Datum StringOps_Namespace::apply_numeric_op_to_literals (const StringOpInfo &string_op_info)
 

Variables

constexpr int StringOps_Namespace::winkler_k_prefix_length = 4
 
constexpr double StringOps_Namespace::winkler_k_scaling_factor = 0.1