cassandra

package
v1.10.0-rc.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCassandraStateStore

func NewCassandraStateStore(logger logger.Logger) state.Store

NewCassandraStateStore returns a new cassandra state store.

Types

type Cassandra

type Cassandra struct {
	state.DefaultBulkStore
	// contains filtered or unexported fields
}

Cassandra is a state store implementation for Apache Cassandra.

func (*Cassandra) Delete

func (c *Cassandra) Delete(ctx context.Context, req *state.DeleteRequest) error

Delete performs a delete operation.

func (*Cassandra) Features added in v1.1.1

func (c *Cassandra) Features() []state.Feature

Features returns the features available in this state store.

func (*Cassandra) Get

Get retrieves state from cassandra with a key.

func (*Cassandra) GetComponentMetadata added in v1.10.1

func (c *Cassandra) GetComponentMetadata() map[string]string

func (*Cassandra) Init

func (c *Cassandra) Init(metadata state.Metadata) error

Init performs metadata and connection parsing.

func (*Cassandra) Set

func (c *Cassandra) Set(ctx context.Context, req *state.SetRequest) error

Set saves state into cassandra.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL