Class StaticPrecisionFspTimestampFunction

    • Constructor Detail

      • StaticPrecisionFspTimestampFunction

        public StaticPrecisionFspTimestampFunction​(java.lang.String name,
                                                   boolean hasParenthesesIfNoArguments)
        Constructs a StandardBasicTypes.TIMESTAMP function using the default fractional second precision as defined by the database.
        Parameters:
        name - The function name
        hasParenthesesIfNoArguments - Does the function call need parenthesis if there are no arguments?
      • StaticPrecisionFspTimestampFunction

        public StaticPrecisionFspTimestampFunction​(java.lang.String name,
                                                   int fsp)
        Constructs a StandardBasicTypes.TIMESTAMP function using the specified fractional seconds precision.
        Parameters:
        name - The function name
        fsp - The explicit fractional seconds precision to render
        Throws:
        java.lang.IllegalArgumentException - if fsp < 0.