public final class JDOQLSerializer extends SerializerBase<JDOQLSerializer>
JDOQLSerializer
serializes Querydsl queries and expressions into JDOQL stringsConstructor and Description |
---|
JDOQLSerializer(JDOQLTemplates templates,
Expression<?> candidate) |
Modifier and Type | Method and Description |
---|---|
Expression<?> |
getCandidatePath() |
List<Object> |
getConstants() |
Map<Object,String> |
getConstantToLabel() |
void |
serialize(QueryMetadata metadata,
boolean forCountRow,
boolean subQuery) |
Void |
visit(Path<?> path,
Void context)
Visit a Path instance with the given context
|
Void |
visit(SubQueryExpression<?> query,
Void context)
Visit a SubQueryExpression instance with the given context
|
protected void |
visitOperation(Class<?> type,
Operator operator,
List<? extends Expression<?>> args) |
append, getConstantPrefix, getLength, getTemplate, handle, handle, handle, handle, handle, handleTemplate, insert, prepend, serialize, serialize, setAnonParamPrefix, setConstantPrefix, setNormalize, setParamPrefix, setStrict, toString, visit, visit, visit, visit, visit, visitConstant
public JDOQLSerializer(JDOQLTemplates templates, Expression<?> candidate)
public Expression<?> getCandidatePath()
public Map<Object,String> getConstantToLabel()
getConstantToLabel
in class SerializerBase<JDOQLSerializer>
public void serialize(QueryMetadata metadata, boolean forCountRow, boolean subQuery)
public Void visit(Path<?> path, Void context)
Visitor
visit
in interface Visitor<Void,Void>
visit
in class SerializerBase<JDOQLSerializer>
path
- expression to visitcontext
- context of the visit or null, if not usedpublic Void visit(SubQueryExpression<?> query, Void context)
Visitor
query
- expression to visitcontext
- context of the visit or null, if not usedprotected void visitOperation(Class<?> type, Operator operator, List<? extends Expression<?>> args)
visitOperation
in class SerializerBase<JDOQLSerializer>
Copyright © 2007–2016 Querydsl. All rights reserved.