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

io.micronaut.data.document.mongo.MongoAnnotations Maven / Gradle / Ivy

There is a newer version: 4.9.3
Show newest version
/*
 * Copyright 2017-2022 original authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.micronaut.data.document.mongo;

import io.micronaut.core.annotation.Internal;

/**
 * Mongo annotations constants.
 *
 * @author Denis Stepanov
 * @since 3.3.0
 */
@Internal
public interface MongoAnnotations {

    String REPOSITORY = "io.micronaut.data.mongodb.annotation.MongoRepository";
    String FIND_QUERY = "io.micronaut.data.mongodb.annotation.MongoFindQuery";
    String AGGREGATION_QUERY = "io.micronaut.data.mongodb.annotation.MongoAggregateQuery";
    String DELETE_QUERY = "io.micronaut.data.mongodb.annotation.MongoDeleteQuery";
    String UPDATE_QUERY = "io.micronaut.data.mongodb.annotation.MongoUpdateQuery";
    String FILTER = "io.micronaut.data.mongodb.annotation.MongoFilter";
    String SORT = "io.micronaut.data.mongodb.annotation.MongoSort";
    String PROJECTION = "io.micronaut.data.mongodb.annotation.MongoProjection";
    String COLLATION = "io.micronaut.data.mongodb.annotation.MongoCollation";

    String FILTER_ROLE = "filter";
    String PIPELINE_ROLE = "pipeline";
    String UPDATE_ROLE = "update";
    String FIND_OPTIONS_ROLE = "findOptions";
    String AGGREGATE_OPTIONS_ROLE = "aggregateOptions";
    String UPDATE_OPTIONS_ROLE = "updateOptions";
    String DELETE_OPTIONS_ROLE = "deleteOptions";

    String EXECUTOR_REPOSITORY = "io.micronaut.data.mongodb.repository.MongoQueryExecutor";
    String REACTIVE_EXECUTOR_REPOSITORY = "io.micronaut.data.mongodb.repository.MongoReactiveQueryExecutor";

    String BSON = "org.bson.conversions.Bson";
    String FIND_OPTIONS_BEAN = "io.micronaut.data.mongodb.operations.options.MongoFindOptions";
    String AGGREGATION_OPTIONS_BEAN = "io.micronaut.data.mongodb.operations.options.MongoAggregationOptions";
    String UPDATE_OPTIONS_BEAN = "com.mongodb.client.model.UpdateOptions";
    String DELETE_OPTIONS_BEAN = "com.mongodb.client.model.DeleteOptions";
    String PAGEABLE_BEAN = "io.micronaut.data.model.Pageable";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy