public interface EntitySearchService
Modifier and Type | Method and Description |
---|---|
void |
deleteSavedQuery(java.lang.String id)
Invokes the deleteSavedQuery operation on the database server
|
java.io.Reader |
exportSearchAsCSV(java.lang.String structuredQuery,
java.lang.String searchText,
java.lang.String queryOptions,
java.lang.String schemaName,
java.lang.String viewName,
java.lang.Long limit,
com.fasterxml.jackson.databind.node.ArrayNode sortOrder,
java.util.stream.Stream<java.lang.String> columns)
Invokes the exportSearchAsCSV operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getMatchingPropertyValues(com.fasterxml.jackson.databind.JsonNode facetValuesSearchQuery)
Invokes the getMatchingPropertyValues operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getMinAndMaxPropertyValues(com.fasterxml.jackson.databind.JsonNode facetRangeSearchQuery)
Invokes the getMinAndMaxPropertyValues operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getModelRelationships()
Invokes the getModelRelationships operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getRecord(java.lang.String docUri)
Invokes the getRecord operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getSavedQueries()
Invokes the getSavedQueries operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getSavedQuery(java.lang.String id)
Invokes the getSavedQuery operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getSemanticConceptInfo(java.lang.String semanticConceptIRI)
Invokes the getSemanticConceptInfo operation on the database server
|
static EntitySearchService |
on(com.marklogic.client.DatabaseClient db)
Creates a EntitySearchService object for executing operations on the database server.
|
static EntitySearchService |
on(com.marklogic.client.DatabaseClient db,
com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
Creates a EntitySearchService object for executing operations on the database server.
|
com.fasterxml.jackson.databind.JsonNode |
saveSavedQuery(com.fasterxml.jackson.databind.JsonNode saveQuery)
Invokes the saveSavedQuery operation on the database server
|
static EntitySearchService on(com.marklogic.client.DatabaseClient db)
db
- provides a client for communicating with the database serverstatic EntitySearchService on(com.marklogic.client.DatabaseClient db, com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
db
- provides a client for communicating with the database serverserviceDeclaration
- substitutes a custom implementation of the servicecom.fasterxml.jackson.databind.JsonNode getMinAndMaxPropertyValues(com.fasterxml.jackson.databind.JsonNode facetRangeSearchQuery)
facetRangeSearchQuery
- provides inputcom.fasterxml.jackson.databind.JsonNode getSavedQuery(java.lang.String id)
id
- provides inputvoid deleteSavedQuery(java.lang.String id)
id
- provides inputcom.fasterxml.jackson.databind.JsonNode saveSavedQuery(com.fasterxml.jackson.databind.JsonNode saveQuery)
saveQuery
- provides inputcom.fasterxml.jackson.databind.JsonNode getSavedQueries()
java.io.Reader exportSearchAsCSV(java.lang.String structuredQuery, java.lang.String searchText, java.lang.String queryOptions, java.lang.String schemaName, java.lang.String viewName, java.lang.Long limit, com.fasterxml.jackson.databind.node.ArrayNode sortOrder, java.util.stream.Stream<java.lang.String> columns)
structuredQuery
- provides inputsearchText
- provides inputqueryOptions
- provides inputschemaName
- provides inputviewName
- provides inputlimit
- provides inputsortOrder
- provides inputcolumns
- provides inputcom.fasterxml.jackson.databind.JsonNode getSemanticConceptInfo(java.lang.String semanticConceptIRI)
semanticConceptIRI
- The IRI of the concept instance for which related entity instances info is to be returnedcom.fasterxml.jackson.databind.JsonNode getModelRelationships()
com.fasterxml.jackson.databind.JsonNode getRecord(java.lang.String docUri)
docUri
- The URI of the document to be returnedcom.fasterxml.jackson.databind.JsonNode getMatchingPropertyValues(com.fasterxml.jackson.databind.JsonNode facetValuesSearchQuery)
facetValuesSearchQuery
- provides input