Class IPv6AddressMatchExprMacro
java.lang.Object
org.apache.druid.query.expression.IPv6AddressMatchExprMacro
- All Implemented Interfaces:
ExprMacroTable.ExprMacro,NamedFunction
Implements an expression that checks if an IPv6 address belongs to a subnet. Expression signatures: - long ipv6_match(string address, string subnet) Valid "address" argument formats are: - IPv6 address string (e.g., "2001:4860:4860::8888") The argument format for the "subnet" argument should be a literal in CIDR notation (e.g., "2001:db8::/64 "). If the "address" argument does not represent an IPv6 address then false is returned.
-
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
-
IPv6AddressMatchExprMacro
public IPv6AddressMatchExprMacro()
-
-
Method Details
-
name
Description copied from interface:NamedFunctionName of the function- Specified by:
namein interfaceNamedFunction
-
apply
- Specified by:
applyin interfaceExprMacroTable.ExprMacro
-