Udostępnij za pośrednictwem


CassandraPartitionKey Class

Definition

Cosmos DB Cassandra table partition key.

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

Constructors

CassandraPartitionKey()

Initializes a new instance of CassandraPartitionKey.

Properties

Name

Name of the Cosmos DB Cassandra table partition key.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CassandraPartitionKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CassandraPartitionKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CassandraPartitionKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CassandraPartitionKey>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CassandraPartitionKey>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to