public class JPQLSerializer extends SerializerBase<JPQLSerializer>
Constructor and Description |
---|
JPQLSerializer(JPQLTemplates templates) |
JPQLSerializer(JPQLTemplates templates,
javax.persistence.EntityManager em) |
Modifier and Type | Method and Description |
---|---|
void |
serialize(QueryMetadata metadata,
boolean forCountRow,
String projection) |
void |
serializeForDelete(QueryMetadata md) |
void |
serializeForUpdate(QueryMetadata md) |
Void |
visit(ParamExpression<?> param,
Void context) |
Void |
visit(Path<?> expr,
Void context) |
Void |
visit(SubQueryExpression<?> query,
Void context) |
void |
visitConstant(Object constant) |
void |
visitLiteral(Object constant) |
protected void |
visitOperation(Class<?> type,
Operator<?> operator,
List<? extends Expression<?>> args) |
append, getConstantPrefix, getConstantToLabel, getLength, getTemplate, handle, handle, handle, handle, handle, handleTemplate, insert, prepend, serialize, serialize, setAnonParamPrefix, setConstantPrefix, setNormalize, setParamPrefix, setStrict, toString, visit, visit, visit, visit
public JPQLSerializer(JPQLTemplates templates)
public JPQLSerializer(JPQLTemplates templates, javax.persistence.EntityManager em)
public void serialize(QueryMetadata metadata, boolean forCountRow, @Nullable String projection)
public void serializeForDelete(QueryMetadata md)
public void serializeForUpdate(QueryMetadata md)
public void visitConstant(Object constant)
visitConstant
in class SerializerBase<JPQLSerializer>
public void visitLiteral(Object constant)
public Void visit(ParamExpression<?> param, Void context)
visit
in interface Visitor<Void,Void>
visit
in class SerializerBase<JPQLSerializer>
public Void visit(SubQueryExpression<?> query, Void context)
public Void visit(Path<?> expr, Void context)
visit
in interface Visitor<Void,Void>
visit
in class SerializerBase<JPQLSerializer>
protected void visitOperation(Class<?> type, Operator<?> operator, List<? extends Expression<?>> args)
visitOperation
in class SerializerBase<JPQLSerializer>
Copyright © 2007–2015 Mysema Ltd. All rights reserved.