Class PhoneticFunctions.ColognePhoneticFunction

java.lang.Object
org.apache.drill.exec.udfs.PhoneticFunctions.ColognePhoneticFunction
All Implemented Interfaces:
DrillFunc, DrillSimpleFunc
Enclosing class:
PhoneticFunctions

public static class PhoneticFunctions.ColognePhoneticFunction extends Object implements DrillSimpleFunc
Encodes a string into a Cologne Phonetic value. Implements the Kölner Phonetik (Cologne Phonetic) algorithm issued by Hans Joachim Postel in 1969.

The Kölner Phonetik is a phonetic algorithm which is optimized for the German language. It is related to the well-known soundex algorithm.

Usage: SELECT cologne_phonetic( string ) FROM...

  • Constructor Details

    • ColognePhoneticFunction

      public ColognePhoneticFunction()
  • Method Details