Class NetworkFunctions.InetAtonFunction

java.lang.Object
org.apache.drill.exec.udfs.NetworkFunctions.InetAtonFunction
All Implemented Interfaces:
DrillFunc, DrillSimpleFunc
Enclosing class:
NetworkFunctions

public static class NetworkFunctions.InetAtonFunction extends Object implements DrillSimpleFunc
This function converts an IPv4 address into a BigInt. Useful for sorting IPs, or looking for IP ranges. IE: SELECT * FROM ORDER BY inet_aton( ip ) ASC
  • Constructor Details

    • InetAtonFunction

      public InetAtonFunction()
  • Method Details