Package org.apache.drill.exec.udfs
Class NetworkFunctions.InNetworkFunction
java.lang.Object
org.apache.drill.exec.udfs.NetworkFunctions.InNetworkFunction
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- NetworkFunctions
This function takes two arguments, an input IPv4 and a CIDR, and returns true if the IP is in the given CIDR block
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
InNetworkFunction
public InNetworkFunction()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-