Uses of Class
org.nuxeo.ecm.core.storage.FulltextQueryAnalyzer.FulltextQuery
Package
Description
Database
Dialect
s implementations;
a Dialect encapsulates knowledge about database-specific behavior.-
Uses of FulltextQueryAnalyzer.FulltextQuery in org.nuxeo.ecm.core.storage
Modifier and TypeFieldDescriptionprotected FulltextQueryAnalyzer.FulltextQuery
FulltextQueryAnalyzer.ft
Modifier and TypeFieldDescriptionFulltextQueryAnalyzer.FulltextQuery.terms
The list of terms, if op is OR or ANDprotected List<FulltextQueryAnalyzer.FulltextQuery>
FulltextQueryAnalyzer.terms
Modifier and TypeMethodDescriptionprotected FulltextQueryAnalyzer.FulltextQuery
FulltextQueryAnalyzer.analyzeFulltextQuery
(String query) Analyzes a fulltext query into a generic datastructure that can be used for each specific database.Modifier and TypeMethodDescriptionstatic boolean
FulltextQueryAnalyzer.hasPhrase
(FulltextQueryAnalyzer.FulltextQuery ft) static void
FulltextQueryAnalyzer.translate
(FulltextQueryAnalyzer.FulltextQuery ft, StringBuilder sb, String or, String and, String andNot, String wordStart, String wordEnd, Set<Character> wordCharsReserved, String phraseStart, String phraseEnd, boolean quotePhraseWords) static String
FulltextQueryAnalyzer.translateFulltext
(FulltextQueryAnalyzer.FulltextQuery ft, String or, String and, String andNot, String phraseQuote) Translate fulltext into a common pattern used by many servers.static String
FulltextQueryAnalyzer.translateFulltext
(FulltextQueryAnalyzer.FulltextQuery ft, String or, String and, String andNot, String wordStart, String wordEnd, Set<Character> wordCharsReserved, String phraseStart, String phraseEnd, boolean quotePhraseWords) Translate fulltext into a common pattern used by many servers. -
Uses of FulltextQueryAnalyzer.FulltextQuery in org.nuxeo.ecm.core.storage.mongodb
Modifier and TypeMethodDescriptionprotected static String
MongoDBRepositoryQueryBuilder.translateFulltext
(FulltextQueryAnalyzer.FulltextQuery ft, boolean and) Transforms the NXQL fulltext syntax into MongoDB syntax.protected static void
MongoDBRepositoryQueryBuilder.translateFulltext
(FulltextQueryAnalyzer.FulltextQuery ft, List<String> buf, boolean and) -
Uses of FulltextQueryAnalyzer.FulltextQuery in org.nuxeo.ecm.core.storage.sql.jdbc.dialect
Modifier and TypeMethodDescriptionprotected static FulltextQueryAnalyzer.FulltextQuery
DialectPostgreSQL.breakPhrases
(FulltextQueryAnalyzer.FulltextQuery ft) Returns a fulltext query that is a superset of the original one and does not have phrase searches.protected static FulltextQueryAnalyzer.FulltextQuery
DialectPostgreSQL.removeToplevelAndedWords
(FulltextQueryAnalyzer.FulltextQuery ft) Removes toplevel ANDed simple words from the query.Modifier and TypeMethodDescriptionprotected static FulltextQueryAnalyzer.FulltextQuery
DialectPostgreSQL.breakPhrases
(FulltextQueryAnalyzer.FulltextQuery ft) Returns a fulltext query that is a superset of the original one and does not have phrase searches.protected static void
DialectPostgreSQL.generateLikeSql
(FulltextQueryAnalyzer.FulltextQuery ft, StringBuilder sb) protected static FulltextQueryAnalyzer.FulltextQuery
DialectPostgreSQL.removeToplevelAndedWords
(FulltextQueryAnalyzer.FulltextQuery ft) Removes toplevel ANDed simple words from the query.protected static void
DialectMySQL.translateForMySQL
(FulltextQueryAnalyzer.FulltextQuery ft, FulltextQueryAnalyzer.Op superOp, StringBuilder sb)