Package io.prestosql.operator.scalar
Class SequenceFunction
- java.lang.Object
-
- io.prestosql.operator.scalar.SequenceFunction
-
public final class SequenceFunction extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkMaxEntry(int length)
static void
checkValidStep(long start, long stop, long step)
static Block
sequence(long start, long stop, long step)
static Block
sequenceDateDayToSecond(long start, long stop, long step)
static Block
sequenceDateDefaultStep(long start, long stop)
static Block
sequenceDateYearToMonth(ConnectorSession session, long start, long stop, long step)
static Block
sequenceDefaultStep(long start, long stop)
-
-
-
Method Detail
-
sequence
public static Block sequence(long start, long stop, long step)
-
sequenceDefaultStep
public static Block sequenceDefaultStep(long start, long stop)
-
sequenceDateDefaultStep
public static Block sequenceDateDefaultStep(long start, long stop)
-
sequenceDateDayToSecond
public static Block sequenceDateDayToSecond(long start, long stop, long step)
-
sequenceDateYearToMonth
public static Block sequenceDateYearToMonth(ConnectorSession session, long start, long stop, long step)
-
checkValidStep
public static void checkValidStep(long start, long stop, long step)
-
checkMaxEntry
public static void checkMaxEntry(int length)
-
-