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.
|
interface |
StructuredQueryDefinition
A StructuredQueryDefinition represents a structured query.
|
Modifier and Type | Class and Description |
---|---|
class |
StructuredQueryBuilder.AndNotQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of AndNotQuery. |
class |
StructuredQueryBuilder.AndQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of AndQuery. |
class |
StructuredQueryBuilder.CollectionConstraintQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of CollectionConstraintQuery. |
class |
StructuredQueryBuilder.CollectionQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of CollectionQuery. |
class |
StructuredQueryBuilder.CustomConstraintQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of CustomConstraintQuery. |
class |
StructuredQueryBuilder.DirectoryQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of DirectoryQuery. |
class |
StructuredQueryBuilder.DocumentFragmentQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of DocumentFragmentQuery. |
class |
StructuredQueryBuilder.DocumentQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of DocumentQuery. |
class |
StructuredQueryBuilder.ElementConstraintQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of ElementConstraintQuery. |
class |
StructuredQueryBuilder.GeospatialConstraintQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of GeospatialConstraintQuery. |
class |
StructuredQueryBuilder.LocksQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of LocksQuery. |
class |
StructuredQueryBuilder.NearQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of NearQuery. |
class |
StructuredQueryBuilder.NotQuery
Deprecated.
Use the
StructuredQueryDefinition interface as the type for instances of NotQuery. |
class |
StructuredQueryBuilder.OrQuery
Deprecated.
Use the
StructuredQueryDefinition interface as the type for instances of OrQuery. |
class |
StructuredQueryBuilder.PropertiesConstraintQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of PropertiesConstraintQuery. |
class |
StructuredQueryBuilder.PropertiesQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of PropertiesQuery. |
class |
StructuredQueryBuilder.RangeConstraintQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of RangeConstraintQuery. |
class |
StructuredQueryBuilder.TermQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of TermQuery. |
class |
StructuredQueryBuilder.ValueConstraintQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of ValueConstraintQuery. |
class |
StructuredQueryBuilder.WordConstraintQuery
Deprecated.
Use the
StructuredQueryDefinition interface
as the type for instances of WordConstraintQuery. |
Copyright © 2013-2016 MarkLogic Corporation.