Class SqlRandIntegerFunction


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

      • SqlRandIntegerFunction

        public SqlRandIntegerFunction()
    • 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