com.mysema.query.jpa
Class JPQLSerializer
java.lang.Object
com.mysema.query.support.SerializerBase<JPQLSerializer>
com.mysema.query.jpa.JPQLSerializer
- All Implemented Interfaces:
- Visitor<Void,Void>
public class JPQLSerializer
- extends SerializerBase<JPQLSerializer>
JPQLSerializer serializes Querydsl expressions into JPQL syntax.
- Author:
- tiwe
Methods inherited from class com.mysema.query.support.SerializerBase |
append, appendAsString, getConstantPrefix, getConstantToLabel, getTemplate, handle, handle, handle, normalize, prepend, serialize, serialize, setAnonParamPrefix, setConstantPrefix, setNormalize, setParamPrefix, toString, visit, visit |
JPQLSerializer
public JPQLSerializer(JPQLTemplates templates)
JPQLSerializer
public JPQLSerializer(JPQLTemplates templates,
javax.persistence.EntityManager em)
serialize
public void serialize(QueryMetadata metadata,
boolean forCountRow,
@Nullable
String projection)
serializeForDelete
public void serializeForDelete(QueryMetadata md)
serializeForUpdate
public void serializeForUpdate(QueryMetadata md)
visit
public Void visit(Constant<?> expr,
Void context)
- Specified by:
visit
in interface Visitor<Void,Void>
- Overrides:
visit
in class SerializerBase<JPQLSerializer>
visit
public Void visit(ParamExpression<?> param,
Void context)
- Specified by:
visit
in interface Visitor<Void,Void>
- Overrides:
visit
in class SerializerBase<JPQLSerializer>
visit
public Void visit(SubQueryExpression<?> query,
Void context)
visit
public Void visit(Path<?> expr,
Void context)
- Specified by:
visit
in interface Visitor<Void,Void>
- Overrides:
visit
in class SerializerBase<JPQLSerializer>
visit
public Void visit(FactoryExpression<?> expr,
Void context)
- Specified by:
visit
in interface Visitor<Void,Void>
- Overrides:
visit
in class SerializerBase<JPQLSerializer>
visitOperation
protected void visitOperation(Class<?> type,
Operator<?> operator,
List<? extends Expression<?>> args)
- Overrides:
visitOperation
in class SerializerBase<JPQLSerializer>
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.