RecommendedIndex Class
- java.
lang. Object - com.
microsoft. azure. ProxyResource - com.
microsoft. azure. management. sql. RecommendedIndex
- com.
- com.
public class RecommendedIndex
extends com.microsoft.azure.ProxyResource
Represents a database recommended index.
Constructor Summary
Constructor | Description | |
---|---|---|
RecommendedIndex() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Recommended |
action()
Get the proposed index action. |
java.util.List<java.lang.String> |
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). |
java.util.List<Operation |
estimatedImpact()
Get the estimated impact of doing recommended index action. |
java.util.List<java.lang.String> |
includedColumns()
Get the list of column names to be included in the index. |
java.lang.String |
indexScript()
Get the full build index script. |
Recommended |
indexType()
Get the type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE). |
org.joda.time.DateTime |
lastModified()
Get the UTC datetime of when was this resource last changed (ISO8601 format). |
java.util.List<Operation |
reportedImpact()
Get the values reported after index action is complete. |
java.lang.String |
schema()
Get the schema where table to build index over resides. |
Recommended |
state()
Get the current recommendation state. |
java.lang.String |
table()
Get the table on which to build index. |
Methods inherited from com.microsoft.azure.ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RecommendedIndex
public RecommendedIndex()
Method Details
action
public RecommendedIndexAction 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:
columns
public List
Get columns over which to build index.
Returns:
created
public DateTime created()
Get the UTC datetime showing when this resource was created (ISO8601 format).
Returns:
estimatedImpact
public List
Get the estimated impact of doing recommended index action.
Returns:
includedColumns
public List
Get the list of column names to be included in the index.
Returns:
indexScript
public String indexScript()
Get the full build index script.
Returns:
indexType
public RecommendedIndexType indexType()
Get the type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE). Possible values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTERED COLUMNSTORE'.
Returns:
lastModified
public DateTime lastModified()
Get the UTC datetime of when was this resource last changed (ISO8601 format).
Returns:
reportedImpact
public List
Get the values reported after index action is complete.
Returns:
schema
public String schema()
Get the schema where table to build index over resides.
Returns:
state
public RecommendedIndexState state()
Get the current recommendation state. Possible values include: 'Active', 'Pending', 'Executing', 'Verifying', 'Pending Revert', 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Blocked', 'Success'.
Returns:
table
public String table()
Get the table on which to build index.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for