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

com.anwen.mongo.enums.AggregateEnum Maven / Gradle / Ivy

There is a newer version: 2.1.5
Show newest version
package com.anwen.mongo.enums;

/**
 * 管道枚举
 *
 * @author anwen
 * @date 2024/6/16 下午9:31
 */
public enum AggregateEnum {

    ADD_FIELDS("$addFields"),

    SET("$set"),

    BUCKET("$bucket"),

    BUCKET_AUTO("$bucketAuto"),

    MATCH("$match"),

    PROJECT("$project"),

    SORT("$sort"),

    LOOKUP("$lookup"),

    FACET("$facet"),

    GRAPH_LOOKUP("$graphLookup"),

    GROUP("$group"),

    UNION_WITH("$unionWith"),

    UNWIND("$unwind"),

    MERGE("$merge"),

    REPLACE_ROOT("$replaceRoot"),
    
    MERGE_OBJECTS("$mergeObjects"),

    EACH("$each"),

    POSITION("$position"),

    SLICE("$slice"),

    ;

    AggregateEnum(String value) {
        this.value = value;
    }

    private final String value;

    public String getValue() {
        return value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy