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 Details

    • SqlRandIntegerFunction

      public SqlRandIntegerFunction()
  • Method Details

    • isDynamicFunction

      public boolean isDynamicFunction()
      Description copied from class: SqlOperator
      Returns whether it is unsafe to cache query plans referencing this operator; false is assumed by default.
      Overrides:
      isDynamicFunction in class SqlOperator