public class SubQueryClause extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
_localAliasName |
protected String |
_selectClause |
protected SubQueryPath |
_subQueryPath |
protected SqlClause |
_subQuerySqlClause |
| コンストラクタと説明 |
|---|
SubQueryClause(SubQueryPath subQueryPath,
String selectClause,
SqlClause subQuerySqlClause,
String localAliasName) |
protected final SubQueryPath _subQueryPath
protected final String _selectClause
protected final SqlClause _subQuerySqlClause
protected final String _localAliasName
public SubQueryClause(SubQueryPath subQueryPath, String selectClause, SqlClause subQuerySqlClause, String localAliasName)
subQueryPath - The property path of sub-query. (NotNull)selectClause - The select clause of sub-query. (NotNull)subQuerySqlClause - The SQL clause for sub-query. (NotNull)localAliasName - The alias name of sub-query local table. (NullAllowed: if plain)public String buildPlainSubQueryFromWhereClause(String correlatedFixedCondition)
public String buildCorrelationSubQueryFromWhereClause(ColumnRealName correlatedColumnRealName, ColumnSqlName relatedColumnSqlName, String correlatedFixedCondition)
correlatedColumnRealName - The real name of correlated column that is main-query table's column. (NotNull)relatedColumnSqlName - The real name of related column that is sub-query table's column. (NotNull)correlatedFixedCondition - The fixed condition as correlated condition. (NullAllowed)public String buildCorrelationSubQueryFromWhereClause(ColumnRealName[] correlatedColumnRealNames, ColumnSqlName[] relatedColumnSqlNames, String correlatedFixedCondition)
correlatedColumnRealNames - The real names of correlated column that is main-query table's column. (NotNull)relatedColumnSqlNames - The real names of related column that is sub-query table's column. (NotNull)correlatedFixedCondition - The fixed condition as correlated condition. (NullAllowed)protected String xprepareCorrelationSubQueryFromWhereClause()
protected String xreplaceCorrelationSubQueryFromWhereClause(String clause, String joinCondition, String fixedCondition)
protected String resolveParameterLocationPath(String clause, SubQueryPath subQueryPath)
protected String getBasePointAliasName()
protected String getWhereClauseMark()
protected String getWhereFirstConditionMark()
protected String getUnionSelectClauseMark()
protected String getUnionWhereClauseMark()
protected String getUnionWhereFirstConditionMark()
protected String ln()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.