String columnName3 = "columnName3";
String qualifer3 = "qualifier3";
byte[] value3 = Bytes.toBytes("value3");
Comparison.Operator operator3 = Comparison.Operator.LT;
Expression expression1 = new Or(
new Comparison(columnName1, qualifer1, operator1, value1),
new And(
new Comparison(columnName2, qualifer2, operator2, value2),
new Comparison(columnName3, qualifer3, operator3, value3)
)
);
Expression expression2 = Expression
.or(
Expression.comparison(columnName1, qualifer1, operator1, value1)
)
.or(
Expression.and()
.and(Expression.comparison(columnName2, qualifer2, operator2, value2))
.and(Expression.comparison(columnName3, qualifer3, operator3, value3))
);
Expression expression3 = Expression.or(
Expression.comparison(columnName1, qualifer1, operator1, value1),
Expression.and(
Expression.comparison(columnName2, qualifer2, operator2, value2),
Expression.comparison(columnName3, qualifer3, operator3, value3)
)