Show / Hide Table of Contents

Class NonEmptyDomain

Represents the non-empty domain of all dimensions of an Array.

Inheritance
object
NonEmptyDomain
Namespace: TileDB.CSharp
Assembly: TileDB.CSharp.dll
Syntax
public class NonEmptyDomain

Methods

| Edit this page View Source

Add<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.

| Edit this page View Source

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.

| Edit this page View Source

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 key has a non-empty domain.

Type Parameters
Name Description
T

The dimension's type. Usually is Tuple<T1, T2> of a primitive integer type or string.

  • Edit this page
  • View Source
In this article
Back to top Copyright © 2018-2023 TileDB Inc.