public final class IndexingPolicy extends Object
| Constructor and Description |
|---|
IndexingPolicy() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
automatic()
Get the automatic property: Indicates if the indexing policy is automatic.
|
List<List<CompositePath>> |
compositeIndexes()
Get the compositeIndexes property: List of composite path list.
|
List<ExcludedPath> |
excludedPaths()
Get the excludedPaths property: List of paths to exclude from indexing.
|
List<IncludedPath> |
includedPaths()
Get the includedPaths property: List of paths to include in the indexing.
|
IndexingMode |
indexingMode()
Get the indexingMode property: Indicates the indexing mode.
|
List<SpatialSpec> |
spatialIndexes()
Get the spatialIndexes property: List of spatial specifics.
|
void |
validate()
Validates the instance.
|
IndexingPolicy |
withAutomatic(Boolean automatic)
Set the automatic property: Indicates if the indexing policy is automatic.
|
IndexingPolicy |
withCompositeIndexes(List<List<CompositePath>> compositeIndexes)
Set the compositeIndexes property: List of composite path list.
|
IndexingPolicy |
withExcludedPaths(List<ExcludedPath> excludedPaths)
Set the excludedPaths property: List of paths to exclude from indexing.
|
IndexingPolicy |
withIncludedPaths(List<IncludedPath> includedPaths)
Set the includedPaths property: List of paths to include in the indexing.
|
IndexingPolicy |
withIndexingMode(IndexingMode indexingMode)
Set the indexingMode property: Indicates the indexing mode.
|
IndexingPolicy |
withSpatialIndexes(List<SpatialSpec> spatialIndexes)
Set the spatialIndexes property: List of spatial specifics.
|
public Boolean automatic()
public IndexingPolicy withAutomatic(Boolean automatic)
automatic - the automatic value to set.public IndexingMode indexingMode()
public IndexingPolicy withIndexingMode(IndexingMode indexingMode)
indexingMode - the indexingMode value to set.public List<IncludedPath> includedPaths()
public IndexingPolicy withIncludedPaths(List<IncludedPath> includedPaths)
includedPaths - the includedPaths value to set.public List<ExcludedPath> excludedPaths()
public IndexingPolicy withExcludedPaths(List<ExcludedPath> excludedPaths)
excludedPaths - the excludedPaths value to set.public List<List<CompositePath>> compositeIndexes()
public IndexingPolicy withCompositeIndexes(List<List<CompositePath>> compositeIndexes)
compositeIndexes - the compositeIndexes value to set.public List<SpatialSpec> spatialIndexes()
public IndexingPolicy withSpatialIndexes(List<SpatialSpec> spatialIndexes)
spatialIndexes - the spatialIndexes value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.