Class NonEmptyDomain
Represents the non-empty domain of all dimensions of an Array.
Namespace: TileDB.CSharp
Assembly: TileDB.CSharp.dll
Syntax
public class NonEmptyDomain
Methods
| Edit this page View SourceAdd<T>(string, T?)
Adds a value to the NonEmptyDomain.
Declaration
public void Add<T>(string key, T? value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The dimension's name. |
| T | value | The dimension's non-empty domain. |
Type Parameters
| Name | Description |
|---|---|
| T | The dimension's type. Usually is Tuple<T1, T2> of a primitive integer type or string. |
Get<T>(string)
Gets the non-empty domain of a dimension.
Declaration
public T Get<T>(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The dimension's name. |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T | The dimension's type. Usually is Tuple<T1, T2> of a primitive integer type or string. |
TryGet<T>(string, out T?)
Tries to get the non-empty domain of a dimension, if it exists.
Declaration
public bool TryGet<T>(string key, out T? value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The dimension's name. |
| T | value | A reference where the dimension's non-empty domain will be written to. |
Returns
| Type | Description |
|---|---|
| bool | Whether a dimension named |
Type Parameters
| Name | Description |
|---|---|
| T | The dimension's type. Usually is Tuple<T1, T2> of a primitive integer type or string. |