Show / Hide Table of Contents

Class ArraySchema

Represents a TileDB array schema object.

Inheritance
object
ArraySchema
Implements
IDisposable
Namespace: TileDB.CSharp
Assembly: TileDB.CSharp.dll
Syntax
public sealed class ArraySchema : IDisposable

Constructors

| Edit this page View Source

ArraySchema(Context, ArrayType)

Creates a new ArraySchema.

Declaration
public ArraySchema(Context ctx, ArrayType arrayType)
Parameters
Type Name Description
Context ctx

The Context associated with this schema.

ArrayType arrayType

The array's type.

Methods

| Edit this page View Source

AddAttribute(Attribute)

Adds an Attribute in the ArraySchema.

Declaration
public void AddAttribute(Attribute attr)
Parameters
Type Name Description
Attribute attr

The attribute to add.

| Edit this page View Source

AddAttributes(params Attribute[])

Adds an array of Attributes in the ArraySchema.

Declaration
public void AddAttributes(params Attribute[] attrs)
Parameters
Type Name Description
Attribute[] attrs

The attributes to add.

| Edit this page View Source

AddEnumeration(Enumeration)

Adds an Enumeration in the ArraySchema.

Declaration
public void AddEnumeration(Enumeration enumeration)
Parameters
Type Name Description
Enumeration enumeration

The enumeration to add.

| Edit this page View Source

AllowsDups()

Gets whether cells with duplicate coordinates are allowed in the ArraySchema.

Declaration
public bool AllowsDups()
Returns
Type Description
bool
Remarks

Applicable to only Sparse arrays.

| Edit this page View Source

ArrayType()

Gets the ArraySchema's ArrayType.

Declaration
public ArrayType ArrayType()
Returns
Type Description
ArrayType
| Edit this page View Source

Attribute(string)

Gets an Attribute from the ArraySchema by name.

Declaration
public Attribute Attribute(string name)
Parameters
Type Name Description
string name

The attribute's name.

Returns
Type Description
Attribute
| Edit this page View Source

Attribute(uint)

Gets an Attribute from the ArraySchema by index.

Declaration
public Attribute Attribute(uint i)
Parameters
Type Name Description
uint i

The attribute's index.

Returns
Type Description
Attribute
| Edit this page View Source

AttributeNum()

Gets the number of Attributes in the ArraySchema.

Declaration
public uint AttributeNum()
Returns
Type Description
uint
| Edit this page View Source

Attributes()

Gets a collection with all Attributes of the ArraySchema.

Declaration
public SortedDictionary<string, Attribute> Attributes()
Returns
Type Description
SortedDictionary<string, Attribute>
| Edit this page View Source

Capacity()

Gets the ArraySchema's sparse fragment capacity.

Declaration
public ulong Capacity()
Returns
Type Description
ulong
| Edit this page View Source

CellOrder()

Gets the ArraySchema's cell order.

Declaration
public LayoutType CellOrder()
Returns
Type Description
LayoutType
| Edit this page View Source

Check()

Performs validity checks in the ArraySchema.

Declaration
public void Check()
| Edit this page View Source

CoordsFilterList()

Gets the FilterList of filters that will be applied in the ArraySchema's coordinates.

Declaration
public FilterList CoordsFilterList()
Returns
Type Description
FilterList
| Edit this page View Source

Dimensions()

Gets a collection with all Dimensions of the ArraySchema.

Declaration
public SortedDictionary<string, Dimension> Dimensions()
Returns
Type Description
SortedDictionary<string, Dimension>
| Edit this page View Source

Dispose()

Disposes this ArraySchema

Declaration
public void Dispose()
| Edit this page View Source

Domain()

Gets the ArraySchema's Domain().

Declaration
public Domain Domain()
Returns
Type Description
Domain
| Edit this page View Source

FormatVersion()

Gets the ArraySchema's format version.

Declaration
public uint FormatVersion()
Returns
Type Description
uint
| Edit this page View Source

GetEnumeration(string)

Gets the Enumeration of the ArraySchema with the given name.

Declaration
public Enumeration GetEnumeration(string name)
Parameters
Type Name Description
string name

The name of the enumeration.

Returns
Type Description
Enumeration
| Edit this page View Source

GetEnumerationOfAttribute(string)

Gets the Enumeration attached to the Attribute of the ArraySchema with the given name.

Declaration
public Enumeration GetEnumerationOfAttribute(string name)
Parameters
Type Name Description
string name

The name of the attribute.

Returns
Type Description
Enumeration
| Edit this page View Source

HasAttribute(string)

Checks if an Attribute with the given name exists in the ArraySchema or not.

Declaration
public bool HasAttribute(string name)
Parameters
Type Name Description
string name

The name to check.

Returns
Type Description
bool
| Edit this page View Source

IsNullable(string)

Checks if an Attribute or Dimension in the ArraySchema is nullable.

Declaration
public bool IsNullable(string name)
Parameters
Type Name Description
string name

The attribute or dimension's name.

Returns
Type Description
bool
| Edit this page View Source

IsVarSize(string)

Checks if an Attribute or Dimension in the ArraySchema has variable size.

Declaration
public bool IsVarSize(string name)
Parameters
Type Name Description
string name

The attribute or dimension's name.

Returns
Type Description
bool
| Edit this page View Source

Load(Context, string)

Load an ArraySchema from a URI.

Declaration
public static ArraySchema Load(Context ctx, string uri)
Parameters
Type Name Description
Context ctx

The Context associated with this schema.

string uri

The array's URI.

Returns
Type Description
ArraySchema
| Edit this page View Source

OffsetsFilterList()

Gets the FilterList of filters that will be applied in the ArraySchema's offsets of variable-sized Attributes or Dimensions.

Declaration
public FilterList OffsetsFilterList()
Returns
Type Description
FilterList
| Edit this page View Source

SetAllowsDups(bool)

Sets whether cells with duplicate coordinates are allowed in the ArraySchema.

Declaration
public void SetAllowsDups(bool allowsDups)
Parameters
Type Name Description
bool allowsDups
Remarks

Applicable to only Sparse arrays.

| Edit this page View Source

SetCapacity(ulong)

Sets the ArraySchema's sparse fragment capacity.

Declaration
public void SetCapacity(ulong capacity)
Parameters
Type Name Description
ulong capacity

The capacity.

| Edit this page View Source

SetCellOrder(LayoutType)

Sets the ArraySchema's cell order.

Declaration
public void SetCellOrder(LayoutType layoutType)
Parameters
Type Name Description
LayoutType layoutType

The cell order.

| Edit this page View Source

SetCoordsFilterList(FilterList)

Sets the FilterList of filters that will be applied in the ArraySchema's coordinates.

Declaration
public void SetCoordsFilterList(FilterList filterList)
Parameters
Type Name Description
FilterList filterList

The filter list.

| Edit this page View Source

SetDomain(Domain)

Sets the ArraySchema's Domain().

Declaration
public void SetDomain(Domain domain)
Parameters
Type Name Description
Domain domain

The domain to set

| Edit this page View Source

SetOffsetsFilterList(FilterList)

Sets the FilterList of filters that will be applied in the ArraySchema's offsets of variable-sized Attributes or Dimensions.

Declaration
public void SetOffsetsFilterList(FilterList filterList)
Parameters
Type Name Description
FilterList filterList

The filter list.

| Edit this page View Source

SetTileOrder(LayoutType)

Sets the ArraySchema's tile order.

Declaration
public void SetTileOrder(LayoutType layoutType)
Parameters
Type Name Description
LayoutType layoutType

The tile order.

| Edit this page View Source

SetValidityFilterList(FilterList)

Sets the FilterList of filters that will be applied in the ArraySchema's the validity array of nullable Attribute values.

Declaration
public void SetValidityFilterList(FilterList filterList)
Parameters
Type Name Description
FilterList filterList

The filter list.

| Edit this page View Source

TileOrder()

Gets the ArraySchema's tile order.

Declaration
public LayoutType TileOrder()
Returns
Type Description
LayoutType
| Edit this page View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()
| Edit this page View Source

ValidityFilterList()

Gets the FilterList of filters that will be applied in the ArraySchema's the validity array of nullable Attribute values.

Declaration
public FilterList ValidityFilterList()
Returns
Type Description
FilterList

Implements

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