public class HqlTransformer extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
HqlTransformer.NameProvider
A helper interface used to provide entity names and property names.
|
Constructor and Description |
---|
HqlTransformer(String source,
RecordType recordType,
NamespaceModel namespace) |
HqlTransformer(String source,
RecordType recordType,
NamespaceModel namespace,
HqlTransformer.NameProvider nameProvider) |
Modifier and Type | Method and Description |
---|---|
String |
transform(boolean removeOrderBy)
Transform the source, replacing entity names and property names.
|
String |
transformToCount()
Transform the source to count query, replacing entity names and property names.
|
public HqlTransformer(String source, RecordType recordType, NamespaceModel namespace)
namespace
- source
- recordType
- public HqlTransformer(String source, RecordType recordType, NamespaceModel namespace, HqlTransformer.NameProvider nameProvider)
namespace
- source
- recordType
- nameProvider
- public String transform(boolean removeOrderBy) throws ValidationException
removeOrderBy
- ValidationException
public String transformToCount() throws ValidationException
ValidationException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.