Annotation Interface CosmosRepository
@RepositoryConfiguration(queryBuilder=CosmosSqlQueryBuilder.class,
operations=CosmosRepositoryOperations.class,
implicitQueries=true,
namedParameters=true,
typeRoles=@TypeRole(role="partitionKey",type=com.azure.cosmos.models.PartitionKey.class))
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,TYPE})
@Documented
@Repository
@DocumentProcessorRequired
public @interface CosmosRepository
Stereotype repository that configures a
Repository
as a CosmosRepository
.- Since:
- 3.9.0
- Author:
- Denis Stepanov
-
Optional Element Summary
-
Element Details
-
value
- Returns:
- The datasource name.
- Default:
- "default"
-
serverName
- Returns:
- The server name.
- Default:
- "default"
-