diff --git a/src/java/com/samskivert/depot/expression/FluentExpression.java b/src/java/com/samskivert/depot/expression/FluentExpression.java index 177e998..2e79326 100644 --- a/src/java/com/samskivert/depot/expression/FluentExpression.java +++ b/src/java/com/samskivert/depot/expression/FluentExpression.java @@ -22,6 +22,8 @@ package com.samskivert.depot.expression; import com.samskivert.depot.operator.Add; import com.samskivert.depot.operator.And; +import com.samskivert.depot.operator.BitAnd; +import com.samskivert.depot.operator.BitOr; import com.samskivert.depot.operator.Div; import com.samskivert.depot.operator.Equals; import com.samskivert.depot.operator.GreaterThan; @@ -124,6 +126,30 @@ public abstract class FluentExpression return new Or(this, expr); } + /** Returns an {@link BitAnd} with this expression and the supplied target. */ + public BitAnd bitAnd (Comparable value) + { + return new BitAnd(this, value); + } + + /** Returns an {@link BitAnd} with this expression and the supplied target. */ + public BitAnd bitAnd (SQLExpression expr) + { + return new BitAnd(this, expr); + } + + /** Returns an {@link BitOr} with this expression and the supplied target. */ + public BitOr bitOr (Comparable value) + { + return new BitOr(this, value); + } + + /** Returns an {@link BitOr} with this expression and the supplied target. */ + public BitOr bitOr (SQLExpression expr) + { + return new BitOr(this, expr); + } + /** Returns an {@link Add} with this expression and the supplied target. */ public Add plus (Comparable value) {