Java Code Examples for org.apache.calcite.avatica.util.ByteString#compareTo()
The following examples show how to use
org.apache.calcite.avatica.util.ByteString#compareTo() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SqlFunctions.java From Quicksql with MIT License | 4 votes |
/** SQL <code><</code> operator applied to ByteString values. */ public static boolean lt(ByteString b0, ByteString b1) { return b0.compareTo(b1) < 0; }
Example 2
Source File: SqlFunctions.java From Quicksql with MIT License | 4 votes |
/** SQL <code>≤</code> operator applied to ByteString values. */ public static boolean le(ByteString b0, ByteString b1) { return b0.compareTo(b1) <= 0; }
Example 3
Source File: SqlFunctions.java From Quicksql with MIT License | 4 votes |
/** SQL <code>></code> operator applied to ByteString values. */ public static boolean gt(ByteString b0, ByteString b1) { return b0.compareTo(b1) > 0; }
Example 4
Source File: SqlFunctions.java From Quicksql with MIT License | 4 votes |
/** SQL <code>≥</code> operator applied to ByteString values. */ public static boolean ge(ByteString b0, ByteString b1) { return b0.compareTo(b1) >= 0; }
Example 5
Source File: SqlFunctions.java From calcite with Apache License 2.0 | 4 votes |
/** SQL <code><</code> operator applied to ByteString values. */ public static boolean lt(ByteString b0, ByteString b1) { return b0.compareTo(b1) < 0; }
Example 6
Source File: SqlFunctions.java From calcite with Apache License 2.0 | 4 votes |
/** SQL <code>≤</code> operator applied to ByteString values. */ public static boolean le(ByteString b0, ByteString b1) { return b0.compareTo(b1) <= 0; }
Example 7
Source File: SqlFunctions.java From calcite with Apache License 2.0 | 4 votes |
/** SQL <code>></code> operator applied to ByteString values. */ public static boolean gt(ByteString b0, ByteString b1) { return b0.compareTo(b1) > 0; }
Example 8
Source File: SqlFunctions.java From calcite with Apache License 2.0 | 4 votes |
/** SQL <code>≥</code> operator applied to ByteString values. */ public static boolean ge(ByteString b0, ByteString b1) { return b0.compareTo(b1) >= 0; }