Package | Description |
---|---|
com.marklogic.client.pojo |
The goal of this package (sometimes referred to as "the pojo facade" is to simplify working
with custom Plain Old Java Objects (pojos) without hassling with persistence details.
|
com.marklogic.client.query |
The package provides classes for queries including searching documents
and reading values directly from indexes in the database for the REST server.
|
Modifier and Type | Method and Description |
---|---|
PojoQueryDefinition |
PojoQueryBuilder.filteredQuery(StructuredQueryDefinition query)
Wraps the structured query into a combined query with options containing
<search-option>filtered</search-option> so results are accurate
though slower.
|
Modifier and Type | Method and Description |
---|---|
long |
PojoRepository.count(PojoQueryDefinition query) |
long |
PojoRepository.count(PojoQueryDefinition query,
Transaction transaction)
In the context of transaction, the number of documents of the type managed by
this PojoRepository persisted in the database which match the query
|
PojoPage<T> |
PojoRepository.search(PojoQueryDefinition query,
long start)
Within an open transaction, search persisted pojos of the type managed by this
PojoRepository for matches to this query and unmarshall their data into new pojo instances.
|
PojoPage<T> |
PojoRepository.search(PojoQueryDefinition query,
long start,
SearchReadHandle searchHandle) |
PojoPage<T> |
PojoRepository.search(PojoQueryDefinition query,
long start,
SearchReadHandle searchHandle,
Transaction transaction)
Within an open transaction, search persisted pojos of the type managed by this
PojoRepository for matches to this query and unmarshall their data into new pojo instances.
|
PojoPage<T> |
PojoRepository.search(PojoQueryDefinition query,
long start,
Transaction transaction)
Within an open transaction, search persisted pojos of the type managed by this
PojoRepository for matches to this query and unmarshall their data into new pojo instances.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StringQueryDefinition
A StringQueryDefinition represents the criteria associated with a simple string query.
|
static interface |
StructuredQueryBuilder.Box |
static interface |
StructuredQueryBuilder.Circle |
static interface |
StructuredQueryBuilder.Point |
static interface |
StructuredQueryBuilder.Polygon |
static interface |
StructuredQueryBuilder.Region
A region matched by a geospatial query.
|
interface |
StructuredQueryDefinition
A StructuredQueryDefinition represents a structured query.
|
Copyright © 2013-2018 MarkLogic Corporation.