Documentation ¶
Index ¶
- func NewIter() ecql.Iter
- func NewSession() ecql.Session
- func NewStatement() ecql.Statement
- type Batch
- type Iter
- type Session
- func (m *Session) Batch() ecql.Batch
- func (m *Session) Count(i interface{}) ecql.Statement
- func (m *Session) Del(i interface{}) error
- func (m *Session) Delete(i interface{}) ecql.Statement
- func (m *Session) Exists(i interface{}) (bool, error)
- func (m *Session) Get(i interface{}, keys ...interface{}) error
- func (m *Session) Insert(i interface{}) ecql.Statement
- func (m *Session) Query(stmt string, args ...interface{}) *gocql.Query
- func (m *Session) Select(i interface{}) ecql.Statement
- func (m *Session) Set(i interface{}) error
- func (m *Session) Update(i interface{}) ecql.Statement
- type Statement
- func (m *Statement) AllowFiltering() ecql.Statement
- func (m *Statement) Bind(i interface{}) ecql.Statement
- func (m *Statement) BuildQuery() (string, []interface{})
- func (m *Statement) Columns(columns ...string) ecql.Statement
- func (m *Statement) Do(cmd ecql.Command) ecql.Statement
- func (m *Statement) Exec() error
- func (m *Statement) From(table string) ecql.Statement
- func (m *Statement) FromType(i interface{}) ecql.Statement
- func (m *Statement) IfExists() ecql.Statement
- func (m *Statement) IfNotExists() ecql.Statement
- func (m *Statement) Iter() ecql.Iter
- func (m *Statement) Limit(n int) ecql.Statement
- func (m *Statement) Map(i interface{}) ecql.Statement
- func (m *Statement) OrderBy(order ...ecql.OrderBy) ecql.Statement
- func (m *Statement) Scan(i ...interface{}) error
- func (m *Statement) Set(column string, value interface{}) ecql.Statement
- func (m *Statement) TTL(seconds int) ecql.Statement
- func (m *Statement) Timestamp(microseconds int64) ecql.Statement
- func (m *Statement) TypeScan() error
- func (m *Statement) Where(cond ...ecql.Condition) ecql.Statement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSession ¶
func NewStatement ¶
Types ¶
type Batch ¶
type Batch struct {
mock.Mock
}
Batch is a mock implementation of the Batch interface
type Statement ¶
type Statement struct {
mock.Mock
}
func (*Statement) AllowFiltering ¶
func (*Statement) BuildQuery ¶
func (*Statement) IfNotExists ¶
Click to show internal directories.
Click to hide internal directories.