Class Column
Represents a column within a Schema.
Inheritance
System.Object
Column
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Confluent.KsqlDB.types
Assembly: cs.temp.dll.dll
Syntax
public class Column
Constructors
Column(String, Boolean, SqlType)
Creates a Column object
Declaration
public Column(string name, bool isKey, SqlType sqlType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of this column |
System.Boolean | isKey | If the column is part of the key of the schema |
SqlType | sqlType | The type of the column |
Properties
IsKey
Whether the column is part of the key to the table/stream.
Declaration
public bool IsKey { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
The name of the column.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
SqlType
The SQL type of the column.
Declaration
public SqlType SqlType { get; }
Property Value
Type | Description |
---|---|
SqlType |
Methods
ToString()
String form of the Column
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The string form of the column |
Overrides
System.Object.ToString()