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,
java.lang.String projection) |
void |
serializeForDelete(QueryMetadata md) |
void |
serializeForUpdate(QueryMetadata md) |
java.lang.Void |
visit(FactoryExpression<?> expr,
java.lang.Void context) |
java.lang.Void |
visit(ParamExpression<?> param,
java.lang.Void context) |
java.lang.Void |
visit(Path<?> expr,
java.lang.Void context) |
java.lang.Void |
visit(SubQueryExpression<?> query,
java.lang.Void context) |
void |
visitConstant(java.lang.Object constant) |
protected void |
visitOperation(java.lang.Class<?> type,
Operator<?> operator,
java.util.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
public JPQLSerializer(JPQLTemplates templates)
public JPQLSerializer(JPQLTemplates templates, javax.persistence.EntityManager em)
public void serialize(QueryMetadata metadata, boolean forCountRow, @Nullable java.lang.String projection)
public void serializeForDelete(QueryMetadata md)
public void serializeForUpdate(QueryMetadata md)
public void visitConstant(java.lang.Object constant)
visitConstant
in class SerializerBase<JPQLSerializer>
public java.lang.Void visit(ParamExpression<?> param, java.lang.Void context)
visit
in interface Visitor<java.lang.Void,java.lang.Void>
visit
in class SerializerBase<JPQLSerializer>
public java.lang.Void visit(SubQueryExpression<?> query, java.lang.Void context)
public java.lang.Void visit(Path<?> expr, java.lang.Void context)
visit
in interface Visitor<java.lang.Void,java.lang.Void>
visit
in class SerializerBase<JPQLSerializer>
public java.lang.Void visit(FactoryExpression<?> expr, java.lang.Void context)
visit
in interface Visitor<java.lang.Void,java.lang.Void>
visit
in class SerializerBase<JPQLSerializer>
protected void visitOperation(java.lang.Class<?> type, Operator<?> operator, java.util.List<? extends Expression<?>> args)
visitOperation
in class SerializerBase<JPQLSerializer>
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.