public class RandomFunction extends Scalar<java.lang.Double,java.lang.Void>
Modifier and Type | Field and Description |
---|---|
protected static FunctionInfo |
info |
static java.lang.String |
NAME |
Constructor and Description |
---|
RandomFunction() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
evaluate(Input[] args) |
FunctionInfo |
info() |
Symbol |
normalizeSymbol(Function symbol,
TransactionContext transactionContext)
Normalize a symbol into a simplified form.
|
static void |
register(ScalarFunctionModule module) |
anyNonLiterals, compile, containsNullLiteral
public static final java.lang.String NAME
protected static final FunctionInfo info
public static void register(ScalarFunctionModule module)
public Symbol normalizeSymbol(Function symbol, TransactionContext transactionContext)
FunctionImplementation
normalizeSymbol
in interface FunctionImplementation<Function>
normalizeSymbol
in class Scalar<java.lang.Double,java.lang.Void>
transactionContext
- context which is shared across normalizeSymbol calls during a statement-lifecycle.
This will only be present if normalizeSymbol is called on the handler node.
normalizeSymbol calls during execution won't receive a StmtCtxpublic FunctionInfo info()