com.mysema.query.jdo
Class JDOQLSerializer
java.lang.Object
com.mysema.query.support.SerializerBase<JDOQLSerializer>
com.mysema.query.jdo.JDOQLSerializer
- All Implemented Interfaces:
- Visitor<Void,Void>
public final class JDOQLSerializer
- extends SerializerBase<JDOQLSerializer>
JDOQLSerializer serializes Querydsl queries and expressions into JDOQL strings
- Author:
- tiwe
Methods inherited from class com.mysema.query.support.SerializerBase |
append, getConstantPrefix, getTemplate, handle, handle, handle, serialize, serialize, setAnonParamPrefix, setConstantPrefix, setParamPrefix, toString, visit, visit, visit, visit, visit |
JDOQLSerializer
public JDOQLSerializer(JDOQLTemplates templates,
Expression<?> candidate)
getCandidatePath
public Expression<?> getCandidatePath()
getConstants
public List<Object> getConstants()
getConstantToLabel
public Map<Object,String> getConstantToLabel()
- Overrides:
getConstantToLabel
in class SerializerBase<JDOQLSerializer>
serialize
public void serialize(QueryMetadata metadata,
boolean forCountRow,
boolean subQuery)
visit
public Void visit(Path<?> path,
Void context)
- Specified by:
visit
in interface Visitor<Void,Void>
- Overrides:
visit
in class SerializerBase<JDOQLSerializer>
visit
public Void visit(SubQueryExpression<?> query,
Void context)
visitOperation
protected void visitOperation(Class<?> type,
Operator<?> operator,
List<Expression<?>> args)
- Overrides:
visitOperation
in class SerializerBase<JDOQLSerializer>
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.