public class SqlPosixRegexOperator extends SqlBinaryOperator
~ operator.
Syntax: src-value [!] ~ [*] pattern-value
kind, MDX_PRECEDENCE, NL| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOperandTypes(SqlCallBinding callBinding,
boolean throwOnFailure)
Checks that the operand values in a
SqlCall to this operator are
valid. |
SqlOperandCountRange |
getOperandCountRange()
Returns a constraint on the number of operands expected by this operator.
|
boolean |
isCaseSensitive()
Returns whether this operator matches the case of its operands.
|
boolean |
isNegated()
Returns whether this is 'NOT' variant of an operator.
|
SqlOperator |
not()
Returns the operator that is the logical inverse of this operator.
|
void |
unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec)
Writes a SQL representation of a call to this operator to a writer,
including parentheses if the operators on either side are of greater
precedence.
|
adjustType, deriveType, getMonotonicity, getSignatureTemplate, getSyntax, reverse, validRexOperandsacceptCall, acceptCall, allowsFraming, argumentMustBeScalar, checkOperandCount, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getName, getNameAsId, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateCall, validateOperandspublic SqlOperator not()
SqlOperatorFor example, SqlStdOperatorTable.LIKE.not() returns
SqlStdOperatorTable.NOT_LIKE, and vice versa.
By default, returns null, which means there is no inverse
operator.
not in class SqlOperatorSqlOperator.reverse()public SqlOperandCountRange getOperandCountRange()
SqlOperatorSqlOperandTypeChecker associated with this
operator.getOperandCountRange in class SqlOperatorpublic boolean checkOperandTypes(SqlCallBinding callBinding, boolean throwOnFailure)
SqlOperatorSqlCall to this operator are
valid. Subclasses must either override this method or supply an instance
of SqlOperandTypeChecker to the constructor.checkOperandTypes in class SqlOperatorcallBinding - description of callthrowOnFailure - whether to throw an exception if check fails
(otherwise returns false in that case)public void unparse(SqlWriter writer, SqlCall call, int leftPrec, int rightPrec)
SqlOperatorThe default implementation of this method delegates to
SqlSyntax.unparse(org.apache.calcite.sql.SqlWriter, org.apache.calcite.sql.SqlOperator, org.apache.calcite.sql.SqlCall, int, int).
unparse in class SqlOperatorpublic boolean isCaseSensitive()
public boolean isNegated()
not()Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.