Package org.apache.drill.exec.udfs
Class ThreatHuntingFunctions.PunctuationPatternFunction
java.lang.Object
org.apache.drill.exec.udfs.ThreatHuntingFunctions.PunctuationPatternFunction
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- ThreatHuntingFunctions
public static class ThreatHuntingFunctions.PunctuationPatternFunction
extends Object
implements DrillSimpleFunc
Punctuation pattern is useful for comparing log entries. It extracts all the punctuation and returns
that pattern. Spaces are replaced with an underscore.
Usage: SELECT punctuation_pattern( string ) FROM...
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PunctuationPatternFunction
public PunctuationPatternFunction()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-