public class StringEncodings extends Object
All functions in this set will return a null value if the input string is null valued.
Constructor and Description |
---|
StringEncodings() |
Modifier and Type | Method and Description |
---|---|
static ScalarValuedFunction |
caverphone(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Caverphone algorithm.
|
static ScalarValuedFunction |
caverphone(String field)
Builds a function phonetically encoding the string
value in the specified field using the
Caverphone algorithm.
|
static ScalarValuedFunction |
doubleMetaphone(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Double Metaphone algorithm.
|
static ScalarValuedFunction |
doubleMetaphone(String field)
Builds a function phonetically encoding the string
value in the specified field using the
Double Metaphone algorithm.
|
static ScalarValuedFunction |
metaphone(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Metaphone algorithm.
|
static ScalarValuedFunction |
metaphone(String field)
Builds a function phonetically encoding the string
value in the specified field using the
Metaphone algorithm.
|
static ScalarValuedFunction |
refinedSoundex(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
refined Soundex algorithm.
|
static ScalarValuedFunction |
refinedSoundex(String field)
Builds a function phonetically encoding the string
value in the specified field using the
refined Soundex algorithm.
|
static ScalarValuedFunction |
soundex(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Soundex algorithm.
|
static ScalarValuedFunction |
soundex(String field)
Builds a function phonetically encoding the string
value in the specified field using the
Soundex algorithm.
|
public static ScalarValuedFunction caverphone(String field)
field
- the record field to encodepublic static ScalarValuedFunction caverphone(ScalarValuedFunction value)
value
- a string expression to encodepublic static ScalarValuedFunction metaphone(String field)
field
- the record field to encodepublic static ScalarValuedFunction metaphone(ScalarValuedFunction value)
value
- a string expression to encodepublic static ScalarValuedFunction doubleMetaphone(String field)
field
- the record field to encodepublic static ScalarValuedFunction doubleMetaphone(ScalarValuedFunction value)
value
- a string expression to encodepublic static ScalarValuedFunction soundex(String field)
field
- the record field to encodepublic static ScalarValuedFunction soundex(ScalarValuedFunction value)
value
- a string expression to encodepublic static ScalarValuedFunction refinedSoundex(String field)
field
- the record field to encodepublic static ScalarValuedFunction refinedSoundex(ScalarValuedFunction value)
value
- a string expression to encodeCopyright © 2024 Actian Corporation. All rights reserved.