public class TextConditionBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static clojure.lang.Symbol |
ATTRIBUTE |
protected static clojure.lang.Symbol |
CONTAINS |
static clojure.lang.Symbol |
ELIDE |
protected static clojure.lang.Symbol |
ENDS_WITH |
protected static clojure.lang.Symbol |
STARTS_WITH |
protected static clojure.lang.Symbol |
STR_OPERATOR |
protected static clojure.lang.Symbol |
TEXT_SEARCH_CI |
protected static clojure.lang.Symbol |
TEXT_SEARCH_CS |
static clojure.lang.Symbol |
VALUE |
protected static clojure.lang.Symbol |
WILDCARD_TEXT_SEARCH_CI |
protected static clojure.lang.Symbol |
WILDCARD_TEXT_SEARCH_CS |
| Constructor and Description |
|---|
TextConditionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static List<clojure.lang.IPersistentCollection> |
buildWildcardLuceneCondition(String regexCriteria,
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper,
String repositoryName,
Set<String> typesToInclude,
String namespace,
boolean luceneRegexes)
Adds conditions to the search to find any text field that matches the supplied criteria (leveraging a separate
Lucene index).
|
static List<clojure.lang.IPersistentCollection> |
buildWildcardTextCondition(String regexCriteria,
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper,
String repositoryName,
Set<String> typesToInclude,
String namespace,
boolean luceneEnabled,
boolean luceneRegexes)
Add conditions to the search to find any text field that matches the supplied criteria (without a separate Lucene
index).
|
public static final clojure.lang.Symbol ELIDE
public static final clojure.lang.Symbol VALUE
public static final clojure.lang.Symbol ATTRIBUTE
protected static final clojure.lang.Symbol WILDCARD_TEXT_SEARCH_CI
protected static final clojure.lang.Symbol WILDCARD_TEXT_SEARCH_CS
protected static final clojure.lang.Symbol TEXT_SEARCH_CI
protected static final clojure.lang.Symbol TEXT_SEARCH_CS
protected static final clojure.lang.Symbol STARTS_WITH
protected static final clojure.lang.Symbol CONTAINS
protected static final clojure.lang.Symbol ENDS_WITH
protected static final clojure.lang.Symbol STR_OPERATOR
public static List<clojure.lang.IPersistentCollection> buildWildcardTextCondition(String regexCriteria, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String repositoryName, Set<String> typesToInclude, String namespace, boolean luceneEnabled, boolean luceneRegexes)
regexCriteria - defining what should be matchedrepositoryHelper - through which we can introspect the type definitions and their propertiesrepositoryName - of the repository (for logging)typesToInclude - defining which type definitions should be included in the search (to limit the properties)namespace - by which to qualify the propertiesluceneEnabled - indicates whether Lucene search index is configured (true) or not (false)luceneRegexes - indicates whether unquoted regexes should be treated as Lucene compatible (true) or not (false)List<IPersistentCollection> of condition(s) for the text matchingpublic static List<clojure.lang.IPersistentCollection> buildWildcardLuceneCondition(String regexCriteria, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String repositoryName, Set<String> typesToInclude, String namespace, boolean luceneRegexes)
regexCriteria - defining what should be matchedrepositoryHelper - through which we can check the regular expressions in the criteriarepositoryName - of the repository (for logging)typesToInclude - defining which type definitions should be included in the search (to limit the properties)namespace - by which to qualify the propertiesluceneRegexes - indicates whether unquoted regexes should be treated as Lucene compatible (true) or not (false)List<IPersistentCollection> of condition(s) for the text matchingCopyright © 2021 ODPi. All rights reserved.