public abstract class AbstractConditionQuery extends Object implements ConditionQuery
| 修飾子とタイプ | クラスと説明 |
|---|---|
protected class |
AbstractConditionQuery.GeneralColumnRealNameProvider |
static interface |
AbstractConditionQuery.NssCall |
class |
AbstractConditionQuery.OracleMatchLikeSearch |
class |
AbstractConditionQuery.PostgreSQLMatchLikeSearch |
protected static class |
AbstractConditionQuery.PropertyNameCQContainer |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
_aliasName
My alias name.
|
protected ConditionBean |
_baseCB
The base condition-bean of this query.
|
protected String |
_foreignPropertyName
The property name of foreign.
|
protected boolean |
_inline
Is it the in-line.
|
protected int |
_nestLevel
The nest level of relation.
|
protected boolean |
_onClause
Is it on-clause.
|
protected Map<String,ParameterOption> |
_parameterOptionMap
The map of parameter option for parameter comment.
|
protected Map<String,ConditionQuery> |
_queryRelationKeepingMap
The map of query-relation condition-query to keep parameters for parameter comment.
|
protected ConditionQuery |
_referrerQuery
The referrer query.
|
protected String |
_relationPath
The path of relation.
|
protected SqlClause |
_sqlClause
SQL clause.
|
protected Map<String,Map<String,ConditionQuery>> |
_subQueryKeepingMap
The map of sub-query condition-query to keep parameters for parameter comment.
|
protected int |
_subQueryLevel
The level of subQuery.
|
protected Map<String,Map<String,Object>> |
_subQueryParameterKeepingMap
The map of sub-query parameter to keep parameters for parameter comment.
|
protected SimpleMapPmb<ConditionQuery> |
_unionAllQueryMap
The map parameter-bean of union all query.
|
protected SimpleMapPmb<ConditionQuery> |
_unionQueryMap
The map parameter-bean of union query.
|
protected static ConditionKey |
CK_EQ |
protected static ConditionKey |
CK_GE |
protected static ConditionKey |
CK_GT |
protected static ConditionKey |
CK_INS |
protected static ConditionKey |
CK_ISN |
protected static ConditionKey |
CK_ISNN |
protected static ConditionKey |
CK_ISNOE |
protected static ConditionKey |
CK_LE |
protected static ConditionKey |
CK_LS |
protected static ConditionKey |
CK_LT |
protected static ConditionKey |
CK_NES |
protected static ConditionKey |
CK_NET |
protected static ConditionKey |
CK_NINS |
protected static ConditionKey |
CK_NLS |
protected static String |
CQ_PROPERTY
The property of condition-query.
|
protected static Object |
DOBJ
Object for DUMMY.
|
| コンストラクタと説明 |
|---|
AbstractConditionQuery(ConditionQuery referrerQuery,
SqlClause sqlClause,
String aliasName,
int nestLevel)
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
assertAliasName(String aliasName)
Assert that the alias-name is not null and is not empty and does not contain comma.
|
protected void |
assertColumnName(String columnName)
Assert that the column-name is not null and is not empty and does not contain comma.
|
protected void |
assertFunctionNotNull(String title,
String columnDbName,
String function) |
protected void |
assertManualOrderOpCallNotNull(ManualOrderOptionCall opCall) |
protected void |
assertObjectNotNull(String variableName,
Object value)
Assert that the object is not null.
|
protected void |
assertOrderByPurpose(String columnDbName) |
protected void |
assertStringNotNullAndNotTrimmedEmpty(String variableName,
String value)
Assert that the string is not null and not trimmed empty.
|
protected void |
assertSubQueryNotNull(String title,
String columnDbName,
ConditionQuery subQuery) |
protected ManualOrderOption |
cMOO(ManualOrderOptionCall opCall) |
protected ConditionBeanExceptionThrower |
createCBExThrower() |
protected ConditionOption |
createEmbeddedOption(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
protected FixedConditionResolver |
createForeignFixedConditionResolver(ConditionQuery foreignCQ) |
protected DerivedReferrerOptionFactory |
createQueryDerivedReferrerOptionFactory() |
protected FixedConditionResolver |
createReferrerFixedConditionResolver(ConditionQuery referrerCQ) |
protected <PROPERTY> List<PROPERTY> |
cTL(Collection<PROPERTY> col) |
protected <PROPERTY extends Number> |
cTNum(Object obj,
Class<PROPERTY> type) |
protected <PROPERTY extends Number> |
cTNumL(Collection<? extends Classification> col,
Class<PROPERTY> type) |
protected List<String> |
cTStrL(Collection<? extends Classification> col) |
protected ConditionQuery |
doInvokeForeignCQ(ConditionQuery cq,
String foreignPropertyName) |
protected boolean |
doInvokeHasForeignCQ(ConditionQuery cq,
String foreignPropertyName) |
protected void |
doInvokeQuery(String colName,
String ckey,
Object value,
ConditionOption option) |
protected void |
doRegIQ(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName,
ConditionOption option) |
protected void |
doRegisterLikeSearchQueryCompoundOptimized(String value,
ConditionValue cvalue,
String columnDbName,
LikeSearchOption option) |
protected void |
doRegisterLikeSearchQuerySplitBy(ConditionKey key,
String value,
ConditionValue cvalue,
String columnDbName,
LikeSearchOption option) |
protected void |
doRegisterOuterJoin(ConditionQuery foreignCQ,
Map<String,String> joinOnResourceMap,
String foreignPropertyName,
ForeignInfo foreignInfo) |
protected void |
doRegisterQueryDerivedReferrer(String function,
ConditionQuery subQuery,
String columnDbName,
String relatedColumnDbName,
String propertyName,
String referrerPropertyName,
String operand,
Object value,
String parameterPropertyName,
DerivedReferrerOption option) |
protected <CB extends ConditionBean> |
doRegisterScalarCondition(String function,
ConditionQuery subQuery,
String propertyName,
String operand,
HpSLCCustomized<CB> after,
ScalarConditionOption option) |
protected void |
doRegisterSpecifyDerivedReferrer(String function,
ConditionQuery subQuery,
String columnDbName,
String relatedColumnDbName,
String propertyName,
String referrerPropertyName,
String aliasName,
DerivedReferrerOption option) |
protected void |
doThrowConditionInvokingFailureException(String notice,
String columnFlexibleName,
String conditionKeyName,
Object conditionValue,
ConditionOption conditionOption,
String methodName,
Class<?>[] parameterTypes,
RuntimeException cause) |
protected Date |
fCTPD(Date date)
Delegate to filterConvertToPureDate().
|
protected Date |
filterConvertToPureDate(Date date)
Filter converting the date to a pure date.
|
protected void |
filterFromToOption(String columnDbName,
FromToOption option) |
protected Object |
filterFromToRegisteredDate(FromToOption option,
Date date,
String columnDbName) |
protected String |
filterRemoveEmptyString(String value)
Filter removing an empty string as null.
|
protected DBMeta |
findDBMeta(String tableFlexibleName)
Find the DB meta.
|
protected String |
fRES(String value)
Delegate to filterRemoveEmptyString().
|
protected TimeZone |
getDBFluteSystemFinalTimeZone() |
protected void |
handleInvalidQuery(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
protected void |
handleInvalidQueryList(List<ConditionKey> keyList,
List<? extends Object> valueList,
String columnDbName) |
protected void |
handleOverridingQuery(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
boolean |
hasUnionQueryOrUnionAllQuery()
Has union query or union all query?
|
protected String |
hSC(String columnName,
String value,
Integer size,
String modeCode) |
protected String |
initCap(String str) |
protected String |
initUncap(String str) |
void |
innerJoin()
Change the join type for this relation to inner join.
|
ConditionQuery |
invokeForeignCQ(String foreignPropertyName)
Invoke getting foreign condition-query.
|
boolean |
invokeHasForeignCQ(String foreignPropertyName)
Invoke determining foreign condition-query existence?
|
void |
invokeOrderBy(String columnFlexibleName,
boolean isAsc)
Invoke adding orderBy.
|
void |
invokeQuery(String columnFlexibleName,
String conditionKeyName,
Object conditionValue)
Invoke setting query.
|
void |
invokeQuery(String columnFlexibleName,
String conditionKeyName,
Object conditionValue,
ConditionOption conditionOption)
Invoke setting query with option.
|
void |
invokeQueryEqual(String columnFlexibleName,
Object value)
Invoke setting query of equal.
|
protected void |
invokeQueryLikeSearch(String columnFlexibleName,
Object value,
LikeSearchOption option) |
void |
invokeQueryNotEqual(String columnFlexibleName,
Object value)
Invoke setting query of not-equal.
|
ConditionValue |
invokeValue(String columnFlexibleName)
Invoke getting value.
|
boolean |
isBaseQuery()
Is this a base query?
|
protected boolean |
isDerivedReferrerSelectAllPossible(ConditionQuery subQuery,
DerivedReferrerOption option) |
protected boolean |
isEmptyStringQueryAllowed()
Does it allowed an empty string to set for query?
|
protected boolean |
isInScopeRelationSuppressLocalAliasName() |
protected boolean |
isOrScopeQueryAndPartEffective() |
protected boolean |
isOrScopeQueryDirectlyUnder() |
protected boolean |
isOrScopeQueryEffective() |
protected boolean |
isOverrideQueryAllowed(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
protected String |
ln() |
protected void |
lock() |
protected void |
lockCall(IndependentProcessor noArgInLambda) |
protected ConditionValue |
nCV() |
protected <ELEMENT> ArrayList<ELEMENT> |
newArrayList() |
protected <ELEMENT> ArrayList<ELEMENT> |
newArrayList(Collection<ELEMENT> collection) |
protected <ELEMENT> List<ELEMENT> |
newArrayList(ELEMENT element) |
protected <ELEMENT> List<ELEMENT> |
newArrayList(ELEMENT element1,
ELEMENT element2) |
protected <ELEMENT> List<ELEMENT> |
newArrayList(ELEMENT element1,
ELEMENT element2,
ELEMENT element3) |
protected <ELEMENT> ArrayList<ELEMENT> |
newArrayListSized(int size) |
protected ConditionValue |
newConditionValue() |
protected DerivedReferrerOption |
newDefaultDerivedReferrerOption() |
protected ScalarConditionOption |
newDefaultScalarConditionOption() |
protected FixedConditionResolver |
newFixedConditionResolver(ConditionQuery localCQ,
ConditionQuery foreignCQ,
DBMetaProvider dbmetaProvider) |
protected FromToOption |
newFromToOption()
New-create the option of from-to as plain.
|
protected <KEY,VALUE> |
newHashMap() |
protected <KEY,VALUE> |
newHashMapSized(int size) |
protected LikeSearchOption |
newLikeSearchOption()
New-create the option of like-search as plain.
|
protected <KEY,VALUE> |
newLinkedHashMap() |
protected <KEY,VALUE> |
newLinkedHashMapSized(int size) |
protected ManualOrderOption |
newManualOrderOption()
New-create the option of manual-order as plain.
|
protected DerivedReferrerOption |
newQueryDerivedReferrerOption()
New-create the option of (query) derived-referrer as plain.
|
protected RangeOfOption |
newRangeOfOption()
New-create the option of range-of as plain.
|
protected void |
noticeRegistered(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
protected ConditionKeyPrepareResult |
prepareQueryChecked(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
protected ConditionKeyPrepareResult |
prepareQueryNoCheck(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
protected abstract void |
reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
ConditionQuery unionQueryAsSuper)
Reflect relation on union query.
|
protected void |
regFTQ(Date fromDate,
Date toDate,
ConditionValue cvalue,
String columnDbName,
FromToOption option) |
protected void |
regINS(ConditionKey key,
List<?> value,
ConditionValue cvalue,
String columnDbName) |
protected void |
regIQ(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
protected void |
regIQ(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName,
ConditionOption option) |
protected void |
registerExistsReferrer(ConditionQuery subQuery,
String columnDbName,
String relatedColumnDbName,
String propertyName,
String referrerPropertyName) |
protected void |
registerExistsReferrer(ConditionQuery subQuery,
String columnDbName,
String relatedColumnDbName,
String propertyName,
String referrerPropertyName,
boolean notExists) |
protected void |
registerInlineWhereClause(String whereClause) |
protected void |
registerInScopeRelation(ConditionQuery subQuery,
String columnDbName,
String relatedColumnDbName,
String propertyName,
String relationPropertyName,
boolean notInScope) |
protected void |
registerLikeSearchQuery(ConditionKey key,
String value,
ConditionValue cvalue,
String columnDbName,
LikeSearchOption option) |
protected void |
registerMyselfExists(ConditionQuery subQuery,
String subQueryPropertyName) |
protected void |
registerMyselfInScope(ConditionQuery subQuery,
String subQueryPropertyName) |
protected void |
registerNotExistsReferrer(ConditionQuery subQuery,
String columnDbName,
String relatedColumnDbName,
String propertyName,
String referrerPropertyName) |
protected void |
registerOrderBy(String columnDbName,
boolean ascOrDesc) |
protected void |
registerOuterJoin(ConditionQuery foreignCQ,
Map<String,String> joinOnResourceMap,
String foreignPropertyName)
Register outer-join.
|
protected void |
registerQueryDerivedReferrer(String function,
ConditionQuery subQuery,
String columnDbName,
String relatedColumnDbName,
String propertyName,
String referrerPropertyName,
String operand,
Object value,
String parameterPropertyName,
DerivedReferrerOption option) |
protected void |
registerQueryMyselfDerived(String function,
ConditionQuery subQuery,
String columnDbName,
String relatedColumnDbName,
String propertyName,
String referrerPropertyName,
String operand,
Object value,
String parameterPropertyName,
DerivedReferrerOption option) |
protected <CB extends ConditionBean> |
registerScalarCondition(String function,
ConditionQuery subQuery,
String propertyName,
String operand,
HpSLCCustomized<CB> after,
ScalarConditionOption option) |
protected void |
registerSpecifiedDerivedOrderBy_Asc(String aliasName) |
protected void |
registerSpecifiedDerivedOrderBy_Desc(String aliasName) |
protected void |
registerSpecifyDerivedReferrer(String function,
ConditionQuery subQuery,
String columnDbName,
String relatedColumnDbName,
String propertyName,
String referrerPropertyName,
String aliasName,
DerivedReferrerOption option) |
protected void |
registerSpecifyMyselfDerived(String function,
ConditionQuery subQuery,
String columnDbName,
String relatedColumnDbName,
String propertyName,
String referrerPropertyName,
String aliasName,
DerivedReferrerOption option) |
protected void |
registerUnionQuery(ConditionQuery unionQuery,
boolean unionAll,
String unionQueryPropertyName) |
protected void |
registerWhereClause(QueryClause whereClause,
QueryUsedAliasInfo... usedAliasInfos) |
protected void |
registerWhereClause(String whereClause) |
protected void |
registerWhereClause(String whereClause,
boolean noWayInner) |
protected void |
regLSQ(ConditionKey key,
String value,
ConditionValue cvalue,
String columnDbName,
LikeSearchOption option) |
protected void |
regOBA(String columnDbName) |
protected void |
regOBD(String columnDbName) |
protected void |
regQ(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
protected void |
regQ(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName,
ConditionOption option) |
protected void |
regROO(Number minNumber,
Number maxNumber,
ConditionValue cvalue,
String columnDbName,
RangeOfOption option) |
protected String |
replaceString(String text,
String fromText,
String toText) |
protected String |
resolveJoinAliasName(String relationPath,
int nestLevel)
Resolve alias name for join table.
|
protected DerivedReferrerOption |
resolveMyselfDerivedReferrerOption(DerivedReferrerOption option) |
protected String |
resolveNextRelationPath(String localTableName,
String foreignPropertyName)
Resolve relation no.
|
protected void |
setupConditionValueAndRegisterWhereClause(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
protected void |
setupConditionValueAndRegisterWhereClause(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName,
ConditionOption option) |
protected void |
throwConditionInvokingColumnFindFailureException(String columnFlexibleName,
String conditionKeyName,
Object conditionValue,
ConditionOption conditionOption,
RuntimeException cause) |
protected void |
throwConditionInvokingDateFromToValueInvalidException(String columnFlexibleName,
String conditionKeyName,
Object conditionValue,
ConditionOption conditionOption,
String methodName,
Class<?>[] parameterTypes) |
protected void |
throwConditionInvokingForeignQueryMethodNotFoundException(ConditionQuery cq,
String foreignPropertyName,
String methodName) |
protected void |
throwConditionInvokingForeignQueryReflectionFailureException(ConditionQuery cq,
String foreignPropertyName,
String methodName,
DfReflectionUtil.ReflectionFailureException cause) |
protected void |
throwConditionInvokingGetMethodNotFoundException(String columnFlexibleName,
String methodName) |
protected void |
throwConditionInvokingGetReflectionFailureException(String columnFlexibleName,
String methodName,
DfReflectionUtil.ReflectionFailureException e) |
protected void |
throwConditionInvokingOrderMethodNotFoundException(String columnFlexibleName,
boolean isAsc,
String methodName) |
protected void |
throwConditionInvokingOrderReflectionFailureException(String columnFlexibleName,
boolean isAsc,
String methodName,
DfReflectionUtil.ReflectionFailureException cause) |
protected void |
throwConditionInvokingSetMethodNotFoundException(String columnFlexibleName,
String conditionKeyName,
Object conditionValue,
ConditionOption conditionOption,
String methodName,
Class<?>[] parameterTypes) |
protected void |
throwConditionInvokingSetReflectionFailureException(String columnFlexibleName,
String conditionKeyName,
Object conditionValue,
ConditionOption conditionOption,
String methodName,
Class<?>[] parameterTypes,
DfReflectionUtil.ReflectionFailureException cause) |
protected void |
throwConditionInvokingValueConvertFailureException(String columnFlexibleName,
String conditionKeyName,
Object conditionValue,
ConditionOption conditionOption,
RuntimeException cause) |
protected void |
throwInvalidQueryRegisteredException(HpInvalidQueryInfo... invalidQueryInfoAry) |
protected void |
throwLikeSearchOptionNotFoundException(String columnDbName,
String value) |
protected void |
throwOrderByIllegalPurposeException(String columnDbName) |
protected void |
throwQueryAlreadyRegisteredException(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName) |
protected void |
throwSpecifiedDerivedOrderByAliasNameNotFoundException(String aliasName) |
ColumnRealName |
toColumnRealName(ColumnInfo columnInfo)
Convert to the column real name.
|
ColumnRealName |
toColumnRealName(String columnDbName)
Convert to the column real name.
|
ColumnSqlName |
toColumnSqlName(String columnDbName)
Convert to the column SQL name.
|
String |
toString() |
protected void |
unlock() |
void |
withNullsFirst()
Order with the keyword 'nulls first'.
|
void |
withNullsLast()
Order with the keyword 'nulls last'.
|
protected void |
xassertFCDP(String property,
Map<String,Object> parameterMap) |
protected String |
xbuildForeignCorrelatedFixedCondition(ConditionQuery subQuery,
String relationPropertyName) |
protected String |
xbuildQuerySetMethodName(String ckey,
String columnCapPropName) |
protected String |
xbuildReferrerCorrelatedFixedCondition(ConditionQuery subQuery,
String referrerPropertyName) |
protected void |
xcalbackAssertFixedConditionDynamicParameter(String foreignPropertyName,
ForeignInfo foreignInfo) |
protected FromToOption |
xcDFTOP() |
protected FromToOption |
xcFTOP(ConditionOptionCall<FromToOption> opCall) |
protected void |
xcheckManualOrderState(ManualOrderOption mob,
OrderByElement lastElement) |
protected void |
xcheckManualOrderUnique(ManualOrderOption mob,
OrderByElement lastElement) |
protected TimeZone |
xchooseFromToRealTimeZone(String columnDbName,
FromToOption option) |
protected LikeSearchOption |
xcLSOP(ConditionOptionCall<LikeSearchOption> opCall) |
protected LikeSearchOption |
xcLSOPPre() |
protected <PROPERTY> List<PROPERTY> |
xconvertToList(Collection<PROPERTY> col) |
protected <CB extends ConditionBean> |
xcQDRFunc(HpQDRSetupper<CB> setupper) |
protected HpDerivingSubQueryInfo |
xcreateDerivingSubQueryInfo(String function,
String aliasName,
String clause,
SpecifyDerivedReferrer derivedReferrer) |
protected HpInvalidQueryInfo |
xcreateInvalidQueryInfo(ConditionKey key,
Object value,
String columnDbName) |
protected SpecifiedColumn |
xcreateManualOrderSpecifiedColumn(ConditionBean dreamCruiseCB) |
protected LikeSearchOption |
xcreateMatchLikeSearch() |
protected LikeSearchOption |
xcreateOracleMatchLikeSearch() |
protected LikeSearchOption |
xcreatePostgreSQLMatchLikeSearch() |
protected <CB extends ConditionBean> |
xcreateQDRFunctionMyselfDerived(Class<CB> cbType) |
protected ConditionValue.QueryModeProvider |
xcreateQueryModeProvider() |
protected <CB extends ConditionBean> |
xcreateSLCFunction(ConditionKey ckey,
Class<CB> tp) |
protected <CB extends ConditionBean> |
xcreateSLCFunction(String rd,
Class<CB> tp) |
protected SimpleMapPmb<ConditionQuery> |
xcreateUnionMapPmb() |
protected RangeOfOption |
xcROOP(ConditionOptionCall<RangeOfOption> opCall) |
Map<String,Object> |
xdfgetColQyCBMap()
Get the condition-bean map of ColumnQuery for parameter comment.
|
Map<String,Object> |
xdfgetFreePrmMap()
Get the map of free parameter for parameter comment.
|
SimpleMapPmb<ConditionQuery> |
xdfgetInternalUnionAllQueryMap()
Get the map parameter-bean of union all query.
|
SimpleMapPmb<ConditionQuery> |
xdfgetInternalUnionQueryMap()
Get the map parameter-bean of union query.
|
Map<String,Object> |
xdfgetMnuOdrPrmMap()
Get the parameter map of ManualOrder for parameter comment.
|
Map<String,ParameterOption> |
xdfgetOptionParameterMap() |
protected void |
xdoAssertFixedConditionDynamicParameter(String property,
ForeignInfo foreignInfo,
Map<String,Object> parameterMap) |
protected String |
xdoBuildReferrerCorrelatedFixedCondition(ConditionQuery subQuery,
ReferrerInfo referrerInfo) |
protected void |
xdoHandleFromToInvalidQuery(Date fromDate,
Date toDate,
String columnDbName,
FromToOption option,
ConditionKey fromKey,
ConditionKey toKey) |
protected void |
xdoHandleInvalidQuery(String columnDbName,
HpInvalidQueryInfo... invalidQueryInfoAry) |
protected void |
xdoHandleRangeOfInvalidQuery(Number minNumber,
Number maxNumber,
String columnDbName,
RangeOfOption option,
ConditionKey fromKey,
ConditionKey toKey) |
protected void |
xdoMatchByLikeSearch(List<ColumnInfo> textColumnList,
String conditionValue) |
protected void |
xdoMatchForMySQL(List<ColumnInfo> textColumnList,
String conditionValue,
WayOfMySQL.FullTextSearchModifier modifier) |
void |
xdoNss(AbstractConditionQuery.NssCall callback) |
protected ConditionKeyPrepareResult |
xdoPrepareQuery(ConditionKey key,
Object value,
ConditionValue cvalue,
String columnDbName,
boolean invalidChecked) |
protected void |
xdoWithManualOrder(ManualOrderOption mob) |
protected String |
xescapeFullTextSearchValue(String conditionValue) |
protected String |
xescapeOracleFullTextSearchValue(String conditionValue) |
protected Date |
xfFTHD(Object date,
String columnDbName,
FromToOption option) |
protected Class<?> |
xfilterInvokeQueryParameterType(String colName,
String ckey,
Class<?> parameterType) |
protected Object |
xfilterInvokeQueryParameterValue(String colName,
String ckey,
Object parameterValue) |
protected <PROPERTY_TYPE> |
xfilterRemoveNullOrEmptyValueFromList(List<PROPERTY_TYPE> ls) |
protected abstract Map<String,Object> |
xfindFixedConditionDynamicParameterMap(String property) |
String |
xgetAliasName()
Get the alias name for this query.
|
ConditionBean |
xgetBaseCB()
Get the base condition-bean.
|
ConditionQuery |
xgetBaseQuery()
Get the base query.
|
protected abstract DBMetaProvider |
xgetDBMetaProvider()
Get the provider of DB meta.
|
String |
xgetForeignPropertyName()
Get the property name of foreign relation.
|
protected TimeZone |
xgetFromToConversionTimeZone(String columnDbName) |
protected DBMeta |
xgetLocalDBMeta()
Get the local DB meta.
|
protected String |
xgetLocation(String propertyName)
Get the location of the property.
|
String |
xgetLocationBase()
Get the base location of this condition-query.
|
int |
xgetNestLevel()
Get the nest level of relation.
|
int |
xgetNextNestLevel()
Get the nest level for next relation.
|
protected int |
xgetNNLvl() |
protected ExtensionOperand |
xgetPostgreSQLMatchOperand() |
protected <CQ extends ConditionQuery> |
xgetQueRlMap(String prop) |
ConditionQuery |
xgetReferrerQuery()
Get the referrer query.
|
String |
xgetRelationPath()
Get the path of foreign relation. e.g. _0_1
|
SqlClause |
xgetSqlClause()
Get the SqlClause.
|
protected <CQ extends ConditionQuery> |
xgetSQueMap(String identity) |
protected Map<String,Object> |
xgetSQuePmMap(String identity) |
protected String |
xgetUnionQuerySql(ConditionQuery unionQuery,
String unionQueryPropertyName) |
protected void |
xhandleFromToBothSideInvalidQuery(Date fromDate,
Date toDate,
String columnDbName,
FromToOption option,
ConditionKey fromKey,
ConditionKey toKey) |
protected void |
xhandleFromToOneSideInvalidQuery(Date fromDate,
Date toDate,
String columnDbName,
FromToOption option,
ConditionKey fromKey,
ConditionKey toKey) |
protected void |
xhandleRangeOfBothSideInvalidQuery(Number minNumber,
Number maxNumber,
String columnDbName,
RangeOfOption option,
ConditionKey fromKey,
ConditionKey toKey) |
protected void |
xhandleRangeOfOneSideInvalidQuery(Number minNumber,
Number maxNumber,
String columnDbName,
RangeOfOption option,
ConditionKey fromKey,
ConditionKey toKey) |
protected boolean |
xhasQueRlMap(String prop) |
protected AbstractConditionQuery.PropertyNameCQContainer |
xhelpExtractingPropertyNameCQContainer(String name) |
protected Method |
xhelpGettingCQMethod(ConditionQuery cq,
String methodName,
Class<?>[] argTypes) |
protected Object |
xhelpInvokingCQMethod(ConditionQuery cq,
Method method,
Object[] args) |
protected <CQ extends AbstractConditionQuery> |
xinitRelCQ(CQ cq,
ConditionBean baseCB,
String foreignPropertyName,
String nestRelationPath) |
protected boolean |
xisNextTimeLocalDate(Class<?> nativeType) |
protected boolean |
xisNextTimeLocalDateTime(Class<?> nativeType) |
protected String |
xkeepSQue(String identity,
ConditionQuery subQuery) |
protected String |
xkeepSQuePm(String identity,
Object paramValue) |
protected void |
xprepareFixedConditionDynamicParameterLazyChecker(String foreignPropertyName,
ForeignInfo foreignInfo) |
protected <CB extends ConditionBean> |
xqderiveMyselfDerived(String fn,
SubQuery<CB> sq,
String rd,
Object vl,
DerivedReferrerOption op) |
protected String |
xregisterColumyQueryObjectToThemeList(String themeKey,
Object addedValue) |
String |
xregisterFreeParameterToThemeList(String themeKey,
Object addedValue) |
protected String |
xregisterManualOrderParameterToThemeList(String themeKey,
Object addedValue) |
void |
xregisterParameterOption(ParameterOption option)
Register the parameter option.
|
protected void |
xregOutJo(String prop) |
protected void |
xregQueRl(String prop,
ConditionQuery cq) |
protected String |
xresolveJAN(String relationPath,
int nestLevel) |
protected String |
xresolveNRP(String localTableName,
String foreignPropertyName) |
protected <CB extends ConditionBean> |
xscalarCondition(String fn,
SubQuery<CB> sq,
String rd,
HpSLCCustomized<CB> cs,
ScalarConditionOption op) |
void |
xsetBaseCB(ConditionBean baseCB) |
void |
xsetForeignPropertyName(String foreignPropertyName) |
void |
xsetOnClause(boolean onClause) |
void |
xsetRelationPath(String relationPath) |
void |
xsetUnionAllQuery(ConditionQuery unionAllQuery)
Set union all query.
|
void |
xsetUnionQuery(ConditionQuery unionQuery)
Set union query.
|
protected void |
xsetupUnion(ConditionQuery unionQuery,
boolean unionAll,
SimpleMapPmb<ConditionQuery> unionQueryMap) |
protected boolean |
xsuppressEscape() |
protected Object |
xtoFromToLocalDate(Object date,
String columnDbName,
FromToOption option) |
protected Object |
xtoFromToLocalDateTime(Object date,
String columnDbName,
FromToOption option) |
protected Timestamp |
xtoFromToTimestamp(Object date,
String columnDbName,
FromToOption option) |
protected Date |
xtoFromToUtilDate(Object date,
String columnDbName,
FromToOption option) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasTableDbNameprotected static final ConditionKey CK_EQ
protected static final ConditionKey CK_NES
protected static final ConditionKey CK_NET
protected static final ConditionKey CK_GT
protected static final ConditionKey CK_LT
protected static final ConditionKey CK_GE
protected static final ConditionKey CK_LE
protected static final ConditionKey CK_INS
protected static final ConditionKey CK_NINS
protected static final ConditionKey CK_LS
protected static final ConditionKey CK_NLS
protected static final ConditionKey CK_ISN
protected static final ConditionKey CK_ISNOE
protected static final ConditionKey CK_ISNN
protected static final Object DOBJ
protected static final String CQ_PROPERTY
protected final SqlClause _sqlClause
protected final String _aliasName
protected final int _nestLevel
protected int _subQueryLevel
protected ConditionBean _baseCB
protected String _foreignPropertyName
protected String _relationPath
protected final ConditionQuery _referrerQuery
protected boolean _inline
protected boolean _onClause
protected Map<String,ConditionQuery> _queryRelationKeepingMap
protected Map<String,Map<String,ConditionQuery>> _subQueryKeepingMap
protected Map<String,Map<String,Object>> _subQueryParameterKeepingMap
protected Map<String,ParameterOption> _parameterOptionMap
protected SimpleMapPmb<ConditionQuery> _unionQueryMap
protected SimpleMapPmb<ConditionQuery> _unionAllQueryMap
public AbstractConditionQuery(ConditionQuery referrerQuery, SqlClause sqlClause, String aliasName, int nestLevel)
referrerQuery - The instance of referrer query. (NullAllowed: If null, this is base query)sqlClause - The instance of SQL clause. (NotNull)aliasName - The alias name for this query. (NotNull)nestLevel - The nest level of this query. (If zero, this is base query)public void xsetBaseCB(ConditionBean baseCB)
protected <CQ extends AbstractConditionQuery> CQ xinitRelCQ(CQ cq, ConditionBean baseCB, String foreignPropertyName, String nestRelationPath)
protected abstract DBMetaProvider xgetDBMetaProvider()
protected DBMeta findDBMeta(String tableFlexibleName)
tableFlexibleName - The table flexible name. (NotNull)protected DBMeta xgetLocalDBMeta()
public ConditionBean xgetBaseCB()
xgetBaseCB インタフェース内 ConditionQuerypublic ConditionQuery xgetBaseQuery()
xgetBaseQuery インタフェース内 ConditionQuerypublic ConditionQuery xgetReferrerQuery()
xgetReferrerQuery インタフェース内 ConditionQuerypublic SqlClause xgetSqlClause()
xgetSqlClause インタフェース内 ConditionQuerypublic String xgetAliasName()
xgetAliasName インタフェース内 ConditionQuerypublic int xgetNestLevel()
xgetNestLevel インタフェース内 ConditionQuerypublic int xgetNextNestLevel()
xgetNextNestLevel インタフェース内 ConditionQueryprotected int xgetNNLvl()
public boolean isBaseQuery()
isBaseQuery インタフェース内 ConditionQuerypublic ColumnRealName toColumnRealName(String columnDbName)
toColumnRealName インタフェース内 ConditionQuerycolumnDbName - The DB name of column. (NotNull)public ColumnRealName toColumnRealName(ColumnInfo columnInfo)
toColumnRealName インタフェース内 ConditionQuerycolumnInfo - The information of column. (NotNull)public ColumnSqlName toColumnSqlName(String columnDbName)
toColumnSqlName インタフェース内 ConditionQuerycolumnDbName - The DB name of column. (NotNull)public String xgetForeignPropertyName()
xgetForeignPropertyName インタフェース内 ConditionQuerypublic void xsetForeignPropertyName(String foreignPropertyName)
public String xgetRelationPath()
xgetRelationPath インタフェース内 ConditionQuerypublic void xsetRelationPath(String relationPath)
public void xsetOnClause(boolean onClause)
public String xgetLocationBase()
xgetLocationBase インタフェース内 ConditionQueryprotected String xgetLocation(String propertyName)
propertyName - The name of property. (NotNull)public void xdoNss(AbstractConditionQuery.NssCall callback)
protected void registerOuterJoin(ConditionQuery foreignCQ, Map<String,String> joinOnResourceMap, String foreignPropertyName)
foreignCQ - The condition-query for foreign table. (NotNull)joinOnResourceMap - The resource map of join condition on on-clause. (NotNull)foreignPropertyName - The property name of foreign relation corresponding to this join. (NotNull)protected void doRegisterOuterJoin(ConditionQuery foreignCQ, Map<String,String> joinOnResourceMap, String foreignPropertyName, ForeignInfo foreignInfo)
protected FixedConditionResolver createForeignFixedConditionResolver(ConditionQuery foreignCQ)
protected FixedConditionResolver newFixedConditionResolver(ConditionQuery localCQ, ConditionQuery foreignCQ, DBMetaProvider dbmetaProvider)
protected void xprepareFixedConditionDynamicParameterLazyChecker(String foreignPropertyName, ForeignInfo foreignInfo)
protected void xcalbackAssertFixedConditionDynamicParameter(String foreignPropertyName, ForeignInfo foreignInfo)
protected abstract Map<String,Object> xfindFixedConditionDynamicParameterMap(String property)
protected void xdoAssertFixedConditionDynamicParameter(String property, ForeignInfo foreignInfo, Map<String,Object> parameterMap)
public SimpleMapPmb<ConditionQuery> xdfgetInternalUnionQueryMap()
public void xsetUnionQuery(ConditionQuery unionQuery)
unionQuery - Union query. (NotNull)public SimpleMapPmb<ConditionQuery> xdfgetInternalUnionAllQueryMap()
protected SimpleMapPmb<ConditionQuery> xcreateUnionMapPmb()
public void xsetUnionAllQuery(ConditionQuery unionAllQuery)
unionAllQuery - Union all query. (NotNull)protected void xsetupUnion(ConditionQuery unionQuery, boolean unionAll, SimpleMapPmb<ConditionQuery> unionQueryMap)
protected abstract void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper)
baseQueryAsSuper - Base query as super. (NotNull)unionQueryAsSuper - Union query as super. (NotNull)public boolean hasUnionQueryOrUnionAllQuery()
protected void regQ(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
protected void regQ(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName, ConditionOption option)
protected ConditionKeyPrepareResult prepareQueryChecked(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
key - The condition key for the query. (NotNull)value - The value of the condition. (NotNull)cvalue - The object of condition value. (NotNull)columnDbName - The DB name of column for the query. (NotNull)protected ConditionKeyPrepareResult prepareQueryNoCheck(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
key - The condition key for the query. (NotNull)value - The value of the condition. (NotNull)cvalue - The object of condition value. (NotNull)columnDbName - The DB name of column for the query. (NotNull)protected ConditionKeyPrepareResult xdoPrepareQuery(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName, boolean invalidChecked)
protected void handleOverridingQuery(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
protected boolean isOverrideQueryAllowed(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
protected void noticeRegistered(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
protected void handleInvalidQuery(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
protected void handleInvalidQueryList(List<ConditionKey> keyList, List<? extends Object> valueList, String columnDbName)
protected void xdoHandleInvalidQuery(String columnDbName, HpInvalidQueryInfo... invalidQueryInfoAry)
protected HpInvalidQueryInfo xcreateInvalidQueryInfo(ConditionKey key, Object value, String columnDbName)
protected ConditionValue.QueryModeProvider xcreateQueryModeProvider()
protected void throwQueryAlreadyRegisteredException(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
protected void throwInvalidQueryRegisteredException(HpInvalidQueryInfo... invalidQueryInfoAry)
protected void regLSQ(ConditionKey key, String value, ConditionValue cvalue, String columnDbName, LikeSearchOption option)
protected void registerLikeSearchQuery(ConditionKey key, String value, ConditionValue cvalue, String columnDbName, LikeSearchOption option)
protected void doRegisterLikeSearchQueryCompoundOptimized(String value, ConditionValue cvalue, String columnDbName, LikeSearchOption option)
protected void doRegisterLikeSearchQuerySplitBy(ConditionKey key, String value, ConditionValue cvalue, String columnDbName, LikeSearchOption option)
protected void throwLikeSearchOptionNotFoundException(String columnDbName, String value)
protected boolean xsuppressEscape()
protected void invokeQueryLikeSearch(String columnFlexibleName, Object value, LikeSearchOption option)
protected boolean isOrScopeQueryDirectlyUnder()
protected boolean isOrScopeQueryEffective()
protected boolean isOrScopeQueryAndPartEffective()
protected void regFTQ(Date fromDate, Date toDate, ConditionValue cvalue, String columnDbName, FromToOption option)
protected void filterFromToOption(String columnDbName, FromToOption option)
protected void xhandleFromToOneSideInvalidQuery(Date fromDate, Date toDate, String columnDbName, FromToOption option, ConditionKey fromKey, ConditionKey toKey)
protected void xhandleFromToBothSideInvalidQuery(Date fromDate, Date toDate, String columnDbName, FromToOption option, ConditionKey fromKey, ConditionKey toKey)
protected void xdoHandleFromToInvalidQuery(Date fromDate, Date toDate, String columnDbName, FromToOption option, ConditionKey fromKey, ConditionKey toKey)
protected Date xfFTHD(Object date, String columnDbName, FromToOption option)
protected Date xtoFromToUtilDate(Object date, String columnDbName, FromToOption option)
protected Timestamp xtoFromToTimestamp(Object date, String columnDbName, FromToOption option)
protected Object filterFromToRegisteredDate(FromToOption option, Date date, String columnDbName)
protected Object xtoFromToLocalDate(Object date, String columnDbName, FromToOption option)
protected Object xtoFromToLocalDateTime(Object date, String columnDbName, FromToOption option)
protected boolean xisNextTimeLocalDate(Class<?> nativeType)
protected boolean xisNextTimeLocalDateTime(Class<?> nativeType)
protected TimeZone xchooseFromToRealTimeZone(String columnDbName, FromToOption option)
protected void regROO(Number minNumber, Number maxNumber, ConditionValue cvalue, String columnDbName, RangeOfOption option)
protected void xhandleRangeOfOneSideInvalidQuery(Number minNumber, Number maxNumber, String columnDbName, RangeOfOption option, ConditionKey fromKey, ConditionKey toKey)
protected void xhandleRangeOfBothSideInvalidQuery(Number minNumber, Number maxNumber, String columnDbName, RangeOfOption option, ConditionKey fromKey, ConditionKey toKey)
protected void xdoHandleRangeOfInvalidQuery(Number minNumber, Number maxNumber, String columnDbName, RangeOfOption option, ConditionKey fromKey, ConditionKey toKey)
protected void regINS(ConditionKey key, List<?> value, ConditionValue cvalue, String columnDbName)
protected void regIQ(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
protected void regIQ(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName, ConditionOption option)
protected void doRegIQ(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName, ConditionOption option)
protected void registerExistsReferrer(ConditionQuery subQuery, String columnDbName, String relatedColumnDbName, String propertyName, String referrerPropertyName)
protected void registerNotExistsReferrer(ConditionQuery subQuery, String columnDbName, String relatedColumnDbName, String propertyName, String referrerPropertyName)
protected void registerExistsReferrer(ConditionQuery subQuery, String columnDbName, String relatedColumnDbName, String propertyName, String referrerPropertyName, boolean notExists)
protected String xbuildReferrerCorrelatedFixedCondition(ConditionQuery subQuery, String referrerPropertyName)
protected String xdoBuildReferrerCorrelatedFixedCondition(ConditionQuery subQuery, ReferrerInfo referrerInfo)
protected FixedConditionResolver createReferrerFixedConditionResolver(ConditionQuery referrerCQ)
protected void registerInScopeRelation(ConditionQuery subQuery, String columnDbName, String relatedColumnDbName, String propertyName, String relationPropertyName, boolean notInScope)
protected boolean isInScopeRelationSuppressLocalAliasName()
protected String xbuildForeignCorrelatedFixedCondition(ConditionQuery subQuery, String relationPropertyName)
protected void registerSpecifyDerivedReferrer(String function, ConditionQuery subQuery, String columnDbName, String relatedColumnDbName, String propertyName, String referrerPropertyName, String aliasName, DerivedReferrerOption option)
protected void doRegisterSpecifyDerivedReferrer(String function, ConditionQuery subQuery, String columnDbName, String relatedColumnDbName, String propertyName, String referrerPropertyName, String aliasName, DerivedReferrerOption option)
protected boolean isDerivedReferrerSelectAllPossible(ConditionQuery subQuery, DerivedReferrerOption option)
protected HpDerivingSubQueryInfo xcreateDerivingSubQueryInfo(String function, String aliasName, String clause, SpecifyDerivedReferrer derivedReferrer)
protected DerivedReferrerOption newDefaultDerivedReferrerOption()
protected void registerSpecifyMyselfDerived(String function, ConditionQuery subQuery, String columnDbName, String relatedColumnDbName, String propertyName, String referrerPropertyName, String aliasName, DerivedReferrerOption option)
protected DerivedReferrerOption resolveMyselfDerivedReferrerOption(DerivedReferrerOption option)
protected void registerQueryDerivedReferrer(String function, ConditionQuery subQuery, String columnDbName, String relatedColumnDbName, String propertyName, String referrerPropertyName, String operand, Object value, String parameterPropertyName, DerivedReferrerOption option)
protected void doRegisterQueryDerivedReferrer(String function, ConditionQuery subQuery, String columnDbName, String relatedColumnDbName, String propertyName, String referrerPropertyName, String operand, Object value, String parameterPropertyName, DerivedReferrerOption option)
protected <CB extends ConditionBean> HpQDRFunction<CB> xcQDRFunc(HpQDRSetupper<CB> setupper)
protected DerivedReferrerOptionFactory createQueryDerivedReferrerOptionFactory()
protected DerivedReferrerOption newQueryDerivedReferrerOption()
protected void registerQueryMyselfDerived(String function, ConditionQuery subQuery, String columnDbName, String relatedColumnDbName, String propertyName, String referrerPropertyName, String operand, Object value, String parameterPropertyName, DerivedReferrerOption option)
protected <CB extends ConditionBean> HpQDRFunction<CB> xcreateQDRFunctionMyselfDerived(Class<CB> cbType)
protected <CB extends ConditionBean> void xqderiveMyselfDerived(String fn, SubQuery<CB> sq, String rd, Object vl, DerivedReferrerOption op)
protected <CB extends ConditionBean> void registerScalarCondition(String function, ConditionQuery subQuery, String propertyName, String operand, HpSLCCustomized<CB> after, ScalarConditionOption option)
protected <CB extends ConditionBean> void doRegisterScalarCondition(String function, ConditionQuery subQuery, String propertyName, String operand, HpSLCCustomized<CB> after, ScalarConditionOption option)
protected <CB extends ConditionBean> HpSLCFunction<CB> xcreateSLCFunction(ConditionKey ckey, Class<CB> tp)
protected <CB extends ConditionBean> HpSLCFunction<CB> xcreateSLCFunction(String rd, Class<CB> tp)
protected <CB extends ConditionBean> void xscalarCondition(String fn, SubQuery<CB> sq, String rd, HpSLCCustomized<CB> cs, ScalarConditionOption op)
protected ScalarConditionOption newDefaultScalarConditionOption()
protected void registerMyselfExists(ConditionQuery subQuery, String subQueryPropertyName)
protected void registerMyselfInScope(ConditionQuery subQuery, String subQueryPropertyName)
protected void assertSubQueryNotNull(String title, String columnDbName, ConditionQuery subQuery)
protected void assertFunctionNotNull(String title, String columnDbName, String function)
protected void setupConditionValueAndRegisterWhereClause(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
protected ConditionOption createEmbeddedOption(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName)
protected void setupConditionValueAndRegisterWhereClause(ConditionKey key, Object value, ConditionValue cvalue, String columnDbName, ConditionOption option)
protected void registerWhereClause(String whereClause)
protected void registerWhereClause(String whereClause, boolean noWayInner)
protected void registerWhereClause(QueryClause whereClause, QueryUsedAliasInfo... usedAliasInfos)
protected void registerInlineWhereClause(String whereClause)
protected void registerUnionQuery(ConditionQuery unionQuery, boolean unionAll, String unionQueryPropertyName)
protected String xgetUnionQuerySql(ConditionQuery unionQuery, String unionQueryPropertyName)
public void innerJoin()
protected void registerOrderBy(String columnDbName, boolean ascOrDesc)
protected void regOBA(String columnDbName)
protected void regOBD(String columnDbName)
protected void assertOrderByPurpose(String columnDbName)
protected void throwOrderByIllegalPurposeException(String columnDbName)
public void withNullsFirst()
MemberCB cb = new MemberCB(); cb.query().addOrderBy_Birthdate_Asc().withNullsFirst(); // order by BIRTHDATE asc nulls first
public void withNullsLast()
MemberCB cb = new MemberCB(); cb.query().addOrderBy_Birthdate_Asc().withNullsLast(); // order by BIRTHDATE asc nulls last
protected ManualOrderOption cMOO(ManualOrderOptionCall opCall)
protected void assertManualOrderOpCallNotNull(ManualOrderOptionCall opCall)
protected ManualOrderOption newManualOrderOption()
protected void xdoWithManualOrder(ManualOrderOption mob)
protected void xcheckManualOrderState(ManualOrderOption mob, OrderByElement lastElement)
protected void xcheckManualOrderUnique(ManualOrderOption mob, OrderByElement lastElement)
protected SpecifiedColumn xcreateManualOrderSpecifiedColumn(ConditionBean dreamCruiseCB)
protected void registerSpecifiedDerivedOrderBy_Asc(String aliasName)
protected void registerSpecifiedDerivedOrderBy_Desc(String aliasName)
protected void throwSpecifiedDerivedOrderByAliasNameNotFoundException(String aliasName)
protected String resolveNextRelationPath(String localTableName, String foreignPropertyName)
localTableName - The name of local table. (NotNull)foreignPropertyName - The property name of foreign relation. (NotNull)protected String resolveJoinAliasName(String relationPath, int nestLevel)
relationPath - Relation path. (NotNull)nestLevel - The nest No of condition query.public ConditionValue invokeValue(String columnFlexibleName)
invokeValue インタフェース内 ConditionQuerycolumnFlexibleName - The flexible name of the column. (NotNull, NotEmpty)protected void throwConditionInvokingGetMethodNotFoundException(String columnFlexibleName, String methodName)
protected void throwConditionInvokingGetReflectionFailureException(String columnFlexibleName, String methodName, DfReflectionUtil.ReflectionFailureException e)
public void invokeQuery(String columnFlexibleName, String conditionKeyName, Object conditionValue)
invokeQuery インタフェース内 ConditionQuerycolumnFlexibleName - The flexible name of the column allowed to contain relations. (NotNull, NotEmpty)conditionKeyName - The name of the condition-key. (NotNull)conditionValue - The value of the condition. (NotNull: as default, NullAllowed: as optional)public void invokeQuery(String columnFlexibleName, String conditionKeyName, Object conditionValue, ConditionOption conditionOption)
invokeQuery インタフェース内 ConditionQuerycolumnFlexibleName - The flexible name of the column allowed to contain relations. (NotNull, NotEmpty)conditionKeyName - The name of the condition-key. (NotNull)conditionValue - The value of the condition. (NotNull: as default, NullAllowed: as optional)conditionOption - The option of the condition. (NotNull)protected void doInvokeQuery(String colName, String ckey, Object value, ConditionOption option)
protected String xbuildQuerySetMethodName(String ckey, String columnCapPropName)
protected Class<?> xfilterInvokeQueryParameterType(String colName, String ckey, Class<?> parameterType)
protected Object xfilterInvokeQueryParameterValue(String colName, String ckey, Object parameterValue)
protected void throwConditionInvokingColumnFindFailureException(String columnFlexibleName, String conditionKeyName, Object conditionValue, ConditionOption conditionOption, RuntimeException cause)
protected void throwConditionInvokingValueConvertFailureException(String columnFlexibleName, String conditionKeyName, Object conditionValue, ConditionOption conditionOption, RuntimeException cause)
protected void throwConditionInvokingSetMethodNotFoundException(String columnFlexibleName, String conditionKeyName, Object conditionValue, ConditionOption conditionOption, String methodName, Class<?>[] parameterTypes)
protected void throwConditionInvokingDateFromToValueInvalidException(String columnFlexibleName, String conditionKeyName, Object conditionValue, ConditionOption conditionOption, String methodName, Class<?>[] parameterTypes)
protected void throwConditionInvokingSetReflectionFailureException(String columnFlexibleName, String conditionKeyName, Object conditionValue, ConditionOption conditionOption, String methodName, Class<?>[] parameterTypes, DfReflectionUtil.ReflectionFailureException cause)
protected void doThrowConditionInvokingFailureException(String notice, String columnFlexibleName, String conditionKeyName, Object conditionValue, ConditionOption conditionOption, String methodName, Class<?>[] parameterTypes, RuntimeException cause)
public void invokeQueryEqual(String columnFlexibleName, Object value)
invokeQueryEqual インタフェース内 ConditionQuerycolumnFlexibleName - The flexible name of the column allowed to contain relations. (NotNull, NotEmpty)value - The value of the condition 'equal'. (NotNull: as default, NullAllowed: as optional)public void invokeQueryNotEqual(String columnFlexibleName, Object value)
invokeQueryNotEqual インタフェース内 ConditionQuerycolumnFlexibleName - The flexible name of the column allowed to contain relations. (NotNull, NotEmpty)value - The value of the condition 'notEqual'. (NotNull: as default, NullAllowed: as optional)public void invokeOrderBy(String columnFlexibleName, boolean isAsc)
invokeOrderBy インタフェース内 ConditionQuerycolumnFlexibleName - The flexible name of the column allowed to contain relations. (NotNull, NotEmpty)isAsc - Is it ascend?protected void throwConditionInvokingOrderMethodNotFoundException(String columnFlexibleName, boolean isAsc, String methodName)
protected void throwConditionInvokingOrderReflectionFailureException(String columnFlexibleName, boolean isAsc, String methodName, DfReflectionUtil.ReflectionFailureException cause)
public ConditionQuery invokeForeignCQ(String foreignPropertyName)
invokeForeignCQ インタフェース内 ConditionQueryforeignPropertyName - The property name(s), can contain '.' , of the foreign relation. (NotNull, NotEmpty)protected ConditionQuery doInvokeForeignCQ(ConditionQuery cq, String foreignPropertyName)
protected void throwConditionInvokingForeignQueryMethodNotFoundException(ConditionQuery cq, String foreignPropertyName, String methodName)
protected void throwConditionInvokingForeignQueryReflectionFailureException(ConditionQuery cq, String foreignPropertyName, String methodName, DfReflectionUtil.ReflectionFailureException cause)
public boolean invokeHasForeignCQ(String foreignPropertyName)
invokeHasForeignCQ インタフェース内 ConditionQueryforeignPropertyName - The property name(s), can contain '.' , of the foreign relation. (NotNull, NotEmpty)protected boolean doInvokeHasForeignCQ(ConditionQuery cq, String foreignPropertyName)
protected AbstractConditionQuery.PropertyNameCQContainer xhelpExtractingPropertyNameCQContainer(String name)
protected Method xhelpGettingCQMethod(ConditionQuery cq, String methodName, Class<?>[] argTypes)
protected Object xhelpInvokingCQMethod(ConditionQuery cq, Method method, Object[] args)
protected ConditionValue nCV()
protected ConditionValue newConditionValue()
protected String fRES(String value)
value - The string value for query. (NullAllowed)protected String filterRemoveEmptyString(String value)
value - The string value for query. (NullAllowed)protected boolean isEmptyStringQueryAllowed()
protected Date fCTPD(Date date)
date - The instance of date for query. (NullAllowed)protected Date filterConvertToPureDate(Date date)
date - The instance of date for query. (NullAllowed)protected LikeSearchOption xcLSOP(ConditionOptionCall<LikeSearchOption> opCall)
protected LikeSearchOption xcLSOPPre()
protected LikeSearchOption newLikeSearchOption()
protected RangeOfOption xcROOP(ConditionOptionCall<RangeOfOption> opCall)
protected RangeOfOption newRangeOfOption()
protected FromToOption xcFTOP(ConditionOptionCall<FromToOption> opCall)
protected FromToOption xcDFTOP()
protected FromToOption newFromToOption()
protected <PROPERTY extends Number> PROPERTY cTNum(Object obj, Class<PROPERTY> type)
PROPERTY - The type of property.obj - The object of the property. (NullAllowed)type - The type instance of the property. (NullAllowed)protected <PROPERTY> List<PROPERTY> cTL(Collection<PROPERTY> col)
PROPERTY - The type of property.col - The collection of the property. (NullAllowed)protected List<String> cTStrL(Collection<? extends Classification> col)
protected <PROPERTY extends Number> List<PROPERTY> cTNumL(Collection<? extends Classification> col, Class<PROPERTY> type)
protected <PROPERTY> List<PROPERTY> xconvertToList(Collection<PROPERTY> col)
PROPERTY - The type of property.col - The collection of property. (NullAllowed)protected <PROPERTY_TYPE> List<PROPERTY_TYPE> xfilterRemoveNullOrEmptyValueFromList(List<PROPERTY_TYPE> ls)
protected void xdoMatchForMySQL(List<ColumnInfo> textColumnList, String conditionValue, WayOfMySQL.FullTextSearchModifier modifier)
protected void xdoMatchByLikeSearch(List<ColumnInfo> textColumnList, String conditionValue)
protected String xescapeOracleFullTextSearchValue(String conditionValue)
protected LikeSearchOption xcreateMatchLikeSearch()
protected LikeSearchOption xcreatePostgreSQLMatchLikeSearch()
protected ExtensionOperand xgetPostgreSQLMatchOperand()
protected LikeSearchOption xcreateOracleMatchLikeSearch()
public Map<String,Object> xdfgetColQyCBMap()
protected String xregisterColumyQueryObjectToThemeList(String themeKey, Object addedValue)
public Map<String,Object> xdfgetMnuOdrPrmMap()
protected String xregisterManualOrderParameterToThemeList(String themeKey, Object addedValue)
public Map<String,Object> xdfgetFreePrmMap()
public String xregisterFreeParameterToThemeList(String themeKey, Object addedValue)
protected boolean xhasQueRlMap(String prop)
protected <CQ extends ConditionQuery> CQ xgetQueRlMap(String prop)
protected void xregQueRl(String prop, ConditionQuery cq)
protected void xregOutJo(String prop)
protected <CQ extends ConditionQuery> Map<String,CQ> xgetSQueMap(String identity)
protected String xkeepSQue(String identity, ConditionQuery subQuery)
public void xregisterParameterOption(ParameterOption option)
ConditionQueryxregisterParameterOption インタフェース内 ConditionQueryoption - The option of parameter. (NullAllowed)public Map<String,ParameterOption> xdfgetOptionParameterMap()
protected void lockCall(IndependentProcessor noArgInLambda)
protected void lock()
protected void unlock()
protected ConditionBeanExceptionThrower createCBExThrower()
protected String ln()
protected <KEY,VALUE> HashMap<KEY,VALUE> newHashMap()
protected <KEY,VALUE> HashMap<KEY,VALUE> newHashMapSized(int size)
protected <KEY,VALUE> LinkedHashMap<KEY,VALUE> newLinkedHashMap()
protected <KEY,VALUE> LinkedHashMap<KEY,VALUE> newLinkedHashMapSized(int size)
protected <ELEMENT> ArrayList<ELEMENT> newArrayList()
protected <ELEMENT> ArrayList<ELEMENT> newArrayListSized(int size)
protected <ELEMENT> List<ELEMENT> newArrayList(ELEMENT element)
protected <ELEMENT> List<ELEMENT> newArrayList(ELEMENT element1, ELEMENT element2)
protected <ELEMENT> List<ELEMENT> newArrayList(ELEMENT element1, ELEMENT element2, ELEMENT element3)
protected <ELEMENT> ArrayList<ELEMENT> newArrayList(Collection<ELEMENT> collection)
protected void assertObjectNotNull(String variableName, Object value)
variableName - The check name of variable for message. (NotNull)value - The checked value. (NotNull)IllegalArgumentException - When the argument is null.protected void assertColumnName(String columnName)
columnName - The checked name of column. (NotNull)IllegalArgumentException - When the argument is invalid.protected void assertAliasName(String aliasName)
aliasName - The checked name for alias. (NotNull)IllegalArgumentException - When the argument is invalid.protected void assertStringNotNullAndNotTrimmedEmpty(String variableName, String value)
variableName - The check name of variable for message. (NotNull)value - The checked value. (NotNull)IllegalArgumentException - When the argument is null or empty.protected TimeZone getDBFluteSystemFinalTimeZone()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.