CassandraSchema Class

Definition

Cosmos DB Cassandra table schema.

public class CassandraSchema : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CassandraSchema>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CassandraSchema>
type CassandraSchema = class
    interface IJsonModel<CassandraSchema>
    interface IPersistableModel<CassandraSchema>
Public Class CassandraSchema
Implements IJsonModel(Of CassandraSchema), IPersistableModel(Of CassandraSchema)
Inheritance
CassandraSchema
Implements

Constructors

CassandraSchema()

Initializes a new instance of CassandraSchema.

Properties

ClusterKeys

List of cluster key.

Columns

List of Cassandra table columns.

PartitionKeys

List of partition key.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CassandraSchema>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CassandraSchema>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CassandraSchema>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CassandraSchema>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CassandraSchema>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to