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.
- Version:
- $Id$
- Author:
- tiwe
Methods inherited from class com.mysema.query.support.SerializerBase |
append, getConstantPrefix, getConstantToLabel, getTemplate, handle, handle, handle, serialize, serialize, setAnonParamPrefix, setConstantPrefix, setParamPrefix, toString, visit, visit |
JPQLSerializer
public JPQLSerializer(JPQLTemplates templates)
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<Expression<?>> args)
- Overrides:
visitOperation
in class SerializerBase<JPQLSerializer>
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.