Package | Description |
---|---|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.db.hibernate.search |
Modifier and Type | Method and Description |
---|---|
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPatientAttributeQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPatientAttributeQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPatientNameQuery(String query,
boolean includeVoided) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPatientNameQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPatientNameQueryWithOrParser(String query,
boolean includeVoided) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPatientNameQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPersonAttributeQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPersonAttributeQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPersonNameQuery(String query,
boolean includeVoided) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPersonNameQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPersonNameQueryWithOrParser(String query,
boolean includeVoided) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPersonNameQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getSoundexPersonNameQuery(String query,
Integer birthyear,
boolean includeVoided,
String gender)
The method creates a Lucene search query for a Person based on a soundex search on the givenName, familyNames and middleName
|
LuceneQuery<PersonName> |
PersonLuceneQuery.getSoundexPersonNameSearchOnNNames(String[] searchNames,
Integer birthyear,
boolean includeVoided,
String gender)
This method creates a Lucene search query for a Person based on a soundex search on n>3 names
|
LuceneQuery<PersonName> |
PersonLuceneQuery.getSoundexPersonNameSearchOnThreeNames(String n1,
String n2,
String n3,
Integer birthyear,
boolean includeVoided,
String gender)
This method creates a Lucene search query for a Person based on a soundex search on the first name
|
LuceneQuery<PersonName> |
PersonLuceneQuery.getSoundexPersonNameSearchOnTwoNames(String searchName1,
String searchName2,
Integer birthyear,
boolean includeVoided,
String gender)
This method creates a Lucene search query for a Person based on a soundex search
|
Modifier and Type | Method and Description |
---|---|
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPatientAttributeQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPatientAttributeQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPatientNameQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPatientNameQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPersonAttributeQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPersonAttributeQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPersonNameQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonName> |
PersonLuceneQuery.getPersonNameQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
Modifier and Type | Method and Description |
---|---|
LuceneQuery<T> |
LuceneQuery.exclude(String field,
Object value)
Exclude any items with the given value in the specified field.
|
LuceneQuery<T> |
LuceneQuery.exclude(String field,
Object[] values)
Exclude any items with the given values in the specified field.
|
LuceneQuery<T> |
LuceneQuery.include(String field,
Collection<?> values) |
LuceneQuery<T> |
LuceneQuery.include(String field,
Object value)
Include items with the given value in the specified field.
|
LuceneQuery<T> |
LuceneQuery.include(String field,
Object[] values)
Include items with any of the given values in the specified field.
|
static <T> LuceneQuery<T> |
LuceneQuery.newQuery(Class<T> type,
org.hibernate.Session session,
String query)
The preferred way to create a Lucene query using the query parser.
|
static <T> LuceneQuery<T> |
LuceneQuery.newQuery(Class<T> type,
org.hibernate.Session session,
String query,
Collection<String> fields) |
static <T> LuceneQuery<T> |
LuceneQuery.newQuery(Class<T> type,
org.hibernate.Session session,
String query,
Collection<String> fields,
LuceneQuery.MatchType matchType) |
LuceneQuery<T> |
LuceneQuery.skipSame(String field)
Skip elements, values of which repeat in the given field.
|
LuceneQuery<T> |
LuceneQuery.skipSame(String field,
LuceneQuery<?> luceneQuery)
Skip elements, values of which repeat in the given field.
|
LuceneQuery<T> |
LuceneQuery.useOrQueryParser() |
Modifier and Type | Method and Description |
---|---|
LuceneQuery<T> |
LuceneQuery.skipSame(String field,
LuceneQuery<?> luceneQuery)
Skip elements, values of which repeat in the given field.
|
Copyright © 2024 OpenMRS Inc.. All rights reserved.