Package | Description |
---|---|
io.sphere.sdk.queries |
Provides types to prepare and receive queries.
|
Modifier and Type | Method and Description |
---|---|
static <T> PagedQueryResultDsl<T> |
PagedQueryResult.empty()
Creates a
PagedQueryResult for queries with no matching values. |
static <T> PagedQueryResultDsl<T> |
PagedQueryResult.of(List<T> results)
Deprecated.
PagedQueryResult should remain as a read model, and be constructed only by deserialization.
|
static <T> PagedQueryResultDsl<T> |
PagedQueryResult.of(Long offset,
Long total,
List<T> results)
Deprecated.
PagedQueryResult should remain as a read model, and be constructed only by deserialization.
|
static <T> PagedQueryResultDsl<T> |
PagedQueryResult.of(Long offset,
Long limit,
Long total,
List<T> results)
Deprecated.
PagedQueryResult should remain as a read model, and be constructed only by deserialization.
|
static <T> PagedQueryResultDsl<T> |
PagedQueryResult.of(T singleResult)
Deprecated.
PagedQueryResult should remain as a read model, and be constructed only by deserialization.
|
PagedQueryResultDsl<T> |
PagedQueryResultDsl.withOffset(Long offset)
Creates a copy of this item with the given offset.
|
PagedQueryResultDsl<T> |
PagedQueryResultDsl.withTotal(Long total)
Creates a copy of this with the given total items count.
|