Package org.apache.drill.exec.udfs
Class StringDistanceFunctions
java.lang.Object
org.apache.drill.exec.udfs.StringDistanceFunctions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis function calculates the cosine distance between two strings.static classThis function calculates the cosine distance between two strings.static classThe hamming distance between two strings of equal length is the number of positions at which the corresponding symbols are different.static classMeasures the Jaccard distance of two sets of character sequence.static classA similarity algorithm indicating the percentage of matched characters between two character sequences.static classAn algorithm for measuring the difference between two character sequences.static classThe Longest common subsequence algorithm returns the length of the longest subsequence that two strings have in common. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringDistanceFunctions
public StringDistanceFunctions()
-