Class IPv4AddressStringifyExprMacro
java.lang.Object
org.apache.druid.query.expression.IPv4AddressStringifyExprMacro
- All Implemented Interfaces:
ExprMacroTable.ExprMacro,NamedFunction
Implements an expression that converts a long or a string into an IPv4 address dotted-decimal string. Expression signatures: - string ipv4_stringify(long) - string ipv4_stringify(string) Long arguments that can be represented as an IPv4 address are converted to a dotted-decimal string. String arguments that are dotted-decimal IPv4 addresses are passed through. Invalid arguments return null.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.math.expr.NamedFunction
processingFailed, processingFailed, validationFailed, validationFailed, validationHelperCheckAnyOfArgumentCount, validationHelperCheckArgIsLiteral, validationHelperCheckArgumentCount, validationHelperCheckArgumentCount, validationHelperCheckArgumentRange, validationHelperCheckLambaArgumentCount, validationHelperCheckMinArgumentCount, validationHelperCheckMinArgumentCount
-
Field Details
-
FN_NAME
- See Also:
-
-
Constructor Details
-
IPv4AddressStringifyExprMacro
public IPv4AddressStringifyExprMacro()
-
-
Method Details
-
name
Description copied from interface:NamedFunctionName of the function- Specified by:
namein interfaceNamedFunction
-
apply
- Specified by:
applyin interfaceExprMacroTable.ExprMacro
-