-
@Pro public interface ForInStep<T>
The step in the creation of aFOR LOOPstatement where theINclause can be supplied.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ForByStep<T>in(Field<T> lower, Field<T> upper)The range over which to loop.@NotNull ForByStep<T>in(T lower, T upper)The range over which to loop.@NotNull ForByStep<T>inReverse(Field<T> upper, Field<T> lower)The range over which to loop.@NotNull ForByStep<T>inReverse(T upper, T lower)The range over which to loop.
-
-
-
Method Detail
-
in
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB_10_3,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @NotNull ForByStep<T> in(T lower, T upper)
The range over which to loop.This starts with the lower bound and increments the variable until it reaches the upper bound.
- Parameters:
lower- The lower bound (inclusive)upper- The upper bound (inclusive)
-
in
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB_10_3,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @NotNull ForByStep<T> in(Field<T> lower, Field<T> upper)
The range over which to loop.This starts with the lower bound and increments the variable until it reaches the upper bound.
- Parameters:
lower- The lower bound (inclusive)upper- The upper bound (inclusive)
-
inReverse
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB_10_3,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @NotNull ForByStep<T> inReverse(T upper, T lower)
The range over which to loop.This starts with the upper bound and decrements the variable until it reaches the lower bound.
- Parameters:
upper- The upper bound (inclusive)lower- The lower bound (inclusive)
-
inReverse
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB_10_3,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @NotNull ForByStep<T> inReverse(Field<T> upper, Field<T> lower)
The range over which to loop.This starts with the upper bound and decrements the variable until it reaches the lower bound.
- Parameters:
upper- The upper bound (inclusive)lower- The lower bound (inclusive)
-
-