Package org.apache.drill.exec.udfs
Class PhoneticFunctions.SoundexFunction
java.lang.Object
org.apache.drill.exec.udfs.PhoneticFunctions.SoundexFunction
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- PhoneticFunctions
Encodes a string into a 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 soundex( string ) FROM...
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SoundexFunction
public SoundexFunction()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-