Java Code Examples for org.apache.flink.table.expressions.BinaryComparison#right()
The following examples show how to use
org.apache.flink.table.expressions.BinaryComparison#right() .
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: OrcTableSource.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
private boolean literalOnRight(BinaryComparison comp) { if (comp.left() instanceof Literal && comp.right() instanceof Attribute) { return false; } else if (comp.left() instanceof Attribute && comp.right() instanceof Literal) { return true; } else { throw new RuntimeException("Invalid binary comparison."); } }
Example 2
Source File: OrcTableSource.java From flink with Apache License 2.0 | 5 votes |
private boolean literalOnRight(BinaryComparison comp) { if (comp.left() instanceof Literal && comp.right() instanceof Attribute) { return false; } else if (comp.left() instanceof Attribute && comp.right() instanceof Literal) { return true; } else { throw new RuntimeException("Invalid binary comparison."); } }
Example 3
Source File: ParquetTableSource.java From flink with Apache License 2.0 | 5 votes |
private boolean literalOnRight(BinaryComparison comp) { if (comp.left() instanceof Literal && comp.right() instanceof Attribute) { return false; } else if (comp.left() instanceof Attribute && comp.right() instanceof Literal) { return true; } else { throw new RuntimeException("Invalid binary comparison."); } }
Example 4
Source File: ParquetTableSource.java From flink with Apache License 2.0 | 5 votes |
private boolean literalOnRight(BinaryComparison comp) { if (comp.left() instanceof Literal && comp.right() instanceof Attribute) { return false; } else if (comp.left() instanceof Attribute && comp.right() instanceof Literal) { return true; } else { throw new RuntimeException("Invalid binary comparison."); } }
Example 5
Source File: OrcTableSource.java From flink with Apache License 2.0 | 5 votes |
private boolean literalOnRight(BinaryComparison comp) { if (comp.left() instanceof Literal && comp.right() instanceof Attribute) { return false; } else if (comp.left() instanceof Attribute && comp.right() instanceof Literal) { return true; } else { throw new RuntimeException("Invalid binary comparison."); } }
Example 6
Source File: OrcTableSource.java From Flink-CEPplus with Apache License 2.0 | 4 votes |
private boolean isValid(BinaryComparison comp) { return (comp.left() instanceof Literal && comp.right() instanceof Attribute) || (comp.left() instanceof Attribute && comp.right() instanceof Literal); }
Example 7
Source File: OrcTableSource.java From flink with Apache License 2.0 | 4 votes |
private boolean isValid(BinaryComparison comp) { return (comp.left() instanceof Literal && comp.right() instanceof Attribute) || (comp.left() instanceof Attribute && comp.right() instanceof Literal); }
Example 8
Source File: ParquetTableSource.java From flink with Apache License 2.0 | 4 votes |
private boolean isValid(BinaryComparison comp) { return (comp.left() instanceof Literal && comp.right() instanceof Attribute) || (comp.left() instanceof Attribute && comp.right() instanceof Literal); }
Example 9
Source File: ParquetTableSource.java From flink with Apache License 2.0 | 4 votes |
private boolean isValid(BinaryComparison comp) { return (comp.left() instanceof Literal && comp.right() instanceof Attribute) || (comp.left() instanceof Attribute && comp.right() instanceof Literal); }
Example 10
Source File: OrcTableSource.java From flink with Apache License 2.0 | 4 votes |
private boolean isValid(BinaryComparison comp) { return (comp.left() instanceof Literal && comp.right() instanceof Attribute) || (comp.left() instanceof Attribute && comp.right() instanceof Literal); }