Package io.prestosql.sql.gen
Class CompilerOperations
- java.lang.Object
-
- io.prestosql.sql.gen.CompilerOperations
-
public final class CompilerOperations extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
and(boolean left, boolean right)
static boolean
greaterThan(int left, int right)
static boolean
in(Object value, Set<?> set)
static boolean
lessThan(int left, int right)
static boolean
longGreaterThanZero(long value)
static boolean
not(boolean value)
static boolean
or(boolean left, boolean right)
static boolean
testMask(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)
-
-