Class MySQLFullTextIndexFieldStrategy
java.lang.Object
com.kingsrook.qqq.backend.module.rdbms.strategy.BaseRDBMSActionStrategy
com.kingsrook.qqq.backend.module.rdbms.strategy.MySQLFullTextIndexFieldStrategy
- All Implemented Interfaces:
RDBMSActionStrategyInterface
RDBMS action strategy for a field with a FULLTEXT INDEX on it in a MySQL
database. Makes a LIKE or CONTAINS (or NOT those) query use the special
syntax that hits the FULLTEXT INDEX.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.kingsrook.qqq.backend.module.rdbms.strategy.RDBMSActionStrategyInterface
RDBMSActionStrategyInterface.ResultSetProcessor
-
Field Summary
Fields inherited from class com.kingsrook.qqq.backend.module.rdbms.strategy.BaseRDBMSActionStrategy
DEFAULT_PAGE_SIZE, PAGE_SIZE, STAT_BATCHES_RAN, STAT_QUERIES_RAN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendCriterionToWhereClause
(QFilterCriteria criterion, StringBuilder clause, String column, List<Serializable> values, QFieldMetaData field) modifies the clause StringBuilder (appending to it) returning the number of expected number of params to bindMethods inherited from class com.kingsrook.qqq.backend.module.rdbms.strategy.BaseRDBMSActionStrategy
bindParam, bindParam, bindParam, bindParam, bindParam, bindParam, bindParam, bindParam, bindParam, bindParam, bindParam, bindParam, bindParamNull, bindParamObject, bindParams, executeBatchUpdate, executeInsertForGeneratedIds, executeStatement, executeUpdate, executeUpdateForRowCount, getColumnName, getFieldValueFromResultSet, getPageSize, getStatistics, incrementStatistic, prepareStatementAndBindParams, resetStatistics, setCollectStatistics, setPageSize
-
Constructor Details
-
MySQLFullTextIndexFieldStrategy
public MySQLFullTextIndexFieldStrategy()
-
-
Method Details
-
appendCriterionToWhereClause
public Integer appendCriterionToWhereClause(QFilterCriteria criterion, StringBuilder clause, String column, List<Serializable> values, QFieldMetaData field) Description copied from interface:RDBMSActionStrategyInterface
modifies the clause StringBuilder (appending to it) returning the number of expected number of params to bind- Specified by:
appendCriterionToWhereClause
in interfaceRDBMSActionStrategyInterface
- Overrides:
appendCriterionToWhereClause
in classBaseRDBMSActionStrategy
-