Package io.trino.sql.gen
Class CompilerOperations
- java.lang.Object
-
- io.trino.sql.gen.CompilerOperations
-
public final class CompilerOperations extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanand(boolean left, boolean right)static booleangreaterThan(int left, int right)static booleanin(Object value, Set<?> set)static booleanlessThan(int left, int right)static booleanlongGreaterThanZero(long value)static booleannot(boolean value)static booleanor(boolean left, boolean right)static booleantestMask(Block masks, int index)
-
-
-
Method Detail
-
longGreaterThanZero
public static boolean longGreaterThanZero(long value)
-
and
public static boolean and(boolean left, boolean right)
-
or
public static boolean or(boolean left, boolean right)
-
not
public static boolean not(boolean value)
-
lessThan
public static boolean lessThan(int left, int right)
-
greaterThan
public static boolean greaterThan(int left, int right)
-
testMask
public static boolean testMask(@Nullable Block masks, int index)
-
-