public class MongoDBPredicateFactory extends Object implements org.hibernate.hql.ast.spi.predicate.PredicateFactory<com.mongodb.DBObject>
Predicates creating MongoDB queries in form of
DBObjects.| Constructor and Description |
|---|
MongoDBPredicateFactory(MongoDBPropertyHelper propertyHelper) |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.hql.ast.spi.predicate.ComparisonPredicate<com.mongodb.DBObject> |
getComparisonPredicate(String entityType,
org.hibernate.hql.ast.spi.predicate.ComparisonPredicate.Type comparisonType,
List<String> propertyPath,
Object value) |
org.hibernate.hql.ast.spi.predicate.ConjunctionPredicate<com.mongodb.DBObject> |
getConjunctionPredicate() |
org.hibernate.hql.ast.spi.predicate.DisjunctionPredicate<com.mongodb.DBObject> |
getDisjunctionPredicate() |
org.hibernate.hql.ast.spi.predicate.InPredicate<com.mongodb.DBObject> |
getInPredicate(String entityType,
List<String> propertyPath,
List<Object> typedElements) |
org.hibernate.hql.ast.spi.predicate.IsNullPredicate<com.mongodb.DBObject> |
getIsNullPredicate(String entityType,
List<String> propertyPath) |
org.hibernate.hql.ast.spi.predicate.LikePredicate<com.mongodb.DBObject> |
getLikePredicate(String entityType,
List<String> propertyPath,
String patternValue,
Character escapeCharacter) |
org.hibernate.hql.ast.spi.predicate.NegationPredicate<com.mongodb.DBObject> |
getNegationPredicate() |
org.hibernate.hql.ast.spi.predicate.RangePredicate<com.mongodb.DBObject> |
getRangePredicate(String entityType,
List<String> propertyPath,
Object lowerValue,
Object upperValue) |
org.hibernate.hql.ast.spi.predicate.RootPredicate<com.mongodb.DBObject> |
getRootPredicate(String entityType) |
public MongoDBPredicateFactory(MongoDBPropertyHelper propertyHelper)
public org.hibernate.hql.ast.spi.predicate.RootPredicate<com.mongodb.DBObject> getRootPredicate(String entityType)
getRootPredicate in interface org.hibernate.hql.ast.spi.predicate.PredicateFactory<com.mongodb.DBObject>public org.hibernate.hql.ast.spi.predicate.ComparisonPredicate<com.mongodb.DBObject> getComparisonPredicate(String entityType, org.hibernate.hql.ast.spi.predicate.ComparisonPredicate.Type comparisonType, List<String> propertyPath, Object value)
getComparisonPredicate in interface org.hibernate.hql.ast.spi.predicate.PredicateFactory<com.mongodb.DBObject>public org.hibernate.hql.ast.spi.predicate.RangePredicate<com.mongodb.DBObject> getRangePredicate(String entityType, List<String> propertyPath, Object lowerValue, Object upperValue)
getRangePredicate in interface org.hibernate.hql.ast.spi.predicate.PredicateFactory<com.mongodb.DBObject>public org.hibernate.hql.ast.spi.predicate.NegationPredicate<com.mongodb.DBObject> getNegationPredicate()
getNegationPredicate in interface org.hibernate.hql.ast.spi.predicate.PredicateFactory<com.mongodb.DBObject>public org.hibernate.hql.ast.spi.predicate.DisjunctionPredicate<com.mongodb.DBObject> getDisjunctionPredicate()
getDisjunctionPredicate in interface org.hibernate.hql.ast.spi.predicate.PredicateFactory<com.mongodb.DBObject>public org.hibernate.hql.ast.spi.predicate.ConjunctionPredicate<com.mongodb.DBObject> getConjunctionPredicate()
getConjunctionPredicate in interface org.hibernate.hql.ast.spi.predicate.PredicateFactory<com.mongodb.DBObject>public org.hibernate.hql.ast.spi.predicate.InPredicate<com.mongodb.DBObject> getInPredicate(String entityType, List<String> propertyPath, List<Object> typedElements)
getInPredicate in interface org.hibernate.hql.ast.spi.predicate.PredicateFactory<com.mongodb.DBObject>public org.hibernate.hql.ast.spi.predicate.IsNullPredicate<com.mongodb.DBObject> getIsNullPredicate(String entityType, List<String> propertyPath)
getIsNullPredicate in interface org.hibernate.hql.ast.spi.predicate.PredicateFactory<com.mongodb.DBObject>public org.hibernate.hql.ast.spi.predicate.LikePredicate<com.mongodb.DBObject> getLikePredicate(String entityType, List<String> propertyPath, String patternValue, Character escapeCharacter)
getLikePredicate in interface org.hibernate.hql.ast.spi.predicate.PredicateFactory<com.mongodb.DBObject>Copyright © 2010-2014 Hibernate. All Rights Reserved.