public class MongodbSerializer extends java.lang.Object implements Visitor<java.lang.Object,java.lang.Void>
Modifier and Type | Field and Description |
---|---|
static MongodbSerializer |
DEFAULT |
Constructor and Description |
---|
MongodbSerializer() |
Modifier and Type | Method and Description |
---|---|
protected com.mongodb.DBObject |
asDBObject(java.lang.String key,
java.lang.Object value) |
protected java.lang.String |
getKeyForPath(Path<?> expr,
PathMetadata<?> metadata) |
java.lang.Object |
handle(Expression<?> expression) |
com.mongodb.DBObject |
toSort(java.util.List<OrderSpecifier<?>> orderBys) |
java.lang.Object |
visit(Constant<?> expr,
java.lang.Void context) |
java.lang.Object |
visit(FactoryExpression<?> expr,
java.lang.Void context) |
java.lang.Object |
visit(Operation<?> expr,
java.lang.Void context) |
java.lang.Object |
visit(ParamExpression<?> expr,
java.lang.Void context) |
java.lang.String |
visit(Path<?> expr,
java.lang.Void context) |
java.lang.Object |
visit(SubQueryExpression<?> expr,
java.lang.Void context) |
java.lang.Object |
visit(TemplateExpression<?> expr,
java.lang.Void context) |
public static final MongodbSerializer DEFAULT
public java.lang.Object handle(Expression<?> expression)
public com.mongodb.DBObject toSort(java.util.List<OrderSpecifier<?>> orderBys)
public java.lang.Object visit(Constant<?> expr, java.lang.Void context)
public java.lang.Object visit(TemplateExpression<?> expr, java.lang.Void context)
public java.lang.Object visit(FactoryExpression<?> expr, java.lang.Void context)
protected com.mongodb.DBObject asDBObject(java.lang.String key, java.lang.Object value)
public java.lang.Object visit(Operation<?> expr, java.lang.Void context)
public java.lang.String visit(Path<?> expr, java.lang.Void context)
protected java.lang.String getKeyForPath(Path<?> expr, PathMetadata<?> metadata)
public java.lang.Object visit(SubQueryExpression<?> expr, java.lang.Void context)
public java.lang.Object visit(ParamExpression<?> expr, java.lang.Void context)
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.