public static class ListProjectionQuery.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
ListProjectionQuery |
build(Class responseClass) |
ListProjectionQuery.Builder |
withFrom(Date from) |
ListProjectionQuery.Builder |
withFrom(long from) |
ListProjectionQuery.Builder |
withFrom(String from) |
ListProjectionQuery.Builder |
withIds(Iterable<String> ids)
If provided, filters on the projection id(s) to only the specified projections.
|
ListProjectionQuery.Builder |
withLimit(int limit) |
ListProjectionQuery.Builder |
withReference(String reference) |
ListProjectionQuery.Builder |
withSkip(int skip) |
ListProjectionQuery.Builder |
withSort(String string)
Sort string.
|
ListProjectionQuery.Builder |
withSortAscending(String field) |
ListProjectionQuery.Builder |
withSortDescending(String field) |
ListProjectionQuery.Builder |
withTenantId(UUID tenantId) |
ListProjectionQuery.Builder |
withTo(Date to) |
ListProjectionQuery.Builder |
withTo(long to) |
ListProjectionQuery.Builder |
withTo(String to) |
public Builder(String projectionName)
public ListProjectionQuery.Builder withSkip(int skip)
public ListProjectionQuery.Builder withLimit(int limit)
public ListProjectionQuery.Builder withSortDescending(String field)
public ListProjectionQuery.Builder withSortAscending(String field)
public ListProjectionQuery.Builder withSort(String string)
string - Sort stringpublic ListProjectionQuery.Builder withReference(String reference)
reference - String to filter result bypublic ListProjectionQuery.Builder withFrom(String from)
from - String to filter reference from (inclusive).public ListProjectionQuery.Builder withFrom(long from)
from - String to filter reference from (inclusive).public ListProjectionQuery.Builder withFrom(Date from)
from - String to filter reference from (inclusive).public ListProjectionQuery.Builder withTo(String to)
to - String to filter reference to (inclusive).public ListProjectionQuery.Builder withTo(long to)
to - String to filter reference to (inclusive).public ListProjectionQuery.Builder withTo(Date to)
to - String to filter reference to (inclusive).public ListProjectionQuery.Builder withIds(Iterable<String> ids)
ids - Set of IDs of projections to fetch.public ListProjectionQuery.Builder withTenantId(UUID tenantId)
public ListProjectionQuery build(Class responseClass)
Copyright © 2022. All rights reserved.