public class CaseInsensitiveContainsExprMacro extends Object implements ExprMacroTable.ExprMacro
Examples:
- contains_string("foobar", "bar") - 1
- contains_string("foobar", "car") - 0
- contains_string("foobar", "Bar") - 1
See ContainsExprMacro for the case-sensitive version.
| Constructor and Description |
|---|
CaseInsensitiveContainsExprMacro() |
| Modifier and Type | Method and Description |
|---|---|
Expr |
apply(List<Expr> args) |
String |
name() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessingFailed, validationFailed, validationFailed, validationHelperCheckAnyOfArgumentCount, validationHelperCheckArgIsLiteral, validationHelperCheckArgumentCount, validationHelperCheckArgumentCount, validationHelperCheckArgumentRange, validationHelperCheckLambaArgumentCount, validationHelperCheckMinArgumentCount, validationHelperCheckMinArgumentCountpublic static final String FN_NAME
public String name()
name in interface NamedFunctionpublic Expr apply(List<Expr> args)
apply in interface ExprMacroTable.ExprMacroCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.