Documentation ¶
Index ¶
- func NewCassandraStateStore(logger logger.Logger) state.Store
- type Cassandra
- func (c *Cassandra) Delete(ctx context.Context, req *state.DeleteRequest) error
- func (c *Cassandra) Features() []state.Feature
- func (c *Cassandra) Get(ctx context.Context, req *state.GetRequest) (*state.GetResponse, error)
- func (c *Cassandra) GetComponentMetadata() map[string]string
- func (c *Cassandra) Init(metadata state.Metadata) error
- func (c *Cassandra) Set(ctx context.Context, req *state.SetRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cassandra ¶
type Cassandra struct { state.DefaultBulkStore // contains filtered or unexported fields }
Cassandra is a state store implementation for Apache Cassandra.
func (*Cassandra) Features ¶ added in v1.1.1
Features returns the features available in this state store.
func (*Cassandra) Get ¶
func (c *Cassandra) Get(ctx context.Context, req *state.GetRequest) (*state.GetResponse, error)
Get retrieves state from cassandra with a key.
func (*Cassandra) GetComponentMetadata ¶ added in v1.10.1
Click to show internal directories.
Click to hide internal directories.