/// <summary> /// Initializes a new instance of the USqlTable class. /// </summary> /// <param name="computeAccountName">the name of the Data Lake /// Analytics account.</param> /// <param name="version">the version of the catalog item.</param> /// <param name="databaseName">the name of the database.</param> /// <param name="schemaName">the name of the schema associated with /// this table and database.</param> /// <param name="name">the name of the table.</param> /// <param name="columnList">the list of columns in this table</param> /// <param name="indexList">the list of indices in this table</param> /// <param name="partitionKeyList">the list of partition keys in the /// table</param> /// <param name="externalTable">the external table associated with the /// table.</param> /// <param name="distributionInfo">the distributions info of the /// table</param> public USqlTable(string computeAccountName = default(string), Guid?version = default(Guid?), string databaseName = default(string), string schemaName = default(string), string name = default(string), IList <USqlTableColumn> columnList = default(IList <USqlTableColumn>), IList <USqlIndex> indexList = default(IList <USqlIndex>), IList <string> partitionKeyList = default(IList <string>), ExternalTable externalTable = default(ExternalTable), USqlDistributionInfo distributionInfo = default(USqlDistributionInfo)) : base(computeAccountName, version) { DatabaseName = databaseName; SchemaName = schemaName; Name = name; ColumnList = columnList; IndexList = indexList; PartitionKeyList = partitionKeyList; ExternalTable = externalTable; DistributionInfo = distributionInfo; }
/// <summary> /// Initializes a new instance of the USqlIndex class. /// </summary> /// <param name="name">the name of the index in the table.</param> /// <param name="indexKeys">the list of directed columns in the /// index</param> /// <param name="columns">the list of columns in the index</param> /// <param name="distributionInfo">the distributions info of the /// index</param> /// <param name="partitionFunction">partition function ID for the /// index.</param> /// <param name="partitionKeyList">the list of partion keys in the /// index</param> /// <param name="streamNames">the list of full paths to the streams /// that contain this index in the DataLake account.</param> /// <param name="isColumnstore">the switch indicating if this index is /// a columnstore index.</param> /// <param name="indexId">the ID of this index within the /// table.</param> /// <param name="isUnique">the switch indicating if this index is a /// unique index.</param> public USqlIndex(string name = default(string), IList <USqlDirectedColumn> indexKeys = default(IList <USqlDirectedColumn>), IList <string> columns = default(IList <string>), USqlDistributionInfo distributionInfo = default(USqlDistributionInfo), Guid?partitionFunction = default(Guid?), IList <string> partitionKeyList = default(IList <string>), IList <string> streamNames = default(IList <string>), bool?isColumnstore = default(bool?), int?indexId = default(int?), bool?isUnique = default(bool?)) { Name = name; IndexKeys = indexKeys; Columns = columns; DistributionInfo = distributionInfo; PartitionFunction = partitionFunction; PartitionKeyList = partitionKeyList; StreamNames = streamNames; IsColumnstore = isColumnstore; IndexId = indexId; IsUnique = isUnique; }