Show / Hide Table of Contents

Class Type

(experimental) Represents a type of a column in a table schema.

Inheritance
System.Object
Type
Implements
IType
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public class Type : Object, IType
Syntax (vb)
Public Class Type
    Inherits Object
    Implements IType
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
Database myDatabase;

new Table(this, "MyTable", new TableProps {
    Database = myDatabase,
    TableName = "my_table",
    Columns = new [] { new Column {
        Name = "col1",
        Type = Schema.STRING
    } },
    PartitionKeys = new [] { new Column {
        Name = "year",
        Type = Schema.SMALL_INT
    }, new Column {
        Name = "month",
        Type = Schema.SMALL_INT
    } },
    DataFormat = DataFormat.JSON
});

Synopsis

Constructors

Type()

Properties

InputString

(experimental) Glue InputString for this type.

IsPrimitive

(experimental) Indicates whether this type is a primitive data type.

Constructors

Type()

public Type()

Properties

InputString

(experimental) Glue InputString for this type.

public string InputString { get; set; }
Property Value

System.String

Remarks

Stability: Experimental

IsPrimitive

(experimental) Indicates whether this type is a primitive data type.

public bool IsPrimitive { get; set; }
Property Value

System.Boolean

Remarks

Stability: Experimental

Implements

IType
Back to top Generated by DocFX