TableProps
Properties for defining a Table
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-maxcompute-table
Initializer
using AlibabaCloud.SDK.ROS.CDK.Maxcompute;
new TableProps {
object Name,
object Project,
object Comment = null,
object IfNotExists = null,
object Lifecycle = null,
object Schema = null,
object StringSchema = null
};
Properties
Name | Type | Description |
---|---|---|
Name |
object |
Property name: Table name. |
Project |
object |
Property project: Project name, if not provided, will be the default project. |
Comment |
object |
Property comment: Table comment. |
IfNotExists |
object |
Property ifNotExists: If you create a table by using the name of an existing table and the parameter set to false, an error is returned. |
Lifecycle |
object |
Property lifecycle: Table's lifecycle. |
Schema |
object |
Property schema: Table schema. |
StringSchema |
object |
Property stringSchema: Create a table with field names and field type strings. |
Name
Required
public object Name { get; set; }
- Type: object
Property name: Table name.
Project
Required
public object Project { get; set; }
- Type: object
Property project: Project name, if not provided, will be the default project.
Comment
Optional
public object Comment { get; set; }
- Type: object
Property comment: Table comment.
IfNotExists
Optional
public object IfNotExists { get; set; }
- Type: object
Property ifNotExists: If you create a table by using the name of an existing table and the parameter set to false, an error is returned.
If you specify the if not exists parameter, a success message is returned when you create a table by using the name of an existing table. The success message is returned even if the schema of the existing table is different from that of the table you want to create. If you create a table by using the name of an existing table, the table is not created and the metadata of the existing table is not changed.
Lifecycle
Optional
public object Lifecycle { get; set; }
- Type: object
Property lifecycle: Table's lifecycle.
Schema
Optional
public object Schema { get; set; }
- Type: object
Property schema: Table schema.
StringSchema
Optional
public object StringSchema { get; set; }
- Type: object
Property stringSchema: Create a table with field names and field type strings.
Example: 'num bigint, num2 double', 'pt string'