public class SqlClauseMySql extends AbstractSqlClause
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
SqlClauseMySql.CollateUTF8GeneralArranger |
static class |
SqlClauseMySql.CollateUTF8MB4UnicodeArranger |
static class |
SqlClauseMySql.CollateUTF8UnicodeArranger |
AbstractSqlClause.RownumPagingProcessor, AbstractSqlClause.UnionQueryInfoSqlClause.QueryUpdateSetCalculationHandler| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
_fetchScopeSqlSuffix
String of fetch-scope as sql-suffix.
|
protected String |
_lockSqlSuffix
String of lock as sql-suffix.
|
protected Integer |
_pagingBindingLimit
The binding value for paging as 'limit'.
|
protected Integer |
_pagingBindingOffset
The binding value for paging as 'offset'.
|
protected boolean |
_suppressPagingBinding
Does it suppress bind variable for paging?
|
_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| コンストラクタと説明 |
|---|
SqlClauseMySql(String tableDbName)
Constructor.
|
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, 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, 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, isUseInScopeSubQueryForExistsReferrer, isUseQueryUpdateDirect, isWhereUsedInnerJoinEnabled, ln, lock, markOrScopeQueryAndPart, needsDeleteTableAliasHint, needsUnionCountOrScalarEnclosing, needsUnionNormalSelectEnclosing, newOrderByElement, prepareClauseOrderBy, prepareClauseSqlSuffix, prepareUnionClause, 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 _fetchScopeSqlSuffix
protected String _lockSqlSuffix
protected Integer _pagingBindingLimit
protected Integer _pagingBindingOffset
protected boolean _suppressPagingBinding
public SqlClauseMySql(String tableDbName)
tableDbName - The DB name of table. (NotNull)public String getClause()
SqlClauseselect [base-table-columns], [join-table-columns] from [base-table] left outer join [join-table] [join-alias] on [join-condition] where [base-table].[column] = [value] and [join-alias].[column] is null order by [base-table].[column] asc, [join-alias].[column] desc for update
getClause インタフェース内 SqlClausegetClause クラス内 AbstractSqlClauseprotected boolean canFoundRows()
protected OrderByClause.OrderByNullsSetupper createOrderByNullsSetupper()
createOrderByNullsSetupper クラス内 AbstractSqlClauseprotected void doFetchFirst()
doFetchFirst クラス内 AbstractSqlClauseprotected void doFetchPage()
doFetchPage クラス内 AbstractSqlClauseprotected 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 boolean canSqlCalcFoundRows()
protected String createFromBaseTableHint()
createFromBaseTableHint クラス内 AbstractSqlClauseprotected String createFromHint()
createFromHint クラス内 AbstractSqlClauseprotected String createSqlSuffix()
createSqlSuffix クラス内 AbstractSqlClauseprotected boolean isUpdateSubQueryUseLocalTableSupported()
isUpdateSubQueryUseLocalTableSupported クラス内 AbstractSqlClauseprotected boolean isUpdateDirectJoinSupported()
isUpdateDirectJoinSupported クラス内 AbstractSqlClauseprotected boolean isUpdateTableAliasNameSupported()
isUpdateTableAliasNameSupported クラス内 AbstractSqlClauseprotected boolean isDeleteTableAliasHintSupported()
isDeleteTableAliasHintSupported クラス内 AbstractSqlClausepublic String buildMatchCondition(List<ColumnInfo> textColumnList, String conditionValue, WayOfMySQL.FullTextSearchModifier modifier, String tableDbName, String aliasName)
textColumnList - The list of text column. (NotNull, NotEmpty, StringColumn, TargetTableColumn)conditionValue - The condition value embedded without binding (by MySQL restriction) but escaped. (NotNull)modifier - The modifier of full-text search. (NullAllowed: If the value is null, No modifier specified)tableDbName - The DB name of the target table. (NotNull)aliasName - The alias name of the target table. (NotNull)protected void assertTextColumnList(List<ColumnInfo> textColumnList)
protected void assertVariousTextSearchResource(String conditionValue, WayOfMySQL.FullTextSearchModifier modifier, String tableDbName, String aliasName)
protected void assertTextColumnTable(String tableDbName, ColumnInfo columnInfo)
protected void assertTextColumnType(String tableDbName, ColumnInfo columnInfo)
public boolean isCursorSelectByPagingAllowed()
AbstractSqlClauseisCursorSelectByPagingAllowed インタフェース内 SqlClauseisCursorSelectByPagingAllowed クラス内 AbstractSqlClausepublic DBWay dbway()
SqlClausepublic Integer getPagingBindingLimit()
public Integer getPagingBindingOffset()
public SqlClauseMySql suppressPagingBinding()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.