- java.lang.Object
-
- org.glassfish.ha.store.criteria.ExpressionBuilder<V>
-
public class ExpressionBuilder<V> extends Object
A Class to construct portable Criteria objects- Author:
- Mahesh.Kannan@Sun.Com
-
-
Constructor Summary
Constructors Constructor Description ExpressionBuilder(Class<V> entryClazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> org.glassfish.ha.store.criteria.spi.AttributeAccessNode<V,T>attr(AttributeMetadata<V,T> meta)<T> org.glassfish.ha.store.criteria.spi.LogicalExpressionNodeeq(org.glassfish.ha.store.criteria.spi.ExpressionNode<T> expr1, org.glassfish.ha.store.criteria.spi.ExpressionNode<T> expr2)<T extends Number>
org.glassfish.ha.store.criteria.spi.LogicalExpressionNodeeq(org.glassfish.ha.store.criteria.spi.LiteralNode<T> value, AttributeMetadata<V,T> meta)<T extends Number>
org.glassfish.ha.store.criteria.spi.LogicalExpressionNodeeq(AttributeMetadata<V,T> meta, org.glassfish.ha.store.criteria.spi.LiteralNode<T> value)<T> org.glassfish.ha.store.criteria.spi.LogicalExpressionNodeeq(AttributeMetadata<V,T> meta1, AttributeMetadata<V,T> meta2)<T> org.glassfish.ha.store.criteria.spi.LogicalExpressionNodeeq(AttributeMetadata<V,T> meta, T value)<T> org.glassfish.ha.store.criteria.spi.LogicalExpressionNodeeq(T value, AttributeMetadata<V,T> meta)<T> org.glassfish.ha.store.criteria.spi.LiteralNode<T>literal(Class<T> type, T value)Criteria<V>setCriteria(Expression<Boolean> expr)
-
-
-
Method Detail
-
setCriteria
public Criteria<V> setCriteria(Expression<Boolean> expr)
-
attr
public <T> org.glassfish.ha.store.criteria.spi.AttributeAccessNode<V,T> attr(AttributeMetadata<V,T> meta)
-
literal
public <T> org.glassfish.ha.store.criteria.spi.LiteralNode<T> literal(Class<T> type, T value)
-
eq
public <T> org.glassfish.ha.store.criteria.spi.LogicalExpressionNode eq(T value, AttributeMetadata<V,T> meta)
-
eq
public <T> org.glassfish.ha.store.criteria.spi.LogicalExpressionNode eq(AttributeMetadata<V,T> meta, T value)
-
eq
public <T> org.glassfish.ha.store.criteria.spi.LogicalExpressionNode eq(AttributeMetadata<V,T> meta1, AttributeMetadata<V,T> meta2)
-
eq
public <T> org.glassfish.ha.store.criteria.spi.LogicalExpressionNode eq(org.glassfish.ha.store.criteria.spi.ExpressionNode<T> expr1, org.glassfish.ha.store.criteria.spi.ExpressionNode<T> expr2)
-
eq
public <T extends Number> org.glassfish.ha.store.criteria.spi.LogicalExpressionNode eq(org.glassfish.ha.store.criteria.spi.LiteralNode<T> value, AttributeMetadata<V,T> meta)
-
eq
public <T extends Number> org.glassfish.ha.store.criteria.spi.LogicalExpressionNode eq(AttributeMetadata<V,T> meta, org.glassfish.ha.store.criteria.spi.LiteralNode<T> value)
-
-