Class SqlJsonRemoveFunction


  • public class SqlJsonRemoveFunction
    extends SqlFunction
    The JSON_REMOVE function.
    • Constructor Detail

      • SqlJsonRemoveFunction

        public SqlJsonRemoveFunction()
    • Method Detail

      • checkOperandTypes

        public boolean checkOperandTypes​(SqlCallBinding callBinding,
                                         boolean throwOnFailure)
        Description copied from class: SqlOperator
        Checks that the operand values in a SqlCall to this operator are valid. Subclasses must either override this method or supply an instance of SqlOperandTypeChecker to the constructor.
        Overrides:
        checkOperandTypes in class SqlOperator
        Parameters:
        callBinding - description of call
        throwOnFailure - whether to throw an exception if check fails (otherwise returns false in that case)
        Returns:
        whether check succeeded
      • getAllowedSignatures

        public java.lang.String getAllowedSignatures​(java.lang.String opNameToUse)
        Description copied from class: SqlOperator
        Returns a string describing the expected operand types of a call, e.g. "SUBSTRING(VARCHAR, INTEGER, INTEGER)" where the name (SUBSTRING in this example) can be replaced by a specified name.
        Overrides:
        getAllowedSignatures in class SqlOperator