Skip to main content

Class AstTableCloneNode

TableClone enables you to create a copy of an existing table, allowing you to add your own additional columns, indexes, and keys in order to support staging mechanisms, temp-tables, etc.

Namespace: Varigence.Languages.Biml.Table

Assembly: Biml.dll

C#


public class AstTableCloneNode : AstTableNode, IBindableItem, IGetJsonProvider, INamedNode, IScopeBoundary, IDataflowItem, IEmittableAstNode, IReferenceableItem, IFrameworkItem, IValidationInfo, INamedItem

Inheritance AstNode

  • Implements

    Varigence.Utility.Collections.IVulcanCollectionParent, Varigence.Utility.ComponentModel.IVulcanNotifyPropertyChanged, Varigence.Utility.ComponentModel.IPropertyChangeNotificationTarget, System.ComponentModel.INotifyPropertyChanged, Varigence.Utility.Xml.IXObjectMappingProvider, System.ComponentModel.IDataErrorInfo, Varigence.Utility.Collections.IScopedNameIndexable,

Constructors

ConstructorsDescription
AstTableCloneNode(IFrameworkItem)Initializes a new instance of the AstTableCloneNode class with the specified parent node.

Fields

FieldsDescription
ScopedNamePrefixBackingStore
IsScopeImported

Properties

PropertiesDescription
AllMergedColumnsGets a collection of all columns including, those from ancestor clone tables, base tables, and this clone table
AllMergedIndexesGets a collection of all indexes including, those from ancestor clone tables, base tables, and this clone table
AllMergedKeysGets a collection of all keys including, those from ancestor clone tables, base tables, and this clone table
AllMergedSourcesGets a collection of all sources including, those from ancestor clone tables, base tables, and this clone table
AllRelationalColumnsGets a collection of all columns including, those from ancestor clone tables, base tables, and this clone table but excluding those that are placeholders for Analysis Services Named Calculations
ClonedColumnsThis collection is for internal use only. It is used to store column definitions that have been cloned from the table that is the basis for this clone table.
ClonedIndexesThis collection is for internal use only. It is used to store index definitions that have been cloned from the table that is the basis for this clone table.
ClonedKeysThis collection is for internal use only. It is used to store key definitions that have been cloned from the table that is the basis for this clone table.
ClonedSourcesThis collection is for internal use only. It is used to store source definitions that have been cloned from the table that is the basis for this clone table.
CloneIndexesThis value specifies whether indexes from the referenced table should be included in the cloned table. In situations where the clone table will be used for a smaller amount of data or for different purposes than the reference table, the same indexes may not be required. The default value is False.
CloneIndexesDefaultValueGets the default value for the CloneIndexes property
CloneKeysThis value specifies whether keys from the referenced table should be included in the cloned table. In situations where the clone table will include unverified data, the same keys may not be valid. The default value is False.
CloneKeysDefaultValueGets the default value for the CloneKeys property
CloneStaticSourcesThis value specifies whether static source values defined on the referenced table should also be added to the clone table. Static source values are those data items that are prepopulated into the table when it is created. The default value is False.
CloneStaticSourcesDefaultValueGets the default value for the CloneStaticSources property
FriendlyTypeNameStaticGets the friendly name of the type of this node
HasTableReferenceCyclesGets a value to indicate whether this clone table directly or indirectly clones itself or another clone table that clones itself - thereby creating an infinite loop
NullClonedColumnsThis value specifies whether all columns from the referenced tables should be modified to permit null values. This is often useful in situations where the clone table will be used as a staging area for unverified data that will be loaded into the referenced table after null and other quality checks have been performed. The default value is False.
NullClonedColumnsDefaultValueGets the default value for the NullClonedColumns property
TableThis is a reference to the table that will serve as the basis for the clone table. Except as modified using the other clone table properties, the clone table will be an exact schema copy of the referenced table.
ConnectionReturns the connection used by this object.
HasIdentityGets a value that indicates whether the table contains any identity columns
SchemaQualifiedNameReturns the schema qualified name for the table.
DatabaseQualifiedNameReturns the database qualified name for the table.
DataSourceViewQualifiedNameReturns the schema qualified name for a data source view
HasScdColumnsGets a value indicating whether any of the columns have ScdType of Historical
PreferredKeyGets the preferred key for this table to be used in lookups and other operations. This is the primary key or identity if present.

Otherwise, it is based on the key with the minimum number of bytes to compare across all columns referenced by the key.
ReadOnlyColumnsGets a collection of the read-only columns contained by this table
SsasNameGets the name of the table that should be used for SSAS emission, including DSVs and dimension/fact naming
EmitGets or sets a value that determines if this node should be emitted as a package in the build output
ColumnsThis is a container for table column definitions.
KeysThis is a container for table key definitions.
SourcesThis is a container for table source definitions.
IndexesThis is a container for table index definitions.
CustomExtensionsThis is a collecton of containers for table index definitions or other table customization.
LateArrivingThis value specifies whether the table supports late arriving rows. Late arriving rows allow the table to create placeholder values that are patched later when a dimension foreign key value is loaded in a referencing tabe before it is present in this table.
SchemaThis value specifies the schema to which this table belongs. If this value is not supplied, the table will use the default schema specified in the database.
CompressionTypeThis value specifies what kind of compression the table uses.
PackageSubpathThis specifies a file path fragment to use for emitting output files for this table. It is most commonly employed to ensure that the output files for multiple tables will be placed into the same output directory.
FriendlyNameSpecifies the name to use in the SSAS data source view and downstream SSAS objects.
PartitionSchemeIndicates the partition scheme that will be used by this table.
ExternalPartitionSchemeDefines that the table uses a partition that is not modeled as part of the project. This can also be used to create the table on a particular filegroup or the "default" filegroup.
PartitionColumnDefines the table column used by the partition scheme.
CheckConstraintsDefines the collection of check constraints associated with the table.
ViewDefines the information necessary to emit the table as a view.
FileGroupSpecifies the database file group within which this table should be created.
LogicalDisplayFolderSpecifies a path that should be used for organizing the tree display of this object in the Logical View in BimlStudio.
AnalysisMetadataThis is a container for all SQL Server Analysis Services (SSAS) metadata objects that are associated with this table definition. These include both multidimensional and tabular metadata.
LateArrivingDefaultValueGets the default value for the LateArriving property
CompressionTypeDefaultValueGets the default value for the CompressionType property
PackageSubpathDefaultValueGets the default value for the PackageSubpath property
FriendlyNameDefaultValueGets the default value for the FriendlyName property
ExternalPartitionSchemeDefaultValueGets the default value for the ExternalPartitionScheme property
LogicalDisplayFolderDefaultValueGets the default value for the LogicalDisplayFolder property
ScopedNameGets the scoped name which can be used to uniquely identify this object among other objects of its type
SymbolTableGets a reference to the symbol table that stores a reference to this and all other named objects in the project
SsisSafeScopedNameReturns a version of the ScopedName that has been cleaned of invalid characters for SSIS.
SsisSafeNameReturns a version of the Name that has been cleaned of invalid characters for SSIS.
NameSpecifies the name of the object. This name can be used to reference this object from anywhere else in the program.
ReferencesGets collection of FrameworkItemReference objects, which track rich information about the properties that hold references to this node.
NameDefaultValueGets the default value for the Name property
Guid
AnnotationsThis 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.
ObjectTagThis property provides a general purpose storage mechanism for .NET objects to be associated with AstNode objects. It supplements the annotation system, which is intended for use with string-based metadata.
BimlFileThis value specifies the BimlFile in which the Biml code that defines AstNode resides.
ItemLabelGets a label that can be used to identify this node
ParentItemThis value specifies the parent of the current node. All nodes must have a valid parent in the Biml framework, except for the root node.

Methods

MethodsDescription
BindingScopeBoundaries()Retrieves the permitted scope boundaries to bind references from this node.
DefinedAstNodes()Retrieves a collection of nodes that have been defined as direct children of the current node.
Duplicate()Creates a duplicate of the current node
Duplicate(IFrameworkItem)Creates a duplicate of the current node with the specified parent item
GetAllItemsReferencedByDefinedSuccessors()Builds a list of all items referenced by this node and its successors.
Each tuple in the returned list represents a FrameworkItemReference.
The first item is the ReferencingItem, the second item is the property name, and the third item is the ReferencedItem.
GetDefaultValue(String)Retrieves the default value for the property with the name propertyName
GetDefaultValue<T>(String)Retrieves the default value for the property with the name propertyName
StructureEquals(Object)Compares this node to the provided object to determine if all defined children and references are equal.
GetSchemaLocalName()Retrieves the local XML element name that corresponds to this node in Biml code.
ParseChild(XElement, ParserContext)
GetBimlChildFragment(CulturedStringBuilder, Int32)
HasAnyBimlChildNodes()
ToString()Returns a string that represents the current object. In this case, it is the Name of the node.
OnScopedNameChanged(String, String)
OnItemLabelChanged(String, String)
OnNameChanging(String, String)
OnNameChanged(String, String)
AddScopedNameChangedEventListener(IReferenceableItem, EventHandler<VulcanPropertyChangedEventArgs>)Adds the scoped name changed event handler to the specified referenceable item.
RemoveScopedNameChangedEventListener(IReferenceableItem, EventHandler<VulcanPropertyChangedEventArgs>)Removes the scoped name changed event handler from the specified referenceable item.
FirstChildOfType<TChild>()Gets the first defined descendant node of the specified type
RemoveFromParent()Removes this node definition from its parent
GetJson()Generates a JavaScript Object Notation (JSON) representation of the current node
GetExternalJson()Generates a JavaScript Object Notation (JSON) representation of the current node
GetJson(Boolean, Boolean, Boolean, Boolean, Boolean)Generates a JavaScript Object Notation (JSON) representation of the current node
GetXObjectName()Gets the fully qualified XML element name for this node in the code document.
FirstParent<TAstNode>()Retrieves the first parent or ancestor node of the specified type
FirstParent<TAstNode>(Type)Retrieves the first parent or ancestor node of the specified type with the specified custom attribute type
FirstThisOrParent<TAstNode>()Retrieves the first parent or ancestor node of the specified type, including this node
IsDirectAncestor(IFrameworkItem)Retrieves a value indicating whether the specified node is a direct ancestor of this node.
AncestorDistance(IFrameworkItem)Retrieves the number of steps between this node and the nearest shared ancestor with the specified relative node.
FirstThisOrParent<TAstNode>(Type)Retrieves the first parent or ancestor node (including this node) of the specified type with the specified custom attribute type
AllDefinedSuccessors()Retrieves the collection of all nodes defined as a child of this or any successor node or the current node
AllDefinedSuccessors(Boolean)Retrieves the collection of all nodes defined as a child of this or any successor node or optionally the current node
OnNotificationTargetPropertyChanged(String)
OnScopeBoundaryChanged(IScopeBoundary, IScopeBoundary)
AddParseableChangedEventListener(IFlowFileChanged, EventHandler<EventArgs>)
RemoveParseableChangedEventListener(IFlowFileChanged, EventHandler<EventArgs>)
AddScopeBoundaryChangedEventListener(IFrameworkItem, EventHandler<VulcanPropertyChangedEventArgs>)
RemoveScopeBoundaryChangedEventListener(IFrameworkItem, EventHandler<VulcanPropertyChangedEventArgs>)
AddParsePendingChangedEventListener(IFlowFileChanged, EventHandler<EventArgs>)
RemoveParsePendingChangedEventListener(IFlowFileChanged, EventHandler<EventArgs>)
AddFromTemplateChangedEventListener(IFlowFileChanged, EventHandler<EventArgs>)
RemoveFromTemplateChangedEventListener(IFlowFileChanged, EventHandler<EventArgs>)
ParseSelf(XElement, ParserContext)
ParseNameValueMapping(XElement)