Constructor and Description |
---|
MongodbDocumentSerializer() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
asDBKey(Operation<?> expr,
int index) |
protected java.lang.Object |
asDBValue(Operation<?> expr,
int index) |
protected org.bson.Document |
asDocument(java.lang.String key,
java.lang.Object value) |
protected abstract com.mongodb.DBRef |
asReference(java.lang.Object constant) |
protected com.mongodb.DBRef |
asReferenceKey(java.lang.Class<?> entity,
java.lang.Object id) |
protected java.lang.Object |
convert(Path<?> property,
Constant<?> constant) |
protected java.lang.String |
getKeyForPath(Path<?> expr,
PathMetadata metadata) |
java.lang.Object |
handle(Expression<?> expression) |
protected boolean |
isId(Path<?> arg) |
protected boolean |
isImplicitObjectIdConversion() |
protected abstract boolean |
isReference(Path<?> arg) |
org.bson.Document |
toSort(java.util.List<OrderSpecifier<?>> orderBys) |
java.lang.Object |
visit(Constant<?> expr,
java.lang.Void context)
Visit a Constant instance with the given context
|
java.lang.Object |
visit(FactoryExpression<?> expr,
java.lang.Void context)
Visit a FactoryExpression instance with the given context
|
java.lang.Object |
visit(Operation<?> expr,
java.lang.Void context)
Visit an Operation instance with the given context
|
java.lang.Object |
visit(ParamExpression<?> expr,
java.lang.Void context)
Visit a ParamExpression instance with the given context
|
java.lang.String |
visit(Path<?> expr,
java.lang.Void context)
Visit a Path instance with the given context
|
java.lang.Object |
visit(SubQueryExpression<?> expr,
java.lang.Void context)
Visit a SubQueryExpression instance with the given context
|
java.lang.Object |
visit(TemplateExpression<?> expr,
java.lang.Void context)
Visit a TemplateExpression instance with the given context
|
public java.lang.Object handle(Expression<?> expression)
public org.bson.Document toSort(java.util.List<OrderSpecifier<?>> orderBys)
public java.lang.Object visit(Constant<?> expr, java.lang.Void context)
Visitor
public java.lang.Object visit(TemplateExpression<?> expr, java.lang.Void context)
Visitor
public java.lang.Object visit(FactoryExpression<?> expr, java.lang.Void context)
Visitor
protected java.lang.String asDBKey(Operation<?> expr, int index)
protected java.lang.Object asDBValue(Operation<?> expr, int index)
protected org.bson.Document asDocument(java.lang.String key, java.lang.Object value)
public java.lang.Object visit(Operation<?> expr, java.lang.Void context)
Visitor
protected boolean isImplicitObjectIdConversion()
protected com.mongodb.DBRef asReferenceKey(java.lang.Class<?> entity, java.lang.Object id)
protected abstract com.mongodb.DBRef asReference(java.lang.Object constant)
protected abstract boolean isReference(Path<?> arg)
protected boolean isId(Path<?> arg)
public java.lang.String visit(Path<?> expr, java.lang.Void context)
Visitor
protected java.lang.String getKeyForPath(Path<?> expr, PathMetadata metadata)
public java.lang.Object visit(SubQueryExpression<?> expr, java.lang.Void context)
Visitor
public java.lang.Object visit(ParamExpression<?> expr, java.lang.Void context)
Visitor
Copyright © 2007–2021 Querydsl. All rights reserved.