Package | Description |
---|---|
org.nuxeo.ecm.core.storage | |
org.nuxeo.ecm.core.storage.mongodb | |
org.nuxeo.ecm.core.storage.sql.jdbc.dialect |
Database
Dialect s implementations;
a Dialect encapsulates knowledge about database-specific behavior. |
Modifier and Type | Field and Description |
---|---|
protected FulltextQueryAnalyzer.FulltextQuery |
FulltextQueryAnalyzer.ft |
Modifier and Type | Field and Description |
---|---|
protected List<FulltextQueryAnalyzer.FulltextQuery> |
FulltextQueryAnalyzer.terms |
List<FulltextQueryAnalyzer.FulltextQuery> |
FulltextQueryAnalyzer.FulltextQuery.terms
The list of terms, if op is OR or AND
|
Modifier and Type | Method and Description |
---|---|
protected FulltextQueryAnalyzer.FulltextQuery |
FulltextQueryAnalyzer.analyze(String query) |
static FulltextQueryAnalyzer.FulltextQuery |
FulltextQueryAnalyzer.analyzeFulltextQuery(String query)
Analyzes a fulltext query into a generic datastructure that can be used for each specific database.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
FulltextQueryAnalyzer.hasPhrase(FulltextQueryAnalyzer.FulltextQuery ft) |
static void |
FulltextQueryAnalyzer.translate(FulltextQueryAnalyzer.FulltextQuery ft,
StringBuilder buf,
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.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
MongoDBQueryBuilder.translateFulltext(FulltextQueryAnalyzer.FulltextQuery ft,
boolean and)
Transforms the NXQL fulltext syntax into MongoDB syntax.
|
protected static void |
MongoDBQueryBuilder.translateFulltext(FulltextQueryAnalyzer.FulltextQuery ft,
List<String> buf,
boolean and) |
Modifier and Type | Method and Description |
---|---|
protected 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 Type | Method and Description |
---|---|
protected 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 buf) |
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 buf) |
Copyright © 2015 Nuxeo SA. All rights reserved.