public final class NativeSQLSerializer extends SQLSerializer
NativeSQLSerializer
extends SQLSerializer
to extract referenced entity paths and change
some serialization formatsSQLSerializer.Stage
stage
Constructor and Description |
---|
NativeSQLSerializer(Configuration configuration) |
NativeSQLSerializer(Configuration configuration,
boolean wrapEntityProjections) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendAsColumnName(Path<?> path,
boolean precededByDot) |
com.google.common.collect.ListMultimap<Expression<?>,String> |
getAliases() |
protected void |
handleJoinTarget(JoinExpression je) |
void |
serialize(QueryMetadata metadata,
boolean forCountRow) |
void |
visitConstant(Object constant) |
protected void |
visitOperation(Class<?> type,
Operator operator,
List<? extends Expression<?>> args) |
appendSchemaName, appendTableName, getConstantPaths, getConstants, getTemplates, handle, handleOrderBy, handleSelect, serializeDelete, serializeInsert, serializeInsert, serializeMerge, serializeUnion, serializeUpdate, setDmlWithSchema, setSkipParent, setUseLiterals, visit, visit, visit, visit
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 NativeSQLSerializer(Configuration configuration)
public NativeSQLSerializer(Configuration configuration, boolean wrapEntityProjections)
protected void appendAsColumnName(Path<?> path, boolean precededByDot)
appendAsColumnName
in class SQLSerializer
protected void handleJoinTarget(JoinExpression je)
handleJoinTarget
in class SQLSerializer
public com.google.common.collect.ListMultimap<Expression<?>,String> getAliases()
public void serialize(QueryMetadata metadata, boolean forCountRow)
serialize
in class SQLSerializer
public void visitConstant(Object constant)
visitConstant
in class SQLSerializer
protected void visitOperation(Class<?> type, Operator operator, List<? extends Expression<?>> args)
visitOperation
in class SQLSerializer
Copyright © 2007–2016 Querydsl. All rights reserved.