All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.anwen.mongo.conditions.aggregate.LambdaAggregateChainWrapper Maven / Gradle / Ivy

There is a newer version: 2.1.6.1
Show newest version
package com.anwen.mongo.conditions.aggregate;

import com.anwen.mongo.mapper.BaseMapper;

import java.util.List;

/**
 * @author JiaChaoYang
 **/
public class LambdaAggregateChainWrapper extends AggregateChainWrapper> implements ChainAggregate {

    private final BaseMapper baseMapper;

    private final Class clazz;

    public LambdaAggregateChainWrapper(BaseMapper baseMapper, Class clazz) {
        this.baseMapper = baseMapper;
        this.clazz = clazz;
    }

    @Override
    public List list() {
        return baseMapper.aggregateList(this,clazz);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy