public final class JDOQLSerializer extends SerializerBase<JDOQLSerializer>
Constructor 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) |
Void |
visit(SubQueryExpression<?> query,
Void 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)
visit
in interface Visitor<Void,Void>
visit
in class SerializerBase<JDOQLSerializer>
public Void visit(SubQueryExpression<?> query, Void context)
protected void visitOperation(Class<?> type, Operator<?> operator, List<? extends Expression<?>> args)
visitOperation
in class SerializerBase<JDOQLSerializer>
Copyright © 2007–2015 Mysema Ltd. All rights reserved.