Class Column
(experimental) A column in a Redshift table.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Redshift
Assembly: Amazon.CDK.AWS.Redshift.dll
Syntax (csharp)
public class Column : Object, IColumn
Syntax (vb)
Public Class Column
Inherits Object
Implements IColumn
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Redshift;
var column = new Column {
DataType = "dataType",
Name = "name",
// the properties below are optional
DistKey = false,
SortKey = false
};
Synopsis
Constructors
Column() |
Properties
DataType | (experimental) The data type of the column. |
DistKey | (experimental) Boolean value that indicates whether the column is to be configured as DISTKEY. |
Name | (experimental) The name of the column. |
SortKey | (experimental) Boolean value that indicates whether the column is to be configured as SORTKEY. |
Constructors
Column()
public Column()
Properties
DataType
(experimental) The data type of the column.
public string DataType { get; set; }
Property Value
System.String
Remarks
Stability: Experimental
DistKey
(experimental) Boolean value that indicates whether the column is to be configured as DISTKEY.
public Nullable<bool> DistKey { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: - column is not DISTKEY
Stability: Experimental
Name
(experimental) The name of the column.
public string Name { get; set; }
Property Value
System.String
Remarks
Stability: Experimental
SortKey
(experimental) Boolean value that indicates whether the column is to be configured as SORTKEY.
public Nullable<bool> SortKey { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: - column is not a SORTKEY
Stability: Experimental