Package org.apache.drill.exec.udfs
Class PhoneticFunctions.RefinedSoundexFunction
java.lang.Object
org.apache.drill.exec.udfs.PhoneticFunctions.RefinedSoundexFunction
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- PhoneticFunctions
public static class PhoneticFunctions.RefinedSoundexFunction
extends Object
implements DrillSimpleFunc
Encodes a string into a Refined Soundex value. Soundex is an encoding used to relate similar names, but can also be used as a general purpose scheme to find word with similar phonemes.
Usage: SELECT refined_soundex( string ) FROM...
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RefinedSoundexFunction
public RefinedSoundexFunction()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-