Documentation ¶
Index ¶
- type Cassandra
- func (c *Cassandra) BulkDelete(req []state.DeleteRequest) error
- func (c *Cassandra) BulkSet(req []state.SetRequest) error
- func (c *Cassandra) Delete(req *state.DeleteRequest) error
- func (c *Cassandra) Get(req *state.GetRequest) (*state.GetResponse, error)
- func (c *Cassandra) Init(metadata state.Metadata) error
- func (c *Cassandra) Set(req *state.SetRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cassandra ¶
type Cassandra struct {
// contains filtered or unexported fields
}
Cassandra is a state store implementation for Apache Cassandra
func NewCassandraStateStore ¶
NewCassandraStateStore returns a new cassandra state store
func (*Cassandra) BulkDelete ¶
func (c *Cassandra) BulkDelete(req []state.DeleteRequest) error
BulkDelete performs a bulk delete operation
func (*Cassandra) BulkSet ¶
func (c *Cassandra) BulkSet(req []state.SetRequest) error
BulkSet performs a bulks save operation
func (*Cassandra) Delete ¶
func (c *Cassandra) Delete(req *state.DeleteRequest) error
Delete performs a delete operation
func (*Cassandra) Get ¶
func (c *Cassandra) Get(req *state.GetRequest) (*state.GetResponse, error)
Get retrieves state from cassandra with a key
Click to show internal directories.
Click to hide internal directories.