Package io.trino.testing
Class StatefulSleepingSum
java.lang.Object
io.trino.metadata.SqlScalarFunction
io.trino.testing.StatefulSleepingSum
- All Implemented Interfaces:
SqlFunction
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected SpecializedSqlScalarFunctionspecialize(BoundSignature boundSignature) static longstatefulSleepingSum(StatefulSleepingSum.State state, double sleepProbability, long sleepDurationMillis, long a, long b) Methods inherited from class io.trino.metadata.SqlScalarFunction
getFunctionMetadata, specializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
Field Details
-
STATEFUL_SLEEPING_SUM
-
-
Method Details
-
specialize
- Overrides:
specializein classSqlScalarFunction
-
statefulSleepingSum
public static long statefulSleepingSum(StatefulSleepingSum.State state, double sleepProbability, long sleepDurationMillis, long a, long b)
-