Annotation Type CosmosIndexingPolicy
-
@Inherited @Retention(RUNTIME) @Target(TYPE) public @interface CosmosIndexingPolicy
Annotation for cosmos indexing policy
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanautomaticTo set automatic indexingCompositeIndex[]compositeIndexesComposite IndexesString[]excludePathsTo exclude pathsString[]includePathsTo include pathsIndexingModemodeTo set indexing mode
-
-
-
-
mode
IndexingMode mode
To set indexing mode- Returns:
- IndexingMode
- Default:
- com.azure.cosmos.models.IndexingMode.CONSISTENT
-
-
-
includePaths
String[] includePaths
To include paths- Returns:
- String[]
- Default:
- {}
-
-
-
excludePaths
String[] excludePaths
To exclude paths- Returns:
- String[]
- Default:
- {}
-
-
-
compositeIndexes
CompositeIndex[] compositeIndexes
Composite Indexes- Returns:
- CompositeIndexDefinition[]
- Default:
- {}
-
-