public static class StringDistanceFunctions.LevenstheinDistanceFunction extends Object implements DrillSimpleFunc
This is the number of changes needed to change one sequence into another, where each change is a single character modification (deletion, insertion or substitution).
Usage: SELECT levenshtein_distance( string1, string2 ) FROM...
| Constructor and Description |
|---|
LevenstheinDistanceFunction() |
public void setup()
setup in interface DrillSimpleFuncpublic void eval()
eval in interface DrillSimpleFuncCopyright © 2021 The Apache Software Foundation. All rights reserved.