Package org.apache.drill.exec.udfs
Class NetworkFunctions.AddressCountFunction
java.lang.Object
org.apache.drill.exec.udfs.NetworkFunctions.AddressCountFunction
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- NetworkFunctions
This function retunrs the number of IP addresses in the input CIDR block.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AddressCountFunction
public AddressCountFunction()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-