• PRODUCTS
  • SUPPORT
  • DOCS
  • PARTNERS
  • COMPANY
  • QUOTE
  • ACCOUNT
  • STORE
QUOTE

Documentation

Support Forums
What can we help you with?
Topics

Table Index Element

API Type:
Varigence.Languages.Biml.Table.AstTableIndexNode
X-Ref:
  • Ast Table Index Node

Attributes

AttributeAPI TypeDefaultDescription
NameString 
Specifies the name of the object. This name can be used to reference this object from anywhere else in the program. This is a required property
ClusteredBooleanfalse
This value specifies whether the index is clustered. A clustered index is physically laid out on disc with all columns of the rows of the table.
CompressionTypeTableCompressionTypeNone
This value specifies what kind of compression the index uses.
DropExistingBooleanfalse
When DropExisting is specified, the index creation removes any existing indexes with the same name before creating the new index. Unspecified properties in the new index are inherited from the dropped index. Without this option, an attempt to create a second index with the same name would result in an error.
FillFactorInt320
This value specifies what percentage of each index page the database engine should fill when creating or rebuilding the index.
IgnoreDupKeyBooleanfalse
This value specifies whether incoming rows that have a duplicate index value should produce a warning (and continue) or an error (and terminate). This property applies only for indexes where the value of Unique is True. It is useful for enabling large bulk inserts to complete when duplicate rows exist.
OnlineBooleanfalse
This value specifies whether the index remains online and accessible while index operations are being performed.
PadIndexBooleanfalse
This value determines whether each intermediate level of the index is padded with extra open space in each page.
PartitionColumnNameAstTableColumnBaseNode 
Defines the column used by the partition scheme. This references an existing definiton.
PartitionSchemeNameAstPartitionSchemeNode 
Defines the partition scheme used to partition this index. This references an existing definiton.
SortInTempdbBooleanfalse
This value determines whether the configured temporary database should be used for storing the index.
UniqueBooleanfalse
This value specifies whether each index value is unique. When the value is True, no two rows have the same values across all of the columns participating in the index.

Singleton Children

ChildAPI TypeDescription
<FileGroup />AstDatabaseFileGroupResourceNodeAstDatabaseFileGroupResourceNode is used for creating references to database file groups that have been modeled in the Biml project.
<ExternalFileGroup />AstExternalDatabaseFileGroupResourceNodeAstExternalDatabaseFileGroupResourceNode is used for creating references to database file groups that have not been modeled in the Biml project.
<FilterPredicate />StringString is the .NET Framework String class. More information can be found at http://msdn.microsoft.com/en-us/library/system.string.aspx.

Collection Children

ChildAPI TypeDescription
<Annotations>
    <Annotation />
</Annotations>
AstAnnotationNode
This is a collection of annotation items that can be used to specify documentation, tags, or other information. Annotations are particularly useful for storing information about nodes that can be used by BimlScript code.
<Columns>
    <Column />
</Columns>
AstTableIndexColumnNode
This is a container for index column reference definitions.
<Includes>
    <Include />
</Includes>
AstTableIndexLeafNode
This is a container for index include column reference definitions.

© Varigence