Documentation ¶
Index ¶
- type Iterator
- type Query
- func (_m *Query) Bind(v ...interface{}) cassandra.Query
- func (_m *Query) Consistency(level cassandra.Consistency) cassandra.Query
- func (_m *Query) Exec() error
- func (_m *Query) Iter() cassandra.Iterator
- func (_m *Query) PageSize(_a0 int) cassandra.Query
- func (_m *Query) ScanCAS(dest ...interface{}) (bool, error)
- func (_m *Query) String() string
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
Iterator is an autogenerated mock type for the Iterator type
func NewIterator ¶ added in v1.59.0
NewIterator creates a new instance of Iterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type Query ¶
Query is an autogenerated mock type for the Query type
func NewQuery ¶ added in v1.59.0
NewQuery creates a new instance of Query. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Query) Consistency ¶
func (_m *Query) Consistency(level cassandra.Consistency) cassandra.Query
Consistency provides a mock function with given fields: level
type Session ¶
Session is an autogenerated mock type for the Session type
func NewSession ¶ added in v1.59.0
NewSession creates a new instance of Session. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.