[Table Designer] support hash index and column store index (#1672)

This commit is contained in:
Hai Cao
2022-09-06 13:32:43 -07:00
committed by GitHub
parent 2480cf38da
commit 8f26a20950
12 changed files with 907 additions and 1 deletions

View File

@@ -8861,6 +8861,46 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string IndexIsHashPropertyDescription
{
get
{
return Keys.GetString(Keys.IndexIsHashPropertyDescription);
}
}
public static string IndexIsHashPropertyTitle
{
get
{
return Keys.GetString(Keys.IndexIsHashPropertyTitle);
}
}
public static string IndexBucketCountPropertyDescription
{
get
{
return Keys.GetString(Keys.IndexBucketCountPropertyDescription);
}
}
public static string IndexBucketCountPropertyTitle
{
get
{
return Keys.GetString(Keys.IndexBucketCountPropertyTitle);
}
}
public static string HashIndexGroupTitle
{
get
{
return Keys.GetString(Keys.HashIndexGroupTitle);
}
}
public static string TableDesignerColumnsDisplayValueTitle
{
get
@@ -8869,6 +8909,102 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string ColumnStoreIndexNamePropertyTitle
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexNamePropertyTitle);
}
}
public static string ColumnStoreIndexNamePropertyDescription
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexNamePropertyDescription);
}
}
public static string ColumnStoreIndexDescriptionPropertyTitle
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexDescriptionPropertyTitle);
}
}
public static string ColumnStoreIndexDescriptionPropertyDescription
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexDescriptionPropertyDescription);
}
}
public static string ColumnStoreIndexIsClusteredPropertyDescription
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexIsClusteredPropertyDescription);
}
}
public static string ColumnStoreIndexIsClusteredPropertyTitle
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexIsClusteredPropertyTitle);
}
}
public static string ColumnStoreIndexFilterPredicatePropertyDescription
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexFilterPredicatePropertyDescription);
}
}
public static string ColumnStoreIndexFilterPredicatePropertyTitle
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexFilterPredicatePropertyTitle);
}
}
public static string ColumnStoreIndexColumnsPropertyDescription
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexColumnsPropertyDescription);
}
}
public static string ColumnStoreIndexColumnsGroupTitle
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexColumnsGroupTitle);
}
}
public static string ColumnStoreIndexAddColumn
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexAddColumn);
}
}
public static string ColumnStoreIndexColumnPropertyName
{
get
{
return Keys.GetString(Keys.ColumnStoreIndexColumnPropertyName);
}
}
public static string TableDesignerDeleteColumnConfirmationMessage
{
get
@@ -8925,6 +9061,30 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string TableDesignerColumnStoreIndexesTableTitle
{
get
{
return Keys.GetString(Keys.TableDesignerColumnStoreIndexesTableTitle);
}
}
public static string TableDesignerColumnStoreIndexObjectType
{
get
{
return Keys.GetString(Keys.TableDesignerColumnStoreIndexObjectType);
}
}
public static string AddNewColumnStoreIndexLabel
{
get
{
return Keys.GetString(Keys.AddNewColumnStoreIndexLabel);
}
}
public static string TableDesignerEdgeConstraintsTabTitle
{
get
@@ -9830,6 +9990,26 @@ namespace Microsoft.SqlTools.ServiceLayer
return Keys.GetString(Keys.ComputedColumnNeedToBePersistedInForeignKeyRuleDescription, columnName, foreignKeyName);
}
public static string HashIndexNotSupportedInNonMemoryOptimizedTableRuleDescription(string indexName)
{
return Keys.GetString(Keys.HashIndexNotSupportedInNonMemoryOptimizedTableRuleDescription, indexName);
}
public static string HashIndexMustHaveBucketCountRuleDescription(string indexName)
{
return Keys.GetString(Keys.HashIndexMustHaveBucketCountRuleDescription, indexName);
}
public static string ColumnCanOnlyAppearOnceInNonClusteredColumnStoreIndexRuleDescription(string columnName, string indexName, int rowNumber)
{
return Keys.GetString(Keys.ColumnCanOnlyAppearOnceInNonClusteredColumnStoreIndexRuleDescription, columnName, indexName, rowNumber);
}
public static string NonClusteredColumnStoreIndexMustHaveColumnsRuleDescription(string indexName)
{
return Keys.GetString(Keys.NonClusteredColumnStoreIndexMustHaveColumnsRuleDescription, indexName);
}
public static string SqlProjectModelNotFound(string projectUri)
{
return Keys.GetString(Keys.SqlProjectModelNotFound, projectUri);
@@ -13346,9 +13526,60 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string IndexFilterPredicatePropertyTitle = "IndexFilterPredicatePropertyTitle";
public const string IndexIsHashPropertyDescription = "IndexIsHashPropertyDescription";
public const string IndexIsHashPropertyTitle = "IndexIsHashPropertyTitle";
public const string IndexBucketCountPropertyDescription = "IndexBucketCountPropertyDescription";
public const string IndexBucketCountPropertyTitle = "IndexBucketCountPropertyTitle";
public const string HashIndexGroupTitle = "HashIndexGroupTitle";
public const string TableDesignerColumnsDisplayValueTitle = "TableDesignerColumnsDisplayValueTitle";
public const string ColumnStoreIndexNamePropertyTitle = "ColumnStoreIndexNamePropertyTitle";
public const string ColumnStoreIndexNamePropertyDescription = "ColumnStoreIndexNamePropertyDescription";
public const string ColumnStoreIndexDescriptionPropertyTitle = "ColumnStoreIndexDescriptionPropertyTitle";
public const string ColumnStoreIndexDescriptionPropertyDescription = "ColumnStoreIndexDescriptionPropertyDescription";
public const string ColumnStoreIndexIsClusteredPropertyDescription = "ColumnStoreIndexIsClusteredPropertyDescription";
public const string ColumnStoreIndexIsClusteredPropertyTitle = "ColumnStoreIndexIsClusteredPropertyTitle";
public const string ColumnStoreIndexFilterPredicatePropertyDescription = "ColumnStoreIndexFilterPredicatePropertyDescription";
public const string ColumnStoreIndexFilterPredicatePropertyTitle = "ColumnStoreIndexFilterPredicatePropertyTitle";
public const string ColumnStoreIndexColumnsPropertyDescription = "ColumnStoreIndexColumnsPropertyDescription";
public const string ColumnStoreIndexColumnsGroupTitle = "ColumnStoreIndexColumnsGroupTitle";
public const string ColumnStoreIndexAddColumn = "ColumnStoreIndexAddColumn";
public const string ColumnStoreIndexColumnPropertyName = "ColumnStoreIndexColumnPropertyName";
public const string TableDesignerDeleteColumnConfirmationMessage = "TableDesignerDeleteColumnConfirmationMessage";
@@ -13370,6 +13601,15 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string TableDesignerGraphTableTypeNone = "TableDesignerGraphTableTypeNone";
public const string TableDesignerColumnStoreIndexesTableTitle = "TableDesignerColumnStoreIndexesTableTitle";
public const string TableDesignerColumnStoreIndexObjectType = "TableDesignerColumnStoreIndexObjectType";
public const string AddNewColumnStoreIndexLabel = "AddNewColumnStoreIndexLabel";
public const string TableDesignerEdgeConstraintsTabTitle = "TableDesignerEdgeConstraintsTabTitle";
@@ -13604,6 +13844,18 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string ComputedColumnNeedToBePersistedInForeignKeyRuleDescription = "ComputedColumnNeedToBePersistedInForeignKeyRuleDescription";
public const string HashIndexNotSupportedInNonMemoryOptimizedTableRuleDescription = "HashIndexNotSupportedInNonMemoryOptimizedTableRuleDescription";
public const string HashIndexMustHaveBucketCountRuleDescription = "HashIndexMustHaveBucketCountRuleDescription";
public const string ColumnCanOnlyAppearOnceInNonClusteredColumnStoreIndexRuleDescription = "ColumnCanOnlyAppearOnceInNonClusteredColumnStoreIndexRuleDescription";
public const string NonClusteredColumnStoreIndexMustHaveColumnsRuleDescription = "NonClusteredColumnStoreIndexMustHaveColumnsRuleDescription";
public const string TableDesignerConfirmationText = "TableDesignerConfirmationText";