Constructor and Description |
---|
MongodbSerializer() |
Modifier and Type | Method and Description |
---|---|
protected com.mongodb.DBObject |
asDBObject(String key,
Object value) |
protected com.mongodb.DBRef |
asReference(Object constant) |
protected com.mongodb.DBRef |
asReference(Operation<?> expr,
int constIndex) |
protected String |
getKeyForPath(Path<?> expr,
PathMetadata<?> metadata) |
Object |
handle(Expression<?> expression) |
protected boolean |
isReference(Operation<?> expr,
int exprIndex) |
protected boolean |
isReference(Path<?> arg) |
com.mongodb.DBObject |
toSort(List<OrderSpecifier<?>> orderBys) |
Object |
visit(Constant<?> expr,
Void context) |
Object |
visit(FactoryExpression<?> expr,
Void context) |
Object |
visit(Operation<?> expr,
Void context) |
Object |
visit(ParamExpression<?> expr,
Void context) |
String |
visit(Path<?> expr,
Void context) |
Object |
visit(SubQueryExpression<?> expr,
Void context) |
Object |
visit(TemplateExpression<?> expr,
Void context) |
public Object handle(Expression<?> expression)
public com.mongodb.DBObject toSort(List<OrderSpecifier<?>> orderBys)
public Object visit(TemplateExpression<?> expr, Void context)
public Object visit(FactoryExpression<?> expr, Void context)
protected com.mongodb.DBRef asReference(Operation<?> expr, int constIndex)
protected com.mongodb.DBRef asReference(Object constant)
protected boolean isReference(Operation<?> expr, int exprIndex)
protected boolean isReference(Path<?> arg)
protected String getKeyForPath(Path<?> expr, PathMetadata<?> metadata)
public Object visit(SubQueryExpression<?> expr, Void context)
Copyright © 2007–2015 Mysema Ltd. All rights reserved.