Class TableDDLOptions
Represents options for table DDL passed to methods
ExecuteTableDDLAsync
ExecuteTableDDLWithCompletionAsync,
SetTableLimitsAsync(String, TableLimits, TableDDLOptions, CancellationToken),
SetTableLimitsWithCompletionAsync(String, TableLimits, TableDDLOptions, CancellationToken),
SetTableTagsAsync(String, IDictionary<String, IDictionary<String, String>>, IDictionary<String, String>, TableDDLOptions, CancellationToken) and
SetTableTagsWithCompletionAsync(String, IDictionary<String, IDictionary<String, String>>, IDictionary<String, String>, TableDDLOptions, CancellationToken),
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class TableDDLOptions : Object
Remarks
For properties not specified or
null,
appropriate defaults will be used as indicated below.
Examples
Executing table DDL with provided TableDDLOptions.var result = await client.ExecuteTableDDLWithCompletionAsync(
"CREATE TABLE MyTable(id LONG, name STRING, PRIMARY KEY(id)",
new TableDDLOptions
{
Compartment = "my_compartment",
Timeout = TimeSpan.FromSeconds(30),
TableLimits = new TableLimits(100, 200, 100)
});
Constructors
| Name | Description |
|---|---|
| TableDDLOptions() |
Properties
| Name | Description |
|---|---|
| Compartment | Cloud service only. Gets or sets the compartment id or name for the operation. |
| DefinedTags | Cloud Service Only. Gets or sets defined tags to use for the operation. |
| FreeFormTags | Cloud Service Only. Gets or sets free-form tags to use for the operation. |
| MatchETag | Cloud Service only. Gets or sets the entity tag that must be matched for operation to proceed. |
| Namespace | On-premises only. Gets or sets the optional namespace. |
| PollDelay | Gets or sets the poll delay for polling when asynchronously waiting for operation completion. |
| TableLimits | Cloud Service/Cloud Simulator only. Gets or sets the table limits for the operation. |
| Timeout | Gets or sets the timeout for the operation. |