public interface ConditionQuery
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
asTableDbName()
Handle the meta as table DB name, that can be identity of table..
|
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 conditionValue)
Invoke setting query of equal.
|
void |
invokeQueryNotEqual(String columnFlexibleName,
Object conditionValue)
Invoke setting query of not-equal.
|
ConditionValue |
invokeValue(String columnFlexibleName)
Invoke getting value.
|
boolean |
isBaseQuery()
Is this a base query?
|
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 |
xgetAliasName()
Get the alias name for this query.
|
ConditionBean |
xgetBaseCB()
Get the base condition-bean.
|
ConditionQuery |
xgetBaseQuery()
Get the base query.
|
String |
xgetForeignPropertyName()
Get the property name of foreign relation.
|
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.
|
ConditionQuery |
xgetReferrerQuery()
Get the referrer query.
|
String |
xgetRelationPath()
Get the path of foreign relation. e.g. _0_1
|
SqlClause |
xgetSqlClause()
Get the SqlClause.
|
void |
xregisterParameterOption(ParameterOption option)
Register the parameter option.
|
String asTableDbName()
ColumnRealName toColumnRealName(String columnDbName)
columnDbName - The DB name of column. (NotNull)ColumnRealName toColumnRealName(ColumnInfo columnInfo)
columnInfo - The information of column. (NotNull)ColumnSqlName toColumnSqlName(String columnDbName)
columnDbName - The DB name of column. (NotNull)ConditionBean xgetBaseCB()
ConditionQuery xgetBaseQuery()
ConditionQuery xgetReferrerQuery()
SqlClause xgetSqlClause()
String xgetAliasName()
int xgetNestLevel()
int xgetNextNestLevel()
boolean isBaseQuery()
String xgetForeignPropertyName()
String xgetRelationPath()
String xgetLocationBase()
ConditionValue invokeValue(String columnFlexibleName)
columnFlexibleName - The flexible name of the column. (NotNull, NotEmpty)ConditionInvokingFailureException - When the method to the column is not found and the method is failed.void invokeQuery(String columnFlexibleName, String conditionKeyName, Object conditionValue)
columnFlexibleName - 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)ConditionInvokingFailureException - When the method to the column is not found and the method is failed.void invokeQuery(String columnFlexibleName, String conditionKeyName, Object conditionValue, ConditionOption conditionOption)
columnFlexibleName - 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)ConditionInvokingFailureException - When the method to the column is not found and the method is failed.void invokeQueryEqual(String columnFlexibleName, Object conditionValue)
columnFlexibleName - The flexible name of the column allowed to contain relations. (NotNull, NotEmpty)conditionValue - The value of the condition 'equal'. (NotNull: as default, NullAllowed: as optional)ConditionInvokingFailureException - When the method to the column is not found and the method is failed.void invokeQueryNotEqual(String columnFlexibleName, Object conditionValue)
columnFlexibleName - The flexible name of the column allowed to contain relations. (NotNull, NotEmpty)conditionValue - The value of the condition 'notEqual'. (NotNull: as default, NullAllowed: as optional)ConditionInvokingFailureException - When the method to the column is not found and the method is failed.void invokeOrderBy(String columnFlexibleName, boolean isAsc)
columnFlexibleName - The flexible name of the column allowed to contain relations. (NotNull, NotEmpty)isAsc - Is it ascend?ConditionInvokingFailureException - When the method to the column is not found and the method is failed.ConditionQuery invokeForeignCQ(String foreignPropertyName)
foreignPropertyName - The property name(s), can contain '.' , of the foreign relation. (NotNull, NotEmpty)ConditionInvokingFailureException - When the method to the property is not found and the method is failed.boolean invokeHasForeignCQ(String foreignPropertyName)
foreignPropertyName - The property name(s), can contain '.' , of the foreign relation. (NotNull, NotEmpty)ConditionInvokingFailureException - When the method to the property is not found and the method is failed.void xregisterParameterOption(ParameterOption option)
option - The option of parameter. (NullAllowed)Copyright © 2014–2015 The DBFlute Project. All rights reserved.