public class SqlClauseDb2 extends AbstractSqlClause
AbstractSqlClause.RownumPagingProcessor, AbstractSqlClause.UnionQueryInfoSqlClause.QueryUpdateSetCalculationHandler| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
_fetchScopeSelectHint
String of fetch-scope as select-hint.
|
protected String |
_fetchScopeSqlSuffix
String of fetch-scope as sql-suffix.
|
protected String |
_lockSqlSuffix
String of lock as sql-suffix.
|
protected Integer |
_pagingBindFrom
The bind value for paging as 'from'.
|
protected Integer |
_pagingBindTo
The bind value for paging as 'to'.
|
_aliasNameLimitSize, _backupSpecifiedSelectColumnMap, _backupWhereList, _baseTableInlineWhereList, _cachedDBMetaMap, _clauseLazyReflectorList, _columnNullObjectAllowed, _columnNullObjectGearedToSpecify, _columnNullObjectSpecifiedMap, _columyQueryObjectMap, _currentTmpOrScopeQueryInfo, _dbmeta, _dbmetaProvider, _emptyStringQueryAllowed, _fetchPageNumber, _fetchScopeEffective, _fetchSize, _fetchStartIndex, _fixedConditionLazyChecker, _freeParameterMap, _gearedCipherManager, _innerJoinLazyReflector, _invalidQueryList, _locked, _manualOrderParameterMap, _nullOrEmptyChecked, _orderByClause, _orderByEffective, _orScopeQueryAndPartEffective, _orScopeQueryAndPartIdentity, _orScopeQueryEffective, _outerJoinMap, _overridingQueryAllowed, _pagingAdjustmentEnabled, _pagingCountLaterEnabled, _pagingCountLeastJoinEnabled, _pkOnlySelectForcedlyEnabled, _previousSelectClauseType, _purpose, _queryUpdateForcedDirectEffective, _relationPathForeignAliasMap, _scalarSelectOption, _selectClauseRealColumnAliasMap, _selectClauseType, _selectColumnCipherEffective, _selectColumnKeyNameMap, _selectedNextConnectingRelationSet, _selectedRelationBasicMap, _selectedRelationColumnMap, _selectedRelationPathToTableAliasMap, _selectIndexMap, _specifiedDerivingSubQueryMap, _specifiedSelectColumnMap, _structuralPossibleInnerJoinEnabled, _subQueryIndentProcessor, _subQueryLevel, _tableDbName, _thatsBadTimingDetectEffective, _unionQueryInfoList, _useInScopeSubQueryForExistsReferrer, _useSelectIndex, _whereClauseSimpleFilterList, _whereList, _whereUsedInnerJoinEnabled, DEFAULT_SELECT_CLAUSE_TYPE, SELECT_HINTBASE_POINT_ALIAS_NAME, BASE_POINT_HANDLING_ENTITY_NO, RELATION_PATH_DELIMITER| コンストラクタと説明 |
|---|
SqlClauseDb2(String tableDbName)
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected String |
createFromBaseTableHint() |
protected String |
createFromHint() |
protected OrderByClause.OrderByNullsSetupper |
createOrderByNullsSetupper() |
protected AbstractSqlClause.RownumPagingProcessor |
createRownumPagingProcessor(String expression) |
protected String |
createSelectHint() |
protected String |
createSqlSuffix() |
DBWay |
dbway()
Get the DB way for this SQL clause.
|
protected void |
doClearFetchPageClause() |
protected void |
doFetchFirst() |
protected void |
doFetchPage() |
Integer |
getPagingBindFrom() |
Integer |
getPagingBindTo() |
protected String |
getRownumExpression() |
protected boolean |
isBindPagingCondition() |
void |
lockForUpdate()
Lock selected records for update.
|
void |
lockWithCS() |
void |
lockWithRR() |
void |
lockWithRS() |
void |
lockWithUR() |
protected String |
prepareUnionClause(String selectClause) |
acceptScalarSelectOption, addManualOrderToPreviousOrderByElement, addNullsFirstToPreviousOrderBy, addNullsLastToPreviousOrderBy, addUnionQueryInfo, addWhereClauseSimpleFilter, adjustLikeSearchDBWay, analyzeSelectedNextConnectingRelation, appendSelectHint, assertAlreadyOuterJoin, assertCurrentTmpOrScopeQueryInfo, assertJoinOnMapNotEmpty, assertNotYetOuterJoin, assertObjectNotNull, assertStringNotNullAndNotTrimmedEmpty, backupSpecifiedSelectColumn, backupWhereClauseOnBaseQuery, beginOrScopeQuery, beginOrScopeQueryAndPart, buildClauseFromWhereAsTemplate, buildClauseWithoutMainSelect, buildColumnQueryObjectBindExp, buildFreeParameterBindExp, buildFromClause, buildJoinOnClause, buildJoinTableClause, buildLeftOuterJoinClause, buildManualOrderParameterBindExp, buildQueryUpdateDirectClause, buildQueryUpdateInScopeClause, buildQueryUpdateSetClause, buildSelectClauseAvg, buildSelectClauseCount, buildSelectClauseCountDistinct, buildSelectClauseMax, buildSelectClauseMin, buildSelectClauseScalar, buildSelectClauseSpecifiedScalar, buildSelectClauseSum, buildSelectIndexAlias, buildSelectIndexCuttingName, buildSelectIndexSimpleName, buildSpaceBar, buildWhereClause, buildWhereClause, canBeCountLeastJoin, canBeInnerJoin, canBeNullObjectSpecifiedColumn, canPagingCountLater, canPagingCountLeastJoin, canUseDeleteTableAliasHint, canUseQueryUpdateInScope, canUseRelationCache, changeAliasNameLimitSize, changeSelectClauseType, changeToInnerJoin, checkCountLeastJoinAllowed, checkFixedConditionLazily, checkNullOrEmptyQuery, checkStructuralPossibleInnerJoinAllowed, cipherManager, classifySelectClauseType, clearBaseTableInlineWhereClause, clearOrderBy, clearOrScopeQuery, clearOuterJoinInlineWhereClause, clearSelectIndex, clearSpecifiedDerivingSubQuery, clearSpecifiedSelectColumn, clearUnionQuery, clearWhereClauseOnBaseQuery, createInnerJoinLazyReflector, createOrClauseReflector, createOrderByNullsSetupperByCaseWhen, createSelectedSelectColumnInfo, createSelectIndexEntryMap, createSelectIndexInnerMap, createSelectOnQueryColumnKeyMap, dbmetaProvider, decryptSelectColumnIfNeeds, deleteUnionWhereTemplateMark, disableColumnNullObject, disableColumnNullObjectGearedToSpecify, disableEmptyStringQuery, disableInnerJoinAutoDetect, disableOverridingQuery, disablePagingAdjustment, disablePagingCountLater, disablePagingCountLeastJoin, disablePKOnlySelectForcedly, disableSelectColumnCipher, disableSelectIndex, disableStructuralPossibleInnerJoin, disableThatsBadTimingDetect, disableWhereUsedInnerJoin, doAddValueToThemeList, doBuildFunctionExp, doBuildFunctionExp, doBuildJoinOnClauseAdditional, doBuildJoinOnClauseBasic, doBuildJoinOnClauseFixed, doChangeToInnerJoin, doDecryptIfNeeds, doGetInvalidQueryList, doReflectWhereUsedToJoin, doRegisterOrderBy, doRegisterOuterJoin, doRegisterSelectIndex, doRegisterSelectOnQueryColumnKey, doRegisterWhereClause, doRegisterWhereClause, doRegisterWhereClause, enableColumnNullObject, enableColumnNullObjectGearedToSpecify, enableEmptyStringQuery, enableInnerJoinAutoDetect, enableOverridingQuery, enablePagingAdjustment, enablePagingCountLater, enablePagingCountLeastJoin, enablePKOnlySelectForcedly, enableQueryUpdateForcedDirect, enableSelectColumnCipher, enableStructuralPossibleInnerJoin, enableThatsBadTimingDetect, enableWhereUsedInnerJoin, encryptIfNeeds, endOrScopeQuery, endOrScopeQueryAndPart, exchangeFirstWhereClauseForLastOne, fetchFirst, fetchPage, fetchScope, filterEnclosingClause, filterQueryUpdateBasePointAliasNameLocalUnsupported, filterSpecifyColumnCalculation, filterUnionCountOrScalarEnclosing, filterUnionNormalSelectEnclosing, filterWhereClauseSimply, findColumnFunctionCipher, findDBMeta, getBasePointAliasName, getBaseTableInlineWhereClauseList4Register, getBaseTableInlineWhereList, getCachedDBMetaMap, getClause, getClauseFromWhereWithUnionTemplate, getClauseFromWhereWithWhereUnionTemplate, getClauseQueryDelete, getClauseQueryInsert, getClauseQueryUpdate, getColumnNullObjectSpecifiedMap, getColumnQueryObjectMap, getDBMeta, getDefaultAliasNameLimitSize, getDerivedReferrerNestedAlias, getFetchNarrowingLoopCount, getFetchNarrowingSkipStartIndex, getFetchPageNumber, getFetchSize, getFetchStartIndex, getFreeParameterMap, getFromBaseTableHint, getFromClause, getFromHint, getGearedCipherManager, getInlineViewBasePointAlias, getInlineViewClause, getInnerJoinLazyReflectorList, getInScopeLimit, getInvalidQueryList, getLeftOuterJoinClause, getLocalSpecifiedNullObjectColumnSet, getManualOrderParameterMap, getOrderBy, getOrderByClause, getOrderByComponent, getOrderByLastElement, getOuterJoinInlineWhereClauseList4Register, getOuterJoinMap, getPageEndIndex, getPageStartIndex, getPurpose, getRelationPathForeignAliasMap, getRelationSpecifiedNullObjectColumnSet, getScalarSelectColumnAlias, getSelectClause, getSelectClauseRealColumnAliasMap, getSelectColumnKeyNameMap, getSelectedNextConnectingRelationSet, getSelectedRelationBasicMap, getSelectedRelationColumnMap, getSelectedRelationCount, getSelectedRelationPathToAliasMap, getSelectHint, getSelectIndexMap, getSpecifiedColumnAsOne, getSpecifiedColumnDbNameAsOne, getSpecifiedColumnElementMapAsOne, getSpecifiedColumnInfoAsOne, getSpecifiedColumnRealNameAsOne, getSpecifiedColumnSqlNameAsOne, getSpecifiedColumnTableAliasNameAsOne, getSpecifiedDerivingAliasList, getSpecifiedDerivingAliasNameAsOne, getSpecifiedDerivingColumnAsOne, getSpecifiedDerivingColumnInfo, getSpecifiedDerivingColumnInfoAsOne, getSpecifiedDerivingInfo, getSpecifiedDerivingInfoAsOne, getSpecifiedDerivingSubQueryAsOne, getSpecifiedResolvedColumnRealNameAsOne, getSpecifiedResolvedColumnSqlNameAsOne, getSqlSuffix, getSubQueryIndentProcessor, getSubQueryLevel, getTmpOrAdditionalOnClauseList, getTmpOrBaseTableInlineWhereList, getTmpOrOuterJoinInlineClauseList, getTmpOrWhereList, getUnionQueryInlineViewAlias, getUnionSelectClauseMark, getUnionWhereClauseMark, getUnionWhereFirstConditionMark, getWhereClause, getWhereClauseList4Register, getWhereClauseMark, getWhereFirstConditionMark, getWhereList, handleSpecifiedSelectColumn, hasBaseTableInlineWhereClause, hasFixedConditionOverRelationJoin, hasInnerJoinLazyReflector, hasOrderByClause, hasOuterJoin, hasOuterJoinInlineWhereClause, hasQueryUpdateSubQueryPossible, hasSelectedRelation, hasSpecifiedDerivedOrderByClause, hasSpecifiedDerivingSubQuery, hasSpecifiedDerivingSubQuery, hasSpecifiedSelectColumn, hasSpecifiedSelectColumn, hasSpecifyCalculation, hasUnionQuery, hasWhereClauseOnBaseQuery, ignoreNullOrEmptyQuery, isColumnNullObjectAllowed, isColumnNullObjectGearedToSpecify, isCursorSelectByPagingAllowed, isDeleteTableAliasHintSupported, isDuplicateAliasName, isEmptyStringQueryAllowed, isFetchNarrowingEffective, isFetchScopeEffective, isFetchSizeSupported, isFetchStartIndexSupported, isForSubQuery, isInlineViewOptimizedCondition, isJoinInParentheses, isLocked, isNullOrEmptyQueryChecked, isOrScopeQueryAndPartEffective, isOrScopeQueryEffective, isOutOfWhereUsedInnerJoin, isOverridingQueryAllowed, isSelectClauseNonUnionScalar, isSelectClauseNonUnionSelect, isSelectClauseTypeCount, isSelectClauseTypeNonUnionCount, isSelectClauseTypeScalar, isSelectClauseTypeSpecifiedScalar, isSelectClauseTypeUniqueScalar, isSelectedNextConnectingRelation, isSelectedRelationEmpty, isSpecifiedDerivedOrderBy, isStructuralPossibleInnerJoinEnabled, isThatsBadTimingDetectAllowed, isUnderOverRelation, isUnionNormalSelectEnclosingRequired, isUpdateDirectJoinSupported, isUpdateSubQueryUseLocalTableSupported, isUpdateTableAliasNameSupported, isUseInScopeSubQueryForExistsReferrer, isUseQueryUpdateDirect, isWhereUsedInnerJoinEnabled, ln, lock, markOrScopeQueryAndPart, needsDeleteTableAliasHint, needsUnionCountOrScalarEnclosing, needsUnionNormalSelectEnclosing, newOrderByElement, prepareClauseOrderBy, prepareClauseSqlSuffix, processSelectClauseDerivedReferrer, processSelectClauseLocal, processSelectClauseRelation, processSubQueryIndent, processSubQueryIndent, reflectClauseLazilyIfExists, reflectInnerJoinAutoDetectLazily, reflectTmpOrClauseToRealObject, reflectUnderInnerJoinToJoin, reflectWhereUsedToJoin, registerBaseTableInlineWhereClause, registerBaseTableInlineWhereClause, registerClauseLazyReflector, registerColumnNullObject, registerColumnQueryObjectToThemeList, registerFixedConditionLazyChecker, registerFreeParameterToThemeList, registerInnerJoinLazyReflector, registerInnerJoinLazyReflector, registerManualOrderParameterToThemeList, registerOrderBy, registerOuterJoin, registerOuterJoinFixedInline, registerOuterJoinInlineWhereClause, registerOuterJoinInlineWhereClause, registerSelectedRelation, registerSelectIndex, registerSpecifiedDerivedOrderBy, registerUnionQuery, registerWhereClause, registerWhereClause, registerWhereClause, registerWhereClause, removeSpecifiedSelectColumn, replace, resolveJoinAliasName, resolveRelationNo, resolveSubQueryBeginMark, resolveSubQueryEndMark, restoreSpecifiedSelectColumn, restoreWhereClauseOnBaseQuery, reviveFetchScope, reviveOrderBy, rollbackSelectClauseType, saveInvalidQuery, savePreviousSelectClauseType, setPurpose, setupForSubQuery, specifyDerivingSubQuery, specifySelectColumn, suppressFetchScope, suppressOrderBy, throwFetchSizeNotPlusException, throwQueryUpdateUnavailableFunctionException, throwScalarSelectUnionQuerySpecifyCalculationUnsupportedException, toColumnInfo, toColumnSqlName, translateSelectedRelationPathToPropName, translateSelectedRelationPathToTableAlias, unlock, useInScopeSubQueryForExistsReferrerprotected String _fetchScopeSelectHint
protected String _fetchScopeSqlSuffix
protected String _lockSqlSuffix
protected Integer _pagingBindFrom
protected Integer _pagingBindTo
public SqlClauseDb2(String tableDbName)
tableDbName - The DB name of table. (NotNull)protected String prepareUnionClause(String selectClause)
prepareUnionClause クラス内 AbstractSqlClauseprotected OrderByClause.OrderByNullsSetupper createOrderByNullsSetupper()
createOrderByNullsSetupper クラス内 AbstractSqlClauseprotected void doFetchFirst()
doFetchFirst クラス内 AbstractSqlClauseprotected void doFetchPage()
doFetchPage クラス内 AbstractSqlClauseprotected AbstractSqlClause.RownumPagingProcessor createRownumPagingProcessor(String expression)
protected boolean isBindPagingCondition()
protected String getRownumExpression()
protected void doClearFetchPageClause()
doClearFetchPageClause クラス内 AbstractSqlClausepublic void lockForUpdate()
If you invoke this, your SQL lock target records for update. It depends whether this method supports this on the database type.
protected String createSelectHint()
createSelectHint クラス内 AbstractSqlClauseprotected String createFromBaseTableHint()
createFromBaseTableHint クラス内 AbstractSqlClauseprotected String createFromHint()
createFromHint クラス内 AbstractSqlClauseprotected String createSqlSuffix()
createSqlSuffix クラス内 AbstractSqlClausepublic void lockWithRR()
public void lockWithRS()
public void lockWithCS()
public void lockWithUR()
public DBWay dbway()
SqlClausepublic Integer getPagingBindFrom()
public Integer getPagingBindTo()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.