Table of Contents

Class GetTableOptions

Namespace
DataStax.AstraDB.DataApi.Core
Assembly
DataStax.AstraDB.DataApi.dll

Command options specific to the database GetTable methods.

public class GetTableOptions : DatabaseCommandOptions
Inheritance
GetTableOptions
Derived
Inherited Members

Properties

AWSEmbeddingAPIKey

When specified, the client will send the authentication parameters required for AWS embedding providers (Access ID and Secret ID) with each table request, via HTTP headers.

public AWSEmbeddingAPIKeyDescriptor AWSEmbeddingAPIKey { get; set; }

Property Value

AWSEmbeddingAPIKeyDescriptor

Examples

// When creating a table:
var table = await Database.CreateTableAsync<MyRowClass>(
    new CreateTableOptions() {
        AWSEmbeddingAPIKey = new () { EmbeddingAccessId = "..." , EmbeddingSecretId = "..." }
    }
);
// Similarly for getting a table:
var table = Database.GetTable<MyRowClass>(
    new GetTableOptions() {
        AWSEmbeddingAPIKey = new () { EmbeddingAccessId = "..." , EmbeddingSecretId = "..." }
    }
);

EmbeddingAPIKey

When specified, the client will send the x-embedding-api-key header with the specified key to any underlying HTTP request that requires vectorize authentication.

public string EmbeddingAPIKey { get; set; }

Property Value

string