public class CountQueryGenerator extends AbstractQueryGenerator
BLANK_SPACE, CLOSING_PARENTHESIS, COUNT, COUNT_PREFIX, FIND_PREFIX, FROM, LOGIC_AND, NEW_LINE, OPENING_PARENTHESIS, ORDER_BY, SELECT, WHERE| Constructor and Description |
|---|
CountQueryGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOrderBy(char tablePrefix,
StringBuilder builder) |
void |
buildSelect(char simpleNameAlias,
StringBuilder builder) |
Query |
createQueryForField(BusinessObject businessObject,
Field field) |
Query |
createQueryForLazyField(BusinessObject businessObject,
RelationField relationField) |
Query |
createQueryForPersistenceId(BusinessObject businessObject) |
Query |
createQueryForUniqueConstraint(BusinessObject businessObject,
UniqueConstraint uniqueConstraint) |
String |
getListReturnType() |
protected String |
getQualifiedReturnType(BusinessObject businessObject) |
protected String |
getQueryContentForLazyField() |
String |
getQueryPrefix() |
buildCompareField, buildSelectFrom, checkArgumentisNotEmpty, checkFieldIsNotACollection, checkObjectIsNotNull, createQueryContentForField, createQueryNameForField, createQueryNameForUniqueConstraint, createSelectAllQueryContent, createSelectAllQueryForBusinessObject, getQueryName, getSelectAllQueryNamepublic String getQueryPrefix()
getQueryPrefix in class AbstractQueryGeneratorpublic Query createQueryForPersistenceId(BusinessObject businessObject)
createQueryForPersistenceId in interface QueryGeneratorcreateQueryForPersistenceId in class AbstractQueryGeneratorprotected String getQualifiedReturnType(BusinessObject businessObject)
getQualifiedReturnType in class AbstractQueryGeneratorprotected String getQueryContentForLazyField()
getQueryContentForLazyField in class AbstractQueryGeneratorprotected void addOrderBy(char tablePrefix,
StringBuilder builder)
addOrderBy in class AbstractQueryGeneratorpublic void buildSelect(char simpleNameAlias,
StringBuilder builder)
buildSelect in class AbstractQueryGeneratorpublic String getListReturnType()
getListReturnType in class AbstractQueryGeneratorpublic Query createQueryForLazyField(BusinessObject businessObject, RelationField relationField)
createQueryForLazyField in interface QueryGeneratorcreateQueryForLazyField in class AbstractQueryGeneratorpublic Query createQueryForUniqueConstraint(BusinessObject businessObject, UniqueConstraint uniqueConstraint)
createQueryForUniqueConstraint in interface QueryGeneratorcreateQueryForUniqueConstraint in class AbstractQueryGeneratorpublic Query createQueryForField(BusinessObject businessObject, Field field)
createQueryForField in interface QueryGeneratorcreateQueryForField in class AbstractQueryGeneratorCopyright © 2018 Bonitasoft S.A.. All rights reserved.