br.com.anteros.nosql.persistence.mongodb.aggregation.AggregationPipeline Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Anteros-NoSql-Persistence-MongoDB Show documentation
Show all versions of Anteros-NoSql-Persistence-MongoDB Show documentation
Anteros NoSQL Persistence MongoDB.
package br.com.anteros.nosql.persistence.mongodb.aggregation;
import com.mongodb.AggregationOptions;
import com.mongodb.ReadPreference;
import br.com.anteros.nosql.persistence.session.query.NoSQLQuery;
import br.com.anteros.nosql.persistence.session.query.Sort;
import java.util.Iterator;
import java.util.List;
public interface AggregationPipeline {
Iterator aggregate(Class target);
Iterator aggregate(Class target, AggregationOptions options);
Iterator aggregate(Class target, AggregationOptions options, ReadPreference readPreference);
Iterator aggregate(String collectionName, Class target, AggregationOptions options,
ReadPreference readPreference);
AggregationPipeline geoNear(GeoNear geoNear);
AggregationPipeline group(Group... groupings);
AggregationPipeline group(String id, Group... groupings);
AggregationPipeline group(List id, Group... groupings);
AggregationPipeline limit(int count);
AggregationPipeline lookup(String from, String localField, String foreignField, String as);
AggregationPipeline match(NoSQLQuery query);
Iterator out(Class target);
Iterator out(Class target, AggregationOptions options);
Iterator out(String collectionName, Class target);
Iterator out(String collectionName, Class target, AggregationOptions options);
AggregationPipeline project(Projection... projections);
AggregationPipeline skip(int count);
AggregationPipeline sort(Sort... sorts);
AggregationPipeline unwind(String field);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy