Class RecommendedIndex
java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.sql.RecommendedIndex
public class RecommendedIndex
extends com.microsoft.azure.ProxyResource
Represents a database recommended index.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaction()
Get the proposed index action.columns()
Get columns over which to build index.org.joda.time.DateTime
created()
Get the UTC datetime showing when this resource was created (ISO8601 format).Get the estimated impact of doing recommended index action.Get the list of column names to be included in the index.Get the full build index script.Get the type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE).org.joda.time.DateTime
Get the UTC datetime of when was this resource last changed (ISO8601 format).Get the values reported after index action is complete.schema()
Get the schema where table to build index over resides.state()
Get the current recommendation state.table()
Get the table on which to build index.Methods inherited from class com.microsoft.azure.ProxyResource
id, name, type
-
Constructor Details
-
RecommendedIndex
public RecommendedIndex()
-
-
Method Details
-
action
Get the proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance. Possible values include: 'Create', 'Drop', 'Rebuild'.- Returns:
- the action value
-
state
Get the current recommendation state. Possible values include: 'Active', 'Pending', 'Executing', 'Verifying', 'Pending Revert', 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Blocked', 'Success'.- Returns:
- the state value
-
created
public org.joda.time.DateTime created()Get the UTC datetime showing when this resource was created (ISO8601 format).- Returns:
- the created value
-
lastModified
public org.joda.time.DateTime lastModified()Get the UTC datetime of when was this resource last changed (ISO8601 format).- Returns:
- the lastModified value
-
indexType
Get the type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE). Possible values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTERED COLUMNSTORE'.- Returns:
- the indexType value
-
schema
Get the schema where table to build index over resides.- Returns:
- the schema value
-
table
Get the table on which to build index.- Returns:
- the table value
-
columns
Get columns over which to build index.- Returns:
- the columns value
-
includedColumns
Get the list of column names to be included in the index.- Returns:
- the includedColumns value
-
indexScript
Get the full build index script.- Returns:
- the indexScript value
-
estimatedImpact
Get the estimated impact of doing recommended index action.- Returns:
- the estimatedImpact value
-
reportedImpact
Get the values reported after index action is complete.- Returns:
- the reportedImpact value
-