Class SqlConvertFunction


  • public class SqlConvertFunction
    extends SqlFunction
    Common base for the CONVERT and TRANSLATE functions.
    • Constructor Detail

      • SqlConvertFunction

        protected SqlConvertFunction​(java.lang.String name)
    • Method Detail

      • getSignatureTemplate

        public java.lang.String getSignatureTemplate​(int operandsCount)
        Description copied from class: SqlOperator
        Returns a template describing how the operator signature is to be built. E.g for the binary + operator the template looks like "{1} {0} {2}" {0} is the operator, subsequent numbers are operands.
        Overrides:
        getSignatureTemplate in class SqlOperator
        Parameters:
        operandsCount - is used with functions that can take a variable number of operands
        Returns:
        signature template, or null to indicate that a default template will suffice