Uses of Interface
org.graylog2.database.pagination.MongoPaginationHelper
Packages that use MongoPaginationHelper
-
Uses of MongoPaginationHelper in org.graylog2.database
Methods in org.graylog2.database that return MongoPaginationHelperModifier and TypeMethodDescription<T extends MongoEntity>
MongoPaginationHelper<T>MongoCollections.paginationHelper(com.mongodb.client.MongoCollection<T> collection) Provides a helper to perform find operations on a collection that yield pages of documents.<T extends MongoEntity>
MongoPaginationHelper<T>MongoCollections.paginationHelper(String collectionName, Class<T> valueType) Provides a helper to perform find operations on a collection that yield pages of documents. -
Uses of MongoPaginationHelper in org.graylog2.database.pagination
Classes in org.graylog2.database.pagination that implement MongoPaginationHelperModifier and TypeClassDescriptionclassDefaultMongoPaginationHelper<T extends MongoEntity>Default implementation for pagination support.Methods in org.graylog2.database.pagination that return MongoPaginationHelperModifier and TypeMethodDescriptionDefaultMongoPaginationHelper.collation(com.mongodb.client.model.Collation collation) MongoPaginationHelper.collation(com.mongodb.client.model.Collation collation) Sets a collation to be used in the find operation.DefaultMongoPaginationHelper.filter(org.bson.conversions.Bson filter) MongoPaginationHelper.filter(org.bson.conversions.Bson filter) Sets the query filter to apply to the query.DefaultMongoPaginationHelper.grandTotalFilter(org.bson.conversions.Bson grandTotalFilter) MongoPaginationHelper.grandTotalFilter(org.bson.conversions.Bson grandTotalFilter) Sets a filter to be applied to the query to count the grand total of documents in the collection.DefaultMongoPaginationHelper.includeGrandTotal(boolean includeGrandTotal) MongoPaginationHelper.includeGrandTotal(boolean includeGrandTotal) Specifies whether to include a grand total number of all documents in the collection.DefaultMongoPaginationHelper.perPage(int perPage) MongoPaginationHelper.perPage(int perPage) Sets the page size.DefaultMongoPaginationHelper.projection(org.bson.conversions.Bson projection) MongoPaginationHelper.projection(org.bson.conversions.Bson projection) Sets the projection BSON to apply to the query.DefaultMongoPaginationHelper.sort(org.bson.conversions.Bson sort) MongoPaginationHelper.sort(org.bson.conversions.Bson sort) Sets the sort criteria to apply to the query.