public abstract class AbstractRelationQueryGenerator extends Object implements RelationQueryGenerator
RelationQueryGenerator
contract.Modifier and Type | Field and Description |
---|---|
protected MiddleIdData |
referencingIdData |
protected boolean |
revisionTypeInId |
protected AuditEntitiesConfiguration |
verEntCfg |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRelationQueryGenerator(AuditEntitiesConfiguration verEntCfg,
MiddleIdData referencingIdData,
boolean revisionTypeInId) |
Modifier and Type | Method and Description |
---|---|
Query |
getQuery(AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected abstract String |
getQueryRemovedString() |
protected abstract String |
getQueryString() |
protected String |
getRevisionTypePath() |
protected String |
queryToString(QueryBuilder query) |
protected String |
queryToString(QueryBuilder query,
Map<String,Object> queryParamValues) |
protected final AuditEntitiesConfiguration verEntCfg
protected final MiddleIdData referencingIdData
protected final boolean revisionTypeInId
protected AbstractRelationQueryGenerator(AuditEntitiesConfiguration verEntCfg, MiddleIdData referencingIdData, boolean revisionTypeInId)
protected abstract String getQueryString()
protected abstract String getQueryRemovedString()
public Query getQuery(AuditReaderImplementor versionsReader, Object primaryKey, Number revision, boolean removed)
getQuery
in interface RelationQueryGenerator
protected String getRevisionTypePath()
protected String queryToString(QueryBuilder query)
protected String queryToString(QueryBuilder query, Map<String,Object> queryParamValues)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.