public final class IndexingPolicy extends Object
Constructor and Description |
---|
IndexingPolicy()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<List<CompositePath>> |
getCompositeIndexes()
Gets the composite indexes for additional indexes.
|
List<ExcludedPath> |
getExcludedPaths()
Gets the paths that are not indexed.
|
List<IncludedPath> |
getIncludedPaths()
Gets the paths that are chosen to be indexed by the user.
|
IndexingMode |
getIndexingMode()
Gets the indexing mode (consistent or lazy).
|
List<SpatialSpec> |
getSpatialIndexes()
Sets the spatial indexes for additional indexes.
|
Boolean |
isAutomatic()
Gets whether automatic indexing is enabled for a container.
|
IndexingPolicy |
setAutomatic(boolean automatic)
Sets whether automatic indexing is enabled for a container.
|
IndexingPolicy |
setCompositeIndexes(List<List<CompositePath>> compositeIndexes)
Sets the composite indexes for additional indexes.
|
IndexingPolicy |
setExcludedPaths(List<ExcludedPath> excludedPaths)
Sets excluded paths.
|
IndexingPolicy |
setIncludedPaths(List<IncludedPath> includedPaths)
Sets included paths.
|
IndexingPolicy |
setIndexingMode(IndexingMode indexingMode)
Sets the indexing mode (consistent or lazy).
|
IndexingPolicy |
setSpatialIndexes(List<SpatialSpec> spatialIndexes)
Sets the spatial indexes for additional indexes.
|
public Boolean isAutomatic()
In automatic indexing, items can be explicitly excluded from indexing using RequestOptions. In manual indexing, items can be explicitly included.
public IndexingPolicy setAutomatic(boolean automatic)
In automatic indexing, items can be explicitly excluded from indexing using RequestOptions. In manual indexing, items can be explicitly included.
automatic
- the automaticpublic IndexingMode getIndexingMode()
public IndexingPolicy setIndexingMode(IndexingMode indexingMode)
indexingMode
- the indexing mode.public List<IncludedPath> getIncludedPaths()
public IndexingPolicy setIncludedPaths(List<IncludedPath> includedPaths)
includedPaths
- the included pathspublic List<ExcludedPath> getExcludedPaths()
public IndexingPolicy setExcludedPaths(List<ExcludedPath> excludedPaths)
excludedPaths
- the excluded pathspublic List<List<CompositePath>> getCompositeIndexes()
public IndexingPolicy setCompositeIndexes(List<List<CompositePath>> compositeIndexes)
compositeIndexes
- the composite indexes.public List<SpatialSpec> getSpatialIndexes()
public IndexingPolicy setSpatialIndexes(List<SpatialSpec> spatialIndexes)
spatialIndexes
- the spatial indexes.Copyright © 2021 Microsoft Corporation. All rights reserved.