Class SqlRandFunction


  • public class SqlRandFunction
    extends SqlFunction
    The RAND function. There are two overloads:
    • RAND() returns a random double between 0 and 1
    • RAND(seed) returns a random double between 0 and 1, initializing the random number generator with seed on first call
    • Constructor Detail

      • SqlRandFunction

        public SqlRandFunction()
    • Method Detail

      • isDynamicFunction

        public boolean isDynamicFunction()
        Overrides:
        isDynamicFunction in class SqlOperator
        Returns:
        true iff it is unsafe to cache query plans referencing this operator; false is assumed by default