cqlc

package
v0.0.0-...-a38edf9 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 License: Apache-2.0 Imports: 10 Imported by: 8

Documentation

Overview

cqlc generates Go code from your Cassandra schema so that you can write type safe CQL statements in Go with a natural query syntax.

For a full guide visit http://relops.com/cqlc

var FOO = FooTableDef()

iter, err := ctx.Select(FOO.BAR).
                 From(FOO).
                 Where(FOO.BAZ.Eq("x")).
                 Fetch(session)

var foos []Foo = BindFoos(iter)

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCASBindings = errors.New("Invalid CAS bindings")
)

Functions

func BuildStatement

func BuildStatement(c *Context) (stmt string, placeHolders []interface{}, err error)

func Truncate

func Truncate(s *gocql.Session, t Table) error

Types

type Bindable

type Bindable interface {
	Bind(cols ...ColumnBinding) UniqueFetchable
	// Into sets the target binding to fetch the result of a single row query into
	Into(TableBinding) UniqueFetchable
}

type BindingError

type BindingError string

func (BindingError) Error

func (m BindingError) Error() string

type BooleanBooleanMapColumn

type BooleanBooleanMapColumn interface {
	Column
}

type BooleanBytesMapColumn

type BooleanBytesMapColumn interface {
	Column
}

type BooleanColumn

type BooleanColumn interface {
	Column
	To(value *bool) ColumnBinding
}

type BooleanDecimalMapColumn

type BooleanDecimalMapColumn interface {
	Column
}

type BooleanFloat32MapColumn

type BooleanFloat32MapColumn interface {
	Column
}

type BooleanFloat64MapColumn

type BooleanFloat64MapColumn interface {
	Column
}

type BooleanInt32MapColumn

type BooleanInt32MapColumn interface {
	Column
}

type BooleanInt64MapColumn

type BooleanInt64MapColumn interface {
	Column
}

type BooleanSliceColumn

type BooleanSliceColumn interface {
	ListColumn
	To(value *[]bool) ColumnBinding
}

type BooleanStringMapColumn

type BooleanStringMapColumn interface {
	Column
}

type BooleanTimeUUIDMapColumn

type BooleanTimeUUIDMapColumn interface {
	Column
}

type BooleanTimestampMapColumn

type BooleanTimestampMapColumn interface {
	Column
}

type BooleanUUIDMapColumn

type BooleanUUIDMapColumn interface {
	Column
}

type BooleanVarintMapColumn

type BooleanVarintMapColumn interface {
	Column
}

type BytesColumn

type BytesColumn interface {
	Column
	To(value *[]byte) ColumnBinding
}

type BytesSliceColumn

type BytesSliceColumn interface {
	ListColumn
	To(value *[][]byte) ColumnBinding
}

type ClusteredBooleanColumn

type ClusteredBooleanColumn interface {
	ClusteredColumn
	EqualityBooleanColumn
	Gt(value bool) Condition
	Lt(value bool) Condition
	Ge(value bool) Condition
	Le(value bool) Condition
}

type ClusteredBytesColumn

type ClusteredBytesColumn interface {
	ClusteredColumn
	EqualityBytesColumn
	Gt(value []byte) Condition
	Lt(value []byte) Condition
	Ge(value []byte) Condition
	Le(value []byte) Condition
}

type ClusteredColumn

type ClusteredColumn interface {
	// Returns the column name that a column family is clustered with.
	ClusterWith() string
	// This specifies descending ORDER BY for the column.
	// If this method is not called, it an ascending order will be assumed.
	Desc() ClusteredColumn
	// Denotes whether a descending order should be applied
	IsDescending() bool
}

ClusteredColumn is a marker interface to denote that a column is clustered.

type ClusteredDecimalColumn

type ClusteredDecimalColumn interface {
	ClusteredColumn
	EqualityDecimalColumn
	Gt(value *inf.Dec) Condition
	Lt(value *inf.Dec) Condition
	Ge(value *inf.Dec) Condition
	Le(value *inf.Dec) Condition
}

type ClusteredFloat32Column

type ClusteredFloat32Column interface {
	ClusteredColumn
	EqualityFloat32Column
	Gt(value float32) Condition
	Lt(value float32) Condition
	Ge(value float32) Condition
	Le(value float32) Condition
}

type ClusteredFloat64Column

type ClusteredFloat64Column interface {
	ClusteredColumn
	EqualityFloat64Column
	Gt(value float64) Condition
	Lt(value float64) Condition
	Ge(value float64) Condition
	Le(value float64) Condition
}

type ClusteredInt32Column

type ClusteredInt32Column interface {
	ClusteredColumn
	EqualityInt32Column
	Gt(value int32) Condition
	Lt(value int32) Condition
	Ge(value int32) Condition
	Le(value int32) Condition
}

type ClusteredInt64Column

type ClusteredInt64Column interface {
	ClusteredColumn
	EqualityInt64Column
	Gt(value int64) Condition
	Lt(value int64) Condition
	Ge(value int64) Condition
	Le(value int64) Condition
}

type ClusteredStringColumn

type ClusteredStringColumn interface {
	ClusteredColumn
	EqualityStringColumn
	Gt(value string) Condition
	Lt(value string) Condition
	Ge(value string) Condition
	Le(value string) Condition
}

type ClusteredTimeUUIDColumn

type ClusteredTimeUUIDColumn interface {
	ClusteredColumn
	EqualityTimeUUIDColumn
	Gt(value gocql.UUID) Condition
	Lt(value gocql.UUID) Condition
	Ge(value gocql.UUID) Condition
	Le(value gocql.UUID) Condition
}

type ClusteredTimestampColumn

type ClusteredTimestampColumn interface {
	ClusteredColumn
	EqualityTimestampColumn
	Gt(value time.Time) Condition
	Lt(value time.Time) Condition
	Ge(value time.Time) Condition
	Le(value time.Time) Condition
}

type ClusteredUUIDColumn

type ClusteredUUIDColumn interface {
	ClusteredColumn
	EqualityUUIDColumn
	Gt(value gocql.UUID) Condition
	Lt(value gocql.UUID) Condition
	Ge(value gocql.UUID) Condition
	Le(value gocql.UUID) Condition
}

type ClusteredVarintColumn

type ClusteredVarintColumn interface {
	ClusteredColumn
	EqualityVarintColumn
	Gt(value *big.Int) Condition
	Lt(value *big.Int) Condition
	Ge(value *big.Int) Condition
	Le(value *big.Int) Condition
}

type CollectionOperationType

type CollectionOperationType int
const (
	Noop CollectionOperationType = iota
	Append
	Prepend
	RemoveByValue
)

type CollectionType

type CollectionType int
const (
	NoCollectionType CollectionType = iota
	ListType
	SetType
	MapType
)

type Column

type Column interface {
	ColumnName() string
}

type ColumnBinding

type ColumnBinding struct {
	Column Column
	Value  interface{}
	// If Incremental is true, this column should be interpreted as an incremental operation on a collection column
	Incremental             bool
	CollectionType          CollectionType
	CollectionOperationType CollectionOperationType
}

type CompareAndSwap

type CompareAndSwap interface {
	Swap(*gocql.Session) (bool, error)
}

type Condition

type Condition struct {
	Binding   ColumnBinding
	Predicate PredicateType
}

type Context

type Context struct {
	Operation      OperationType
	Table          Table
	Columns        []Column
	Bindings       []ColumnBinding
	CASBindings    []ColumnBinding
	Conditions     []Condition
	ResultBindings map[string]ColumnBinding
	// Debug flag will cause all CQL statements to get logged
	Debug       bool
	ReadOptions *ReadOptions
	// Setting Keyspace to a non-zero value will cause CQL statements to be qualified by this keyspace.
	Keyspace string
	// Setting StaticKeyspace to true will cause the generated CQL to be qualified by the keyspace the code was generated against.
	StaticKeyspace bool
}

Context represents the state of the CQL statement that is being built by the application.

func NewContext

func NewContext() *Context

NewContext creates a fresh Context instance. If you want statement debugging, set the Debug property to true

func (*Context) Add

func (c *Context) Add(b TableBinding) Executable

Convenience method to generate CQL counter updates. This generates CQL SET clauses for each of the counter columns and CQL WHERE clauses for each of the key columns.

func (*Context) AppendBooleanSlice

func (c *Context) AppendBooleanSlice(col BooleanSliceColumn, values ...bool) SetValueStep

func (*Context) AppendBytesSlice

func (c *Context) AppendBytesSlice(col BytesSliceColumn, values ...[]byte) SetValueStep

func (*Context) AppendDecimalSlice

func (c *Context) AppendDecimalSlice(col DecimalSliceColumn, values ...*inf.Dec) SetValueStep

func (*Context) AppendFloat32Slice

func (c *Context) AppendFloat32Slice(col Float32SliceColumn, values ...float32) SetValueStep

func (*Context) AppendFloat64Slice

func (c *Context) AppendFloat64Slice(col Float64SliceColumn, values ...float64) SetValueStep

func (*Context) AppendInt32Slice

func (c *Context) AppendInt32Slice(col Int32SliceColumn, values ...int32) SetValueStep

func (*Context) AppendInt64Slice

func (c *Context) AppendInt64Slice(col Int64SliceColumn, values ...int64) SetValueStep

func (*Context) AppendStringSlice

func (c *Context) AppendStringSlice(col StringSliceColumn, values ...string) SetValueStep

func (*Context) AppendTimeUUIDSlice

func (c *Context) AppendTimeUUIDSlice(col TimeUUIDSliceColumn, values ...gocql.UUID) SetValueStep

func (*Context) AppendTimestampSlice

func (c *Context) AppendTimestampSlice(col TimestampSliceColumn, values ...time.Time) SetValueStep

func (*Context) AppendUUIDSlice

func (c *Context) AppendUUIDSlice(col UUIDSliceColumn, values ...gocql.UUID) SetValueStep

func (*Context) AppendVarintSlice

func (c *Context) AppendVarintSlice(col VarintSliceColumn, values ...*big.Int) SetValueStep

func (*Context) Apply

func (c *Context) Apply(cols ...ColumnBinding) SetValueStep

Adds each column binding as a `SET col = ?` fragment in the resulting CQL

func (*Context) Batch

func (c *Context) Batch(b *gocql.Batch) error

func (*Context) Bind

func (c *Context) Bind(cols ...ColumnBinding) UniqueFetchable

func (*Context) Delete

func (c *Context) Delete(cols ...Column) SelectFromStep

func (*Context) Dispose

func (c *Context) Dispose()

func (*Context) Exec

func (c *Context) Exec(s *gocql.Session) error

func (*Context) Fetch

func (c *Context) Fetch(s *gocql.Session) (*gocql.Iter, error)

func (*Context) FetchOne

func (c *Context) FetchOne(s *gocql.Session) (bool, error)

func (*Context) From

func (c *Context) From(t Table) SelectWhereStep

func (*Context) Having

func (c *Context) Having(cond ...Condition) Executable

func (*Context) IfExists

func (c *Context) IfExists(cols ...ColumnBinding) CompareAndSwap

Adds column bindings whose values will nbe populated if a CAS operation is applied.

func (*Context) Increment

func (c *Context) Increment(col CounterColumn, value int64) IncrementCounterStep

func (*Context) Into

func (*Context) Limit

func (c *Context) Limit(lim int) Fetchable

func (*Context) OrderBy

func (c *Context) OrderBy(cols ...ClusteredColumn) Fetchable

func (*Context) Prepare

func (c *Context) Prepare(s *gocql.Session) (*gocql.Query, error)

func (*Context) PrependBooleanSlice

func (c *Context) PrependBooleanSlice(col BooleanSliceColumn, values ...bool) SetValueStep

func (*Context) PrependBytesSlice

func (c *Context) PrependBytesSlice(col BytesSliceColumn, values ...[]byte) SetValueStep

func (*Context) PrependDecimalSlice

func (c *Context) PrependDecimalSlice(col DecimalSliceColumn, values ...*inf.Dec) SetValueStep

func (*Context) PrependFloat32Slice

func (c *Context) PrependFloat32Slice(col Float32SliceColumn, values ...float32) SetValueStep

func (*Context) PrependFloat64Slice

func (c *Context) PrependFloat64Slice(col Float64SliceColumn, values ...float64) SetValueStep

func (*Context) PrependInt32Slice

func (c *Context) PrependInt32Slice(col Int32SliceColumn, values ...int32) SetValueStep

func (*Context) PrependInt64Slice

func (c *Context) PrependInt64Slice(col Int64SliceColumn, values ...int64) SetValueStep

func (*Context) PrependStringSlice

func (c *Context) PrependStringSlice(col StringSliceColumn, values ...string) SetValueStep

func (*Context) PrependTimeUUIDSlice

func (c *Context) PrependTimeUUIDSlice(col TimeUUIDSliceColumn, values ...gocql.UUID) SetValueStep

func (*Context) PrependTimestampSlice

func (c *Context) PrependTimestampSlice(col TimestampSliceColumn, values ...time.Time) SetValueStep

func (*Context) PrependUUIDSlice

func (c *Context) PrependUUIDSlice(col UUIDSliceColumn, values ...gocql.UUID) SetValueStep

func (*Context) PrependVarintSlice

func (c *Context) PrependVarintSlice(col VarintSliceColumn, values ...*big.Int) SetValueStep

func (*Context) RemoveBooleanSlice

func (c *Context) RemoveBooleanSlice(col BooleanSliceColumn, values ...bool) SetValueStep

func (*Context) RemoveBytesSlice

func (c *Context) RemoveBytesSlice(col BytesSliceColumn, values ...[]byte) SetValueStep

func (*Context) RemoveDecimalSlice

func (c *Context) RemoveDecimalSlice(col DecimalSliceColumn, values ...*inf.Dec) SetValueStep

func (*Context) RemoveFloat32Slice

func (c *Context) RemoveFloat32Slice(col Float32SliceColumn, values ...float32) SetValueStep

func (*Context) RemoveFloat64Slice

func (c *Context) RemoveFloat64Slice(col Float64SliceColumn, values ...float64) SetValueStep

func (*Context) RemoveInt32Slice

func (c *Context) RemoveInt32Slice(col Int32SliceColumn, values ...int32) SetValueStep

func (*Context) RemoveInt64Slice

func (c *Context) RemoveInt64Slice(col Int64SliceColumn, values ...int64) SetValueStep

func (*Context) RemoveStringSlice

func (c *Context) RemoveStringSlice(col StringSliceColumn, values ...string) SetValueStep

func (*Context) RemoveTimeUUIDSlice

func (c *Context) RemoveTimeUUIDSlice(col TimeUUIDSliceColumn, values ...gocql.UUID) SetValueStep

func (*Context) RemoveTimestampSlice

func (c *Context) RemoveTimestampSlice(col TimestampSliceColumn, values ...time.Time) SetValueStep

func (*Context) RemoveUUIDSlice

func (c *Context) RemoveUUIDSlice(col UUIDSliceColumn, values ...gocql.UUID) SetValueStep

func (*Context) RemoveVarintSlice

func (c *Context) RemoveVarintSlice(col VarintSliceColumn, values ...*big.Int) SetValueStep

func (*Context) RenderCQL

func (c *Context) RenderCQL() (string, error)

TODO Make this private, since we should be able to test against BuildStatement()

func (*Context) Select

func (c *Context) Select(cols ...Column) SelectFromStep

func (*Context) SelectDistinct

func (c *Context) SelectDistinct(col PartitionedColumn) SelectFromStep

func (*Context) SetBoolean

func (c *Context) SetBoolean(col BooleanColumn, value bool) SetValueStep

func (*Context) SetBooleanBooleanMap

func (c *Context) SetBooleanBooleanMap(col BooleanBooleanMapColumn, value map[bool]bool) SetValueStep

func (*Context) SetBooleanBytesMap

func (c *Context) SetBooleanBytesMap(col BooleanBytesMapColumn, value map[bool][]byte) SetValueStep

func (*Context) SetBooleanDecimalMap

func (c *Context) SetBooleanDecimalMap(col BooleanDecimalMapColumn, value map[bool]*inf.Dec) SetValueStep

func (*Context) SetBooleanFloat32Map

func (c *Context) SetBooleanFloat32Map(col BooleanFloat32MapColumn, value map[bool]float32) SetValueStep

func (*Context) SetBooleanFloat64Map

func (c *Context) SetBooleanFloat64Map(col BooleanFloat64MapColumn, value map[bool]float64) SetValueStep

func (*Context) SetBooleanInt32Map

func (c *Context) SetBooleanInt32Map(col BooleanInt32MapColumn, value map[bool]int32) SetValueStep

func (*Context) SetBooleanInt64Map

func (c *Context) SetBooleanInt64Map(col BooleanInt64MapColumn, value map[bool]int64) SetValueStep

func (*Context) SetBooleanSlice

func (c *Context) SetBooleanSlice(col BooleanSliceColumn, value []bool) SetValueStep

func (*Context) SetBooleanStringMap

func (c *Context) SetBooleanStringMap(col BooleanStringMapColumn, value map[bool]string) SetValueStep

func (*Context) SetBooleanTimeUUIDMap

func (c *Context) SetBooleanTimeUUIDMap(col BooleanTimeUUIDMapColumn, value map[bool]gocql.UUID) SetValueStep

func (*Context) SetBooleanTimestampMap

func (c *Context) SetBooleanTimestampMap(col BooleanTimestampMapColumn, value map[bool]time.Time) SetValueStep

func (*Context) SetBooleanUUIDMap

func (c *Context) SetBooleanUUIDMap(col BooleanUUIDMapColumn, value map[bool]gocql.UUID) SetValueStep

func (*Context) SetBooleanVarintMap

func (c *Context) SetBooleanVarintMap(col BooleanVarintMapColumn, value map[bool]*big.Int) SetValueStep

func (*Context) SetBytes

func (c *Context) SetBytes(col BytesColumn, value []byte) SetValueStep

func (*Context) SetBytesSlice

func (c *Context) SetBytesSlice(col BytesSliceColumn, value [][]byte) SetValueStep

func (*Context) SetDecimal

func (c *Context) SetDecimal(col DecimalColumn, value *inf.Dec) SetValueStep

func (*Context) SetDecimalBooleanMap

func (c *Context) SetDecimalBooleanMap(col DecimalBooleanMapColumn, value map[*inf.Dec]bool) SetValueStep

func (*Context) SetDecimalBytesMap

func (c *Context) SetDecimalBytesMap(col DecimalBytesMapColumn, value map[*inf.Dec][]byte) SetValueStep

func (*Context) SetDecimalDecimalMap

func (c *Context) SetDecimalDecimalMap(col DecimalDecimalMapColumn, value map[*inf.Dec]*inf.Dec) SetValueStep

func (*Context) SetDecimalFloat32Map

func (c *Context) SetDecimalFloat32Map(col DecimalFloat32MapColumn, value map[*inf.Dec]float32) SetValueStep

func (*Context) SetDecimalFloat64Map

func (c *Context) SetDecimalFloat64Map(col DecimalFloat64MapColumn, value map[*inf.Dec]float64) SetValueStep

func (*Context) SetDecimalInt32Map

func (c *Context) SetDecimalInt32Map(col DecimalInt32MapColumn, value map[*inf.Dec]int32) SetValueStep

func (*Context) SetDecimalInt64Map

func (c *Context) SetDecimalInt64Map(col DecimalInt64MapColumn, value map[*inf.Dec]int64) SetValueStep

func (*Context) SetDecimalSlice

func (c *Context) SetDecimalSlice(col DecimalSliceColumn, value []*inf.Dec) SetValueStep

func (*Context) SetDecimalStringMap

func (c *Context) SetDecimalStringMap(col DecimalStringMapColumn, value map[*inf.Dec]string) SetValueStep

func (*Context) SetDecimalTimeUUIDMap

func (c *Context) SetDecimalTimeUUIDMap(col DecimalTimeUUIDMapColumn, value map[*inf.Dec]gocql.UUID) SetValueStep

func (*Context) SetDecimalTimestampMap

func (c *Context) SetDecimalTimestampMap(col DecimalTimestampMapColumn, value map[*inf.Dec]time.Time) SetValueStep

func (*Context) SetDecimalUUIDMap

func (c *Context) SetDecimalUUIDMap(col DecimalUUIDMapColumn, value map[*inf.Dec]gocql.UUID) SetValueStep

func (*Context) SetDecimalVarintMap

func (c *Context) SetDecimalVarintMap(col DecimalVarintMapColumn, value map[*inf.Dec]*big.Int) SetValueStep

func (*Context) SetFloat32

func (c *Context) SetFloat32(col Float32Column, value float32) SetValueStep

func (*Context) SetFloat32BooleanMap

func (c *Context) SetFloat32BooleanMap(col Float32BooleanMapColumn, value map[float32]bool) SetValueStep

func (*Context) SetFloat32BytesMap

func (c *Context) SetFloat32BytesMap(col Float32BytesMapColumn, value map[float32][]byte) SetValueStep

func (*Context) SetFloat32DecimalMap

func (c *Context) SetFloat32DecimalMap(col Float32DecimalMapColumn, value map[float32]*inf.Dec) SetValueStep

func (*Context) SetFloat32Float32Map

func (c *Context) SetFloat32Float32Map(col Float32Float32MapColumn, value map[float32]float32) SetValueStep

func (*Context) SetFloat32Float64Map

func (c *Context) SetFloat32Float64Map(col Float32Float64MapColumn, value map[float32]float64) SetValueStep

func (*Context) SetFloat32Int32Map

func (c *Context) SetFloat32Int32Map(col Float32Int32MapColumn, value map[float32]int32) SetValueStep

func (*Context) SetFloat32Int64Map

func (c *Context) SetFloat32Int64Map(col Float32Int64MapColumn, value map[float32]int64) SetValueStep

func (*Context) SetFloat32Slice

func (c *Context) SetFloat32Slice(col Float32SliceColumn, value []float32) SetValueStep

func (*Context) SetFloat32StringMap

func (c *Context) SetFloat32StringMap(col Float32StringMapColumn, value map[float32]string) SetValueStep

func (*Context) SetFloat32TimeUUIDMap

func (c *Context) SetFloat32TimeUUIDMap(col Float32TimeUUIDMapColumn, value map[float32]gocql.UUID) SetValueStep

func (*Context) SetFloat32TimestampMap

func (c *Context) SetFloat32TimestampMap(col Float32TimestampMapColumn, value map[float32]time.Time) SetValueStep

func (*Context) SetFloat32UUIDMap

func (c *Context) SetFloat32UUIDMap(col Float32UUIDMapColumn, value map[float32]gocql.UUID) SetValueStep

func (*Context) SetFloat32VarintMap

func (c *Context) SetFloat32VarintMap(col Float32VarintMapColumn, value map[float32]*big.Int) SetValueStep

func (*Context) SetFloat64

func (c *Context) SetFloat64(col Float64Column, value float64) SetValueStep

func (*Context) SetFloat64BooleanMap

func (c *Context) SetFloat64BooleanMap(col Float64BooleanMapColumn, value map[float64]bool) SetValueStep

func (*Context) SetFloat64BytesMap

func (c *Context) SetFloat64BytesMap(col Float64BytesMapColumn, value map[float64][]byte) SetValueStep

func (*Context) SetFloat64DecimalMap

func (c *Context) SetFloat64DecimalMap(col Float64DecimalMapColumn, value map[float64]*inf.Dec) SetValueStep

func (*Context) SetFloat64Float32Map

func (c *Context) SetFloat64Float32Map(col Float64Float32MapColumn, value map[float64]float32) SetValueStep

func (*Context) SetFloat64Float64Map

func (c *Context) SetFloat64Float64Map(col Float64Float64MapColumn, value map[float64]float64) SetValueStep

func (*Context) SetFloat64Int32Map

func (c *Context) SetFloat64Int32Map(col Float64Int32MapColumn, value map[float64]int32) SetValueStep

func (*Context) SetFloat64Int64Map

func (c *Context) SetFloat64Int64Map(col Float64Int64MapColumn, value map[float64]int64) SetValueStep

func (*Context) SetFloat64Slice

func (c *Context) SetFloat64Slice(col Float64SliceColumn, value []float64) SetValueStep

func (*Context) SetFloat64StringMap

func (c *Context) SetFloat64StringMap(col Float64StringMapColumn, value map[float64]string) SetValueStep

func (*Context) SetFloat64TimeUUIDMap

func (c *Context) SetFloat64TimeUUIDMap(col Float64TimeUUIDMapColumn, value map[float64]gocql.UUID) SetValueStep

func (*Context) SetFloat64TimestampMap

func (c *Context) SetFloat64TimestampMap(col Float64TimestampMapColumn, value map[float64]time.Time) SetValueStep

func (*Context) SetFloat64UUIDMap

func (c *Context) SetFloat64UUIDMap(col Float64UUIDMapColumn, value map[float64]gocql.UUID) SetValueStep

func (*Context) SetFloat64VarintMap

func (c *Context) SetFloat64VarintMap(col Float64VarintMapColumn, value map[float64]*big.Int) SetValueStep

func (*Context) SetInt32

func (c *Context) SetInt32(col Int32Column, value int32) SetValueStep

func (*Context) SetInt32BooleanMap

func (c *Context) SetInt32BooleanMap(col Int32BooleanMapColumn, value map[int32]bool) SetValueStep

func (*Context) SetInt32BytesMap

func (c *Context) SetInt32BytesMap(col Int32BytesMapColumn, value map[int32][]byte) SetValueStep

func (*Context) SetInt32DecimalMap

func (c *Context) SetInt32DecimalMap(col Int32DecimalMapColumn, value map[int32]*inf.Dec) SetValueStep

func (*Context) SetInt32Float32Map

func (c *Context) SetInt32Float32Map(col Int32Float32MapColumn, value map[int32]float32) SetValueStep

func (*Context) SetInt32Float64Map

func (c *Context) SetInt32Float64Map(col Int32Float64MapColumn, value map[int32]float64) SetValueStep

func (*Context) SetInt32Int32Map

func (c *Context) SetInt32Int32Map(col Int32Int32MapColumn, value map[int32]int32) SetValueStep

func (*Context) SetInt32Int64Map

func (c *Context) SetInt32Int64Map(col Int32Int64MapColumn, value map[int32]int64) SetValueStep

func (*Context) SetInt32Slice

func (c *Context) SetInt32Slice(col Int32SliceColumn, value []int32) SetValueStep

func (*Context) SetInt32StringMap

func (c *Context) SetInt32StringMap(col Int32StringMapColumn, value map[int32]string) SetValueStep

func (*Context) SetInt32TimeUUIDMap

func (c *Context) SetInt32TimeUUIDMap(col Int32TimeUUIDMapColumn, value map[int32]gocql.UUID) SetValueStep

func (*Context) SetInt32TimestampMap

func (c *Context) SetInt32TimestampMap(col Int32TimestampMapColumn, value map[int32]time.Time) SetValueStep

func (*Context) SetInt32UUIDMap

func (c *Context) SetInt32UUIDMap(col Int32UUIDMapColumn, value map[int32]gocql.UUID) SetValueStep

func (*Context) SetInt32VarintMap

func (c *Context) SetInt32VarintMap(col Int32VarintMapColumn, value map[int32]*big.Int) SetValueStep

func (*Context) SetInt64

func (c *Context) SetInt64(col Int64Column, value int64) SetValueStep

func (*Context) SetInt64BooleanMap

func (c *Context) SetInt64BooleanMap(col Int64BooleanMapColumn, value map[int64]bool) SetValueStep

func (*Context) SetInt64BytesMap

func (c *Context) SetInt64BytesMap(col Int64BytesMapColumn, value map[int64][]byte) SetValueStep

func (*Context) SetInt64DecimalMap

func (c *Context) SetInt64DecimalMap(col Int64DecimalMapColumn, value map[int64]*inf.Dec) SetValueStep

func (*Context) SetInt64Float32Map

func (c *Context) SetInt64Float32Map(col Int64Float32MapColumn, value map[int64]float32) SetValueStep

func (*Context) SetInt64Float64Map

func (c *Context) SetInt64Float64Map(col Int64Float64MapColumn, value map[int64]float64) SetValueStep

func (*Context) SetInt64Int32Map

func (c *Context) SetInt64Int32Map(col Int64Int32MapColumn, value map[int64]int32) SetValueStep

func (*Context) SetInt64Int64Map

func (c *Context) SetInt64Int64Map(col Int64Int64MapColumn, value map[int64]int64) SetValueStep

func (*Context) SetInt64Slice

func (c *Context) SetInt64Slice(col Int64SliceColumn, value []int64) SetValueStep

func (*Context) SetInt64StringMap

func (c *Context) SetInt64StringMap(col Int64StringMapColumn, value map[int64]string) SetValueStep

func (*Context) SetInt64TimeUUIDMap

func (c *Context) SetInt64TimeUUIDMap(col Int64TimeUUIDMapColumn, value map[int64]gocql.UUID) SetValueStep

func (*Context) SetInt64TimestampMap

func (c *Context) SetInt64TimestampMap(col Int64TimestampMapColumn, value map[int64]time.Time) SetValueStep

func (*Context) SetInt64UUIDMap

func (c *Context) SetInt64UUIDMap(col Int64UUIDMapColumn, value map[int64]gocql.UUID) SetValueStep

func (*Context) SetInt64VarintMap

func (c *Context) SetInt64VarintMap(col Int64VarintMapColumn, value map[int64]*big.Int) SetValueStep

func (*Context) SetString

func (c *Context) SetString(col StringColumn, value string) SetValueStep

func (*Context) SetStringBooleanMap

func (c *Context) SetStringBooleanMap(col StringBooleanMapColumn, value map[string]bool) SetValueStep

func (*Context) SetStringBytesMap

func (c *Context) SetStringBytesMap(col StringBytesMapColumn, value map[string][]byte) SetValueStep

func (*Context) SetStringDecimalMap

func (c *Context) SetStringDecimalMap(col StringDecimalMapColumn, value map[string]*inf.Dec) SetValueStep

func (*Context) SetStringFloat32Map

func (c *Context) SetStringFloat32Map(col StringFloat32MapColumn, value map[string]float32) SetValueStep

func (*Context) SetStringFloat64Map

func (c *Context) SetStringFloat64Map(col StringFloat64MapColumn, value map[string]float64) SetValueStep

func (*Context) SetStringInt32Map

func (c *Context) SetStringInt32Map(col StringInt32MapColumn, value map[string]int32) SetValueStep

func (*Context) SetStringInt64Map

func (c *Context) SetStringInt64Map(col StringInt64MapColumn, value map[string]int64) SetValueStep

func (*Context) SetStringSlice

func (c *Context) SetStringSlice(col StringSliceColumn, value []string) SetValueStep

func (*Context) SetStringStringMap

func (c *Context) SetStringStringMap(col StringStringMapColumn, value map[string]string) SetValueStep

func (*Context) SetStringTimeUUIDMap

func (c *Context) SetStringTimeUUIDMap(col StringTimeUUIDMapColumn, value map[string]gocql.UUID) SetValueStep

func (*Context) SetStringTimestampMap

func (c *Context) SetStringTimestampMap(col StringTimestampMapColumn, value map[string]time.Time) SetValueStep

func (*Context) SetStringUUIDMap

func (c *Context) SetStringUUIDMap(col StringUUIDMapColumn, value map[string]gocql.UUID) SetValueStep

func (*Context) SetStringVarintMap

func (c *Context) SetStringVarintMap(col StringVarintMapColumn, value map[string]*big.Int) SetValueStep

func (*Context) SetTimeUUID

func (c *Context) SetTimeUUID(col TimeUUIDColumn, value gocql.UUID) SetValueStep

func (*Context) SetTimeUUIDBooleanMap

func (c *Context) SetTimeUUIDBooleanMap(col TimeUUIDBooleanMapColumn, value map[gocql.UUID]bool) SetValueStep

func (*Context) SetTimeUUIDBytesMap

func (c *Context) SetTimeUUIDBytesMap(col TimeUUIDBytesMapColumn, value map[gocql.UUID][]byte) SetValueStep

func (*Context) SetTimeUUIDDecimalMap

func (c *Context) SetTimeUUIDDecimalMap(col TimeUUIDDecimalMapColumn, value map[gocql.UUID]*inf.Dec) SetValueStep

func (*Context) SetTimeUUIDFloat32Map

func (c *Context) SetTimeUUIDFloat32Map(col TimeUUIDFloat32MapColumn, value map[gocql.UUID]float32) SetValueStep

func (*Context) SetTimeUUIDFloat64Map

func (c *Context) SetTimeUUIDFloat64Map(col TimeUUIDFloat64MapColumn, value map[gocql.UUID]float64) SetValueStep

func (*Context) SetTimeUUIDInt32Map

func (c *Context) SetTimeUUIDInt32Map(col TimeUUIDInt32MapColumn, value map[gocql.UUID]int32) SetValueStep

func (*Context) SetTimeUUIDInt64Map

func (c *Context) SetTimeUUIDInt64Map(col TimeUUIDInt64MapColumn, value map[gocql.UUID]int64) SetValueStep

func (*Context) SetTimeUUIDSlice

func (c *Context) SetTimeUUIDSlice(col TimeUUIDSliceColumn, value []gocql.UUID) SetValueStep

func (*Context) SetTimeUUIDStringMap

func (c *Context) SetTimeUUIDStringMap(col TimeUUIDStringMapColumn, value map[gocql.UUID]string) SetValueStep

func (*Context) SetTimeUUIDTimeUUIDMap

func (c *Context) SetTimeUUIDTimeUUIDMap(col TimeUUIDTimeUUIDMapColumn, value map[gocql.UUID]gocql.UUID) SetValueStep

func (*Context) SetTimeUUIDTimestampMap

func (c *Context) SetTimeUUIDTimestampMap(col TimeUUIDTimestampMapColumn, value map[gocql.UUID]time.Time) SetValueStep

func (*Context) SetTimeUUIDUUIDMap

func (c *Context) SetTimeUUIDUUIDMap(col TimeUUIDUUIDMapColumn, value map[gocql.UUID]gocql.UUID) SetValueStep

func (*Context) SetTimeUUIDVarintMap

func (c *Context) SetTimeUUIDVarintMap(col TimeUUIDVarintMapColumn, value map[gocql.UUID]*big.Int) SetValueStep

func (*Context) SetTimestamp

func (c *Context) SetTimestamp(col TimestampColumn, value time.Time) SetValueStep

func (*Context) SetTimestampBooleanMap

func (c *Context) SetTimestampBooleanMap(col TimestampBooleanMapColumn, value map[time.Time]bool) SetValueStep

func (*Context) SetTimestampBytesMap

func (c *Context) SetTimestampBytesMap(col TimestampBytesMapColumn, value map[time.Time][]byte) SetValueStep

func (*Context) SetTimestampDecimalMap

func (c *Context) SetTimestampDecimalMap(col TimestampDecimalMapColumn, value map[time.Time]*inf.Dec) SetValueStep

func (*Context) SetTimestampFloat32Map

func (c *Context) SetTimestampFloat32Map(col TimestampFloat32MapColumn, value map[time.Time]float32) SetValueStep

func (*Context) SetTimestampFloat64Map

func (c *Context) SetTimestampFloat64Map(col TimestampFloat64MapColumn, value map[time.Time]float64) SetValueStep

func (*Context) SetTimestampInt32Map

func (c *Context) SetTimestampInt32Map(col TimestampInt32MapColumn, value map[time.Time]int32) SetValueStep

func (*Context) SetTimestampInt64Map

func (c *Context) SetTimestampInt64Map(col TimestampInt64MapColumn, value map[time.Time]int64) SetValueStep

func (*Context) SetTimestampSlice

func (c *Context) SetTimestampSlice(col TimestampSliceColumn, value []time.Time) SetValueStep

func (*Context) SetTimestampStringMap

func (c *Context) SetTimestampStringMap(col TimestampStringMapColumn, value map[time.Time]string) SetValueStep

func (*Context) SetTimestampTimeUUIDMap

func (c *Context) SetTimestampTimeUUIDMap(col TimestampTimeUUIDMapColumn, value map[time.Time]gocql.UUID) SetValueStep

func (*Context) SetTimestampTimestampMap

func (c *Context) SetTimestampTimestampMap(col TimestampTimestampMapColumn, value map[time.Time]time.Time) SetValueStep

func (*Context) SetTimestampUUIDMap

func (c *Context) SetTimestampUUIDMap(col TimestampUUIDMapColumn, value map[time.Time]gocql.UUID) SetValueStep

func (*Context) SetTimestampVarintMap

func (c *Context) SetTimestampVarintMap(col TimestampVarintMapColumn, value map[time.Time]*big.Int) SetValueStep

func (*Context) SetUUID

func (c *Context) SetUUID(col UUIDColumn, value gocql.UUID) SetValueStep

func (*Context) SetUUIDBooleanMap

func (c *Context) SetUUIDBooleanMap(col UUIDBooleanMapColumn, value map[gocql.UUID]bool) SetValueStep

func (*Context) SetUUIDBytesMap

func (c *Context) SetUUIDBytesMap(col UUIDBytesMapColumn, value map[gocql.UUID][]byte) SetValueStep

func (*Context) SetUUIDDecimalMap

func (c *Context) SetUUIDDecimalMap(col UUIDDecimalMapColumn, value map[gocql.UUID]*inf.Dec) SetValueStep

func (*Context) SetUUIDFloat32Map

func (c *Context) SetUUIDFloat32Map(col UUIDFloat32MapColumn, value map[gocql.UUID]float32) SetValueStep

func (*Context) SetUUIDFloat64Map

func (c *Context) SetUUIDFloat64Map(col UUIDFloat64MapColumn, value map[gocql.UUID]float64) SetValueStep

func (*Context) SetUUIDInt32Map

func (c *Context) SetUUIDInt32Map(col UUIDInt32MapColumn, value map[gocql.UUID]int32) SetValueStep

func (*Context) SetUUIDInt64Map

func (c *Context) SetUUIDInt64Map(col UUIDInt64MapColumn, value map[gocql.UUID]int64) SetValueStep

func (*Context) SetUUIDSlice

func (c *Context) SetUUIDSlice(col UUIDSliceColumn, value []gocql.UUID) SetValueStep

func (*Context) SetUUIDStringMap

func (c *Context) SetUUIDStringMap(col UUIDStringMapColumn, value map[gocql.UUID]string) SetValueStep

func (*Context) SetUUIDTimeUUIDMap

func (c *Context) SetUUIDTimeUUIDMap(col UUIDTimeUUIDMapColumn, value map[gocql.UUID]gocql.UUID) SetValueStep

func (*Context) SetUUIDTimestampMap

func (c *Context) SetUUIDTimestampMap(col UUIDTimestampMapColumn, value map[gocql.UUID]time.Time) SetValueStep

func (*Context) SetUUIDUUIDMap

func (c *Context) SetUUIDUUIDMap(col UUIDUUIDMapColumn, value map[gocql.UUID]gocql.UUID) SetValueStep

func (*Context) SetUUIDVarintMap

func (c *Context) SetUUIDVarintMap(col UUIDVarintMapColumn, value map[gocql.UUID]*big.Int) SetValueStep

func (*Context) SetVarint

func (c *Context) SetVarint(col VarintColumn, value *big.Int) SetValueStep

func (*Context) SetVarintBooleanMap

func (c *Context) SetVarintBooleanMap(col VarintBooleanMapColumn, value map[*big.Int]bool) SetValueStep

func (*Context) SetVarintBytesMap

func (c *Context) SetVarintBytesMap(col VarintBytesMapColumn, value map[*big.Int][]byte) SetValueStep

func (*Context) SetVarintDecimalMap

func (c *Context) SetVarintDecimalMap(col VarintDecimalMapColumn, value map[*big.Int]*inf.Dec) SetValueStep

func (*Context) SetVarintFloat32Map

func (c *Context) SetVarintFloat32Map(col VarintFloat32MapColumn, value map[*big.Int]float32) SetValueStep

func (*Context) SetVarintFloat64Map

func (c *Context) SetVarintFloat64Map(col VarintFloat64MapColumn, value map[*big.Int]float64) SetValueStep

func (*Context) SetVarintInt32Map

func (c *Context) SetVarintInt32Map(col VarintInt32MapColumn, value map[*big.Int]int32) SetValueStep

func (*Context) SetVarintInt64Map

func (c *Context) SetVarintInt64Map(col VarintInt64MapColumn, value map[*big.Int]int64) SetValueStep

func (*Context) SetVarintSlice

func (c *Context) SetVarintSlice(col VarintSliceColumn, value []*big.Int) SetValueStep

func (*Context) SetVarintStringMap

func (c *Context) SetVarintStringMap(col VarintStringMapColumn, value map[*big.Int]string) SetValueStep

func (*Context) SetVarintTimeUUIDMap

func (c *Context) SetVarintTimeUUIDMap(col VarintTimeUUIDMapColumn, value map[*big.Int]gocql.UUID) SetValueStep

func (*Context) SetVarintTimestampMap

func (c *Context) SetVarintTimestampMap(col VarintTimestampMapColumn, value map[*big.Int]time.Time) SetValueStep

func (*Context) SetVarintUUIDMap

func (c *Context) SetVarintUUIDMap(col VarintUUIDMapColumn, value map[*big.Int]gocql.UUID) SetValueStep

func (*Context) SetVarintVarintMap

func (c *Context) SetVarintVarintMap(col VarintVarintMapColumn, value map[*big.Int]*big.Int) SetValueStep

func (*Context) Store

func (c *Context) Store(b TableBinding) Executable

func (*Context) Swap

func (c *Context) Swap(s *gocql.Session) (bool, error)

Returns true if the CAS operation was applied, false otherwise. If the operation was applied, then the result bindings will not be popluated.

func (*Context) UpdateCounter

func (c *Context) UpdateCounter(t CounterTable) IncrementCounterStep

func (*Context) Upsert

func (c *Context) Upsert(u Upsertable) SetValueStep

func (*Context) Where

func (c *Context) Where(cond ...Condition) Query

type CounterColumn

type CounterColumn interface {
	Column
	CanIncrement() bool
	To(value *int64) ColumnBinding
}

type CounterTable

type CounterTable interface {
	Table
	IsCounterTable() bool
}

type DecimalBooleanMapColumn

type DecimalBooleanMapColumn interface {
	Column
}

type DecimalBytesMapColumn

type DecimalBytesMapColumn interface {
	Column
}

type DecimalColumn

type DecimalColumn interface {
	Column
	To(value **inf.Dec) ColumnBinding
}

type DecimalDecimalMapColumn

type DecimalDecimalMapColumn interface {
	Column
}

type DecimalFloat32MapColumn

type DecimalFloat32MapColumn interface {
	Column
}

type DecimalFloat64MapColumn

type DecimalFloat64MapColumn interface {
	Column
}

type DecimalInt32MapColumn

type DecimalInt32MapColumn interface {
	Column
}

type DecimalInt64MapColumn

type DecimalInt64MapColumn interface {
	Column
}

type DecimalSliceColumn

type DecimalSliceColumn interface {
	ListColumn
	To(value *[]*inf.Dec) ColumnBinding
}

type DecimalStringMapColumn

type DecimalStringMapColumn interface {
	Column
}

type DecimalTimeUUIDMapColumn

type DecimalTimeUUIDMapColumn interface {
	Column
}

type DecimalTimestampMapColumn

type DecimalTimestampMapColumn interface {
	Column
}

type DecimalUUIDMapColumn

type DecimalUUIDMapColumn interface {
	Column
}

type DecimalVarintMapColumn

type DecimalVarintMapColumn interface {
	Column
}

type EqualityBooleanColumn

type EqualityBooleanColumn interface {
	BooleanColumn
	Eq(value bool) Condition
}

type EqualityBytesColumn

type EqualityBytesColumn interface {
	BytesColumn
	Eq(value []byte) Condition
}

type EqualityDecimalColumn

type EqualityDecimalColumn interface {
	DecimalColumn
	Eq(value *inf.Dec) Condition
}

type EqualityFloat32Column

type EqualityFloat32Column interface {
	Float32Column
	Eq(value float32) Condition
}

type EqualityFloat64Column

type EqualityFloat64Column interface {
	Float64Column
	Eq(value float64) Condition
}

type EqualityInt32Column

type EqualityInt32Column interface {
	Int32Column
	Eq(value int32) Condition
}

type EqualityInt64Column

type EqualityInt64Column interface {
	Int64Column
	Eq(value int64) Condition
}

type EqualityStringColumn

type EqualityStringColumn interface {
	StringColumn
	Eq(value string) Condition
}

type EqualityTimeUUIDColumn

type EqualityTimeUUIDColumn interface {
	TimeUUIDColumn
	Eq(value gocql.UUID) Condition
}

type EqualityTimestampColumn

type EqualityTimestampColumn interface {
	TimestampColumn
	Eq(value time.Time) Condition
}

type EqualityUUIDColumn

type EqualityUUIDColumn interface {
	UUIDColumn
	Eq(value gocql.UUID) Condition
}

type EqualityVarintColumn

type EqualityVarintColumn interface {
	VarintColumn
	Eq(value *big.Int) Condition
}

type Executable

type Executable interface {
	Exec(*gocql.Session) error
	Batch(*gocql.Batch) error
}

type Fetchable

type Fetchable interface {
	Bindable
	// Limit constrains the number of rows returned by a query
	Limit(limit int) Fetchable
	Prepare(session *gocql.Session) (*gocql.Query, error)
	Fetch(*gocql.Session) (*gocql.Iter, error)
}

type Float32BooleanMapColumn

type Float32BooleanMapColumn interface {
	Column
}

type Float32BytesMapColumn

type Float32BytesMapColumn interface {
	Column
}

type Float32Column

type Float32Column interface {
	Column
	To(value *float32) ColumnBinding
}

type Float32DecimalMapColumn

type Float32DecimalMapColumn interface {
	Column
}

type Float32Float32MapColumn

type Float32Float32MapColumn interface {
	Column
}

type Float32Float64MapColumn

type Float32Float64MapColumn interface {
	Column
}

type Float32Int32MapColumn

type Float32Int32MapColumn interface {
	Column
}

type Float32Int64MapColumn

type Float32Int64MapColumn interface {
	Column
}

type Float32SliceColumn

type Float32SliceColumn interface {
	ListColumn
	To(value *[]float32) ColumnBinding
}

type Float32StringMapColumn

type Float32StringMapColumn interface {
	Column
}

type Float32TimeUUIDMapColumn

type Float32TimeUUIDMapColumn interface {
	Column
}

type Float32TimestampMapColumn

type Float32TimestampMapColumn interface {
	Column
}

type Float32UUIDMapColumn

type Float32UUIDMapColumn interface {
	Column
}

type Float32VarintMapColumn

type Float32VarintMapColumn interface {
	Column
}

type Float64BooleanMapColumn

type Float64BooleanMapColumn interface {
	Column
}

type Float64BytesMapColumn

type Float64BytesMapColumn interface {
	Column
}

type Float64Column

type Float64Column interface {
	Column
	To(value *float64) ColumnBinding
}

type Float64DecimalMapColumn

type Float64DecimalMapColumn interface {
	Column
}

type Float64Float32MapColumn

type Float64Float32MapColumn interface {
	Column
}

type Float64Float64MapColumn

type Float64Float64MapColumn interface {
	Column
}

type Float64Int32MapColumn

type Float64Int32MapColumn interface {
	Column
}

type Float64Int64MapColumn

type Float64Int64MapColumn interface {
	Column
}

type Float64SliceColumn

type Float64SliceColumn interface {
	ListColumn
	To(value *[]float64) ColumnBinding
}

type Float64StringMapColumn

type Float64StringMapColumn interface {
	Column
}

type Float64TimeUUIDMapColumn

type Float64TimeUUIDMapColumn interface {
	Column
}

type Float64TimestampMapColumn

type Float64TimestampMapColumn interface {
	Column
}

type Float64UUIDMapColumn

type Float64UUIDMapColumn interface {
	Column
}

type Float64VarintMapColumn

type Float64VarintMapColumn interface {
	Column
}

type IncrementCounterStep

type IncrementCounterStep interface {
	IncrementWhereStep
	Increment(col CounterColumn, value int64) IncrementCounterStep
}

type IncrementWhereStep

type IncrementWhereStep interface {
	Having(conditions ...Condition) Executable
}

type Int32BooleanMapColumn

type Int32BooleanMapColumn interface {
	Column
}

type Int32BytesMapColumn

type Int32BytesMapColumn interface {
	Column
}

type Int32Column

type Int32Column interface {
	Column
	To(value *int32) ColumnBinding
}

type Int32DecimalMapColumn

type Int32DecimalMapColumn interface {
	Column
}

type Int32Float32MapColumn

type Int32Float32MapColumn interface {
	Column
}

type Int32Float64MapColumn

type Int32Float64MapColumn interface {
	Column
}

type Int32Int32MapColumn

type Int32Int32MapColumn interface {
	Column
}

type Int32Int64MapColumn

type Int32Int64MapColumn interface {
	Column
}

type Int32SliceColumn

type Int32SliceColumn interface {
	ListColumn
	To(value *[]int32) ColumnBinding
}

type Int32StringMapColumn

type Int32StringMapColumn interface {
	Column
}

type Int32TimeUUIDMapColumn

type Int32TimeUUIDMapColumn interface {
	Column
}

type Int32TimestampMapColumn

type Int32TimestampMapColumn interface {
	Column
}

type Int32UUIDMapColumn

type Int32UUIDMapColumn interface {
	Column
}

type Int32VarintMapColumn

type Int32VarintMapColumn interface {
	Column
}

type Int64BooleanMapColumn

type Int64BooleanMapColumn interface {
	Column
}

type Int64BytesMapColumn

type Int64BytesMapColumn interface {
	Column
}

type Int64Column

type Int64Column interface {
	Column
	To(value *int64) ColumnBinding
}

type Int64DecimalMapColumn

type Int64DecimalMapColumn interface {
	Column
}

type Int64Float32MapColumn

type Int64Float32MapColumn interface {
	Column
}

type Int64Float64MapColumn

type Int64Float64MapColumn interface {
	Column
}

type Int64Int32MapColumn

type Int64Int32MapColumn interface {
	Column
}

type Int64Int64MapColumn

type Int64Int64MapColumn interface {
	Column
}

type Int64SliceColumn

type Int64SliceColumn interface {
	ListColumn
	To(value *[]int64) ColumnBinding
}

type Int64StringMapColumn

type Int64StringMapColumn interface {
	Column
}

type Int64TimeUUIDMapColumn

type Int64TimeUUIDMapColumn interface {
	Column
}

type Int64TimestampMapColumn

type Int64TimestampMapColumn interface {
	Column
}

type Int64UUIDMapColumn

type Int64UUIDMapColumn interface {
	Column
}

type Int64VarintMapColumn

type Int64VarintMapColumn interface {
	Column
}

type LastClusteredBooleanColumn

type LastClusteredBooleanColumn interface {
	ClusteredBooleanColumn
	In(value ...bool) Condition
}

type LastClusteredBytesColumn

type LastClusteredBytesColumn interface {
	ClusteredBytesColumn
	In(value ...[]byte) Condition
}

type LastClusteredDecimalColumn

type LastClusteredDecimalColumn interface {
	ClusteredDecimalColumn
	In(value ...*inf.Dec) Condition
}

type LastClusteredFloat32Column

type LastClusteredFloat32Column interface {
	ClusteredFloat32Column
	In(value ...float32) Condition
}

type LastClusteredFloat64Column

type LastClusteredFloat64Column interface {
	ClusteredFloat64Column
	In(value ...float64) Condition
}

type LastClusteredInt32Column

type LastClusteredInt32Column interface {
	ClusteredInt32Column
	In(value ...int32) Condition
}

type LastClusteredInt64Column

type LastClusteredInt64Column interface {
	ClusteredInt64Column
	In(value ...int64) Condition
}

type LastClusteredStringColumn

type LastClusteredStringColumn interface {
	ClusteredStringColumn
	In(value ...string) Condition
}

type LastClusteredTimeUUIDColumn

type LastClusteredTimeUUIDColumn interface {
	ClusteredTimeUUIDColumn
	In(value ...gocql.UUID) Condition
}

type LastClusteredTimestampColumn

type LastClusteredTimestampColumn interface {
	ClusteredTimestampColumn
	In(value ...time.Time) Condition
}

type LastClusteredUUIDColumn

type LastClusteredUUIDColumn interface {
	ClusteredUUIDColumn
	In(value ...gocql.UUID) Condition
}

type LastClusteredVarintColumn

type LastClusteredVarintColumn interface {
	ClusteredVarintColumn
	In(value ...*big.Int) Condition
}

type LastPartitionedBooleanColumn

type LastPartitionedBooleanColumn interface {
	PartitionedBooleanColumn
	In(value ...bool) Condition
}

type LastPartitionedBytesColumn

type LastPartitionedBytesColumn interface {
	PartitionedBytesColumn
	In(value ...[]byte) Condition
}

type LastPartitionedDecimalColumn

type LastPartitionedDecimalColumn interface {
	PartitionedDecimalColumn
	In(value ...*inf.Dec) Condition
}

type LastPartitionedFloat32Column

type LastPartitionedFloat32Column interface {
	PartitionedFloat32Column
	In(value ...float32) Condition
}

type LastPartitionedFloat64Column

type LastPartitionedFloat64Column interface {
	PartitionedFloat64Column
	In(value ...float64) Condition
}

type LastPartitionedInt32Column

type LastPartitionedInt32Column interface {
	PartitionedInt32Column
	In(value ...int32) Condition
}

type LastPartitionedInt64Column

type LastPartitionedInt64Column interface {
	PartitionedInt64Column
	In(value ...int64) Condition
}

type LastPartitionedStringColumn

type LastPartitionedStringColumn interface {
	PartitionedStringColumn
	In(value ...string) Condition
}

type LastPartitionedTimeUUIDColumn

type LastPartitionedTimeUUIDColumn interface {
	PartitionedTimeUUIDColumn
	In(value ...gocql.UUID) Condition
}

type LastPartitionedTimestampColumn

type LastPartitionedTimestampColumn interface {
	PartitionedTimestampColumn
	In(value ...time.Time) Condition
}

type LastPartitionedUUIDColumn

type LastPartitionedUUIDColumn interface {
	PartitionedUUIDColumn
	In(value ...gocql.UUID) Condition
}

type LastPartitionedVarintColumn

type LastPartitionedVarintColumn interface {
	PartitionedVarintColumn
	In(value ...*big.Int) Condition
}

type ListColumn

type ListColumn interface {
	Column
	ListType() Column
}

ListColumn is a marker interface to denote that column maps to CQL list type

type OperationType

type OperationType int
const (
	None OperationType = iota
	ReadOperation
	WriteOperation
	DeleteOperation
	CounterOperation
)

type OrderSpec

type OrderSpec struct {
	Col  string
	Desc bool
}

type PartitionedBooleanColumn

type PartitionedBooleanColumn interface {
	PartitionedColumn
	EqualityBooleanColumn
}

type PartitionedBytesColumn

type PartitionedBytesColumn interface {
	PartitionedColumn
	EqualityBytesColumn
}

type PartitionedColumn

type PartitionedColumn interface {
	// Returns the column definition that a column family is partitioned by.
	PartitionBy() Column
}

PartitionedColumn is a marker interface to denote that a column is partitioned.

type PartitionedDecimalColumn

type PartitionedDecimalColumn interface {
	PartitionedColumn
	EqualityDecimalColumn
}

type PartitionedFloat32Column

type PartitionedFloat32Column interface {
	PartitionedColumn
	EqualityFloat32Column
}

type PartitionedFloat64Column

type PartitionedFloat64Column interface {
	PartitionedColumn
	EqualityFloat64Column
}

type PartitionedInt32Column

type PartitionedInt32Column interface {
	PartitionedColumn
	EqualityInt32Column
}

type PartitionedInt64Column

type PartitionedInt64Column interface {
	PartitionedColumn
	EqualityInt64Column
}

type PartitionedStringColumn

type PartitionedStringColumn interface {
	PartitionedColumn
	EqualityStringColumn
}

type PartitionedTimeUUIDColumn

type PartitionedTimeUUIDColumn interface {
	PartitionedColumn
	EqualityTimeUUIDColumn
}

type PartitionedTimestampColumn

type PartitionedTimestampColumn interface {
	PartitionedColumn
	EqualityTimestampColumn
}

type PartitionedUUIDColumn

type PartitionedUUIDColumn interface {
	PartitionedColumn
	EqualityUUIDColumn
}

type PartitionedVarintColumn

type PartitionedVarintColumn interface {
	PartitionedColumn
	EqualityVarintColumn
}

type PredicateType

type PredicateType int
const (
	EqPredicate PredicateType = iota
	GtPredicate
	GePredicate
	LtPredicate
	LePredicate
	InPredicate
)

type Query

type Query interface {
	Executable
	Fetchable
	// OrderBy sets the ordering of the returned query
	OrderBy(col ...ClusteredColumn) Fetchable
}

type ReadOptions

type ReadOptions struct {
	Distinct bool
	Limit    int
	Ordering []OrderSpec
}

type SelectFromStep

type SelectFromStep interface {
	From(table Table) SelectWhereStep
}

type SelectSelectStep

type SelectSelectStep interface {
	Select(cols ...Column) SelectFromStep
	// Builds a SELECT DISTINCT statement in CQL - this operation can only be used
	// with a partitioned column.
	SelectDistinct(col PartitionedColumn) SelectFromStep
}

type SelectWhereStep

type SelectWhereStep interface {
	Fetchable
	Where(conditions ...Condition) Query
}

type SetValueStep

type SetValueStep interface {
	Executable
	SelectWhereStep
	Apply(cols ...ColumnBinding) SetValueStep
	IfExists(cols ...ColumnBinding) CompareAndSwap

	SetString(col StringColumn, value string) SetValueStep

	SetInt32(col Int32Column, value int32) SetValueStep

	SetInt64(col Int64Column, value int64) SetValueStep

	SetFloat32(col Float32Column, value float32) SetValueStep

	SetFloat64(col Float64Column, value float64) SetValueStep

	SetTimestamp(col TimestampColumn, value time.Time) SetValueStep

	SetTimeUUID(col TimeUUIDColumn, value gocql.UUID) SetValueStep

	SetUUID(col UUIDColumn, value gocql.UUID) SetValueStep

	SetBoolean(col BooleanColumn, value bool) SetValueStep

	SetDecimal(col DecimalColumn, value *inf.Dec) SetValueStep

	SetVarint(col VarintColumn, value *big.Int) SetValueStep

	SetBytes(col BytesColumn, value []byte) SetValueStep

	SetStringStringMap(col StringStringMapColumn, value map[string]string) SetValueStep

	SetStringInt32Map(col StringInt32MapColumn, value map[string]int32) SetValueStep

	SetStringInt64Map(col StringInt64MapColumn, value map[string]int64) SetValueStep

	SetStringFloat32Map(col StringFloat32MapColumn, value map[string]float32) SetValueStep

	SetStringFloat64Map(col StringFloat64MapColumn, value map[string]float64) SetValueStep

	SetStringTimestampMap(col StringTimestampMapColumn, value map[string]time.Time) SetValueStep

	SetStringTimeUUIDMap(col StringTimeUUIDMapColumn, value map[string]gocql.UUID) SetValueStep

	SetStringUUIDMap(col StringUUIDMapColumn, value map[string]gocql.UUID) SetValueStep

	SetStringBooleanMap(col StringBooleanMapColumn, value map[string]bool) SetValueStep

	SetStringDecimalMap(col StringDecimalMapColumn, value map[string]*inf.Dec) SetValueStep

	SetStringVarintMap(col StringVarintMapColumn, value map[string]*big.Int) SetValueStep

	SetStringBytesMap(col StringBytesMapColumn, value map[string][]byte) SetValueStep

	SetInt32StringMap(col Int32StringMapColumn, value map[int32]string) SetValueStep

	SetInt32Int32Map(col Int32Int32MapColumn, value map[int32]int32) SetValueStep

	SetInt32Int64Map(col Int32Int64MapColumn, value map[int32]int64) SetValueStep

	SetInt32Float32Map(col Int32Float32MapColumn, value map[int32]float32) SetValueStep

	SetInt32Float64Map(col Int32Float64MapColumn, value map[int32]float64) SetValueStep

	SetInt32TimestampMap(col Int32TimestampMapColumn, value map[int32]time.Time) SetValueStep

	SetInt32TimeUUIDMap(col Int32TimeUUIDMapColumn, value map[int32]gocql.UUID) SetValueStep

	SetInt32UUIDMap(col Int32UUIDMapColumn, value map[int32]gocql.UUID) SetValueStep

	SetInt32BooleanMap(col Int32BooleanMapColumn, value map[int32]bool) SetValueStep

	SetInt32DecimalMap(col Int32DecimalMapColumn, value map[int32]*inf.Dec) SetValueStep

	SetInt32VarintMap(col Int32VarintMapColumn, value map[int32]*big.Int) SetValueStep

	SetInt32BytesMap(col Int32BytesMapColumn, value map[int32][]byte) SetValueStep

	SetInt64StringMap(col Int64StringMapColumn, value map[int64]string) SetValueStep

	SetInt64Int32Map(col Int64Int32MapColumn, value map[int64]int32) SetValueStep

	SetInt64Int64Map(col Int64Int64MapColumn, value map[int64]int64) SetValueStep

	SetInt64Float32Map(col Int64Float32MapColumn, value map[int64]float32) SetValueStep

	SetInt64Float64Map(col Int64Float64MapColumn, value map[int64]float64) SetValueStep

	SetInt64TimestampMap(col Int64TimestampMapColumn, value map[int64]time.Time) SetValueStep

	SetInt64TimeUUIDMap(col Int64TimeUUIDMapColumn, value map[int64]gocql.UUID) SetValueStep

	SetInt64UUIDMap(col Int64UUIDMapColumn, value map[int64]gocql.UUID) SetValueStep

	SetInt64BooleanMap(col Int64BooleanMapColumn, value map[int64]bool) SetValueStep

	SetInt64DecimalMap(col Int64DecimalMapColumn, value map[int64]*inf.Dec) SetValueStep

	SetInt64VarintMap(col Int64VarintMapColumn, value map[int64]*big.Int) SetValueStep

	SetInt64BytesMap(col Int64BytesMapColumn, value map[int64][]byte) SetValueStep

	SetFloat32StringMap(col Float32StringMapColumn, value map[float32]string) SetValueStep

	SetFloat32Int32Map(col Float32Int32MapColumn, value map[float32]int32) SetValueStep

	SetFloat32Int64Map(col Float32Int64MapColumn, value map[float32]int64) SetValueStep

	SetFloat32Float32Map(col Float32Float32MapColumn, value map[float32]float32) SetValueStep

	SetFloat32Float64Map(col Float32Float64MapColumn, value map[float32]float64) SetValueStep

	SetFloat32TimestampMap(col Float32TimestampMapColumn, value map[float32]time.Time) SetValueStep

	SetFloat32TimeUUIDMap(col Float32TimeUUIDMapColumn, value map[float32]gocql.UUID) SetValueStep

	SetFloat32UUIDMap(col Float32UUIDMapColumn, value map[float32]gocql.UUID) SetValueStep

	SetFloat32BooleanMap(col Float32BooleanMapColumn, value map[float32]bool) SetValueStep

	SetFloat32DecimalMap(col Float32DecimalMapColumn, value map[float32]*inf.Dec) SetValueStep

	SetFloat32VarintMap(col Float32VarintMapColumn, value map[float32]*big.Int) SetValueStep

	SetFloat32BytesMap(col Float32BytesMapColumn, value map[float32][]byte) SetValueStep

	SetFloat64StringMap(col Float64StringMapColumn, value map[float64]string) SetValueStep

	SetFloat64Int32Map(col Float64Int32MapColumn, value map[float64]int32) SetValueStep

	SetFloat64Int64Map(col Float64Int64MapColumn, value map[float64]int64) SetValueStep

	SetFloat64Float32Map(col Float64Float32MapColumn, value map[float64]float32) SetValueStep

	SetFloat64Float64Map(col Float64Float64MapColumn, value map[float64]float64) SetValueStep

	SetFloat64TimestampMap(col Float64TimestampMapColumn, value map[float64]time.Time) SetValueStep

	SetFloat64TimeUUIDMap(col Float64TimeUUIDMapColumn, value map[float64]gocql.UUID) SetValueStep

	SetFloat64UUIDMap(col Float64UUIDMapColumn, value map[float64]gocql.UUID) SetValueStep

	SetFloat64BooleanMap(col Float64BooleanMapColumn, value map[float64]bool) SetValueStep

	SetFloat64DecimalMap(col Float64DecimalMapColumn, value map[float64]*inf.Dec) SetValueStep

	SetFloat64VarintMap(col Float64VarintMapColumn, value map[float64]*big.Int) SetValueStep

	SetFloat64BytesMap(col Float64BytesMapColumn, value map[float64][]byte) SetValueStep

	SetTimestampStringMap(col TimestampStringMapColumn, value map[time.Time]string) SetValueStep

	SetTimestampInt32Map(col TimestampInt32MapColumn, value map[time.Time]int32) SetValueStep

	SetTimestampInt64Map(col TimestampInt64MapColumn, value map[time.Time]int64) SetValueStep

	SetTimestampFloat32Map(col TimestampFloat32MapColumn, value map[time.Time]float32) SetValueStep

	SetTimestampFloat64Map(col TimestampFloat64MapColumn, value map[time.Time]float64) SetValueStep

	SetTimestampTimestampMap(col TimestampTimestampMapColumn, value map[time.Time]time.Time) SetValueStep

	SetTimestampTimeUUIDMap(col TimestampTimeUUIDMapColumn, value map[time.Time]gocql.UUID) SetValueStep

	SetTimestampUUIDMap(col TimestampUUIDMapColumn, value map[time.Time]gocql.UUID) SetValueStep

	SetTimestampBooleanMap(col TimestampBooleanMapColumn, value map[time.Time]bool) SetValueStep

	SetTimestampDecimalMap(col TimestampDecimalMapColumn, value map[time.Time]*inf.Dec) SetValueStep

	SetTimestampVarintMap(col TimestampVarintMapColumn, value map[time.Time]*big.Int) SetValueStep

	SetTimestampBytesMap(col TimestampBytesMapColumn, value map[time.Time][]byte) SetValueStep

	SetTimeUUIDStringMap(col TimeUUIDStringMapColumn, value map[gocql.UUID]string) SetValueStep

	SetTimeUUIDInt32Map(col TimeUUIDInt32MapColumn, value map[gocql.UUID]int32) SetValueStep

	SetTimeUUIDInt64Map(col TimeUUIDInt64MapColumn, value map[gocql.UUID]int64) SetValueStep

	SetTimeUUIDFloat32Map(col TimeUUIDFloat32MapColumn, value map[gocql.UUID]float32) SetValueStep

	SetTimeUUIDFloat64Map(col TimeUUIDFloat64MapColumn, value map[gocql.UUID]float64) SetValueStep

	SetTimeUUIDTimestampMap(col TimeUUIDTimestampMapColumn, value map[gocql.UUID]time.Time) SetValueStep

	SetTimeUUIDTimeUUIDMap(col TimeUUIDTimeUUIDMapColumn, value map[gocql.UUID]gocql.UUID) SetValueStep

	SetTimeUUIDUUIDMap(col TimeUUIDUUIDMapColumn, value map[gocql.UUID]gocql.UUID) SetValueStep

	SetTimeUUIDBooleanMap(col TimeUUIDBooleanMapColumn, value map[gocql.UUID]bool) SetValueStep

	SetTimeUUIDDecimalMap(col TimeUUIDDecimalMapColumn, value map[gocql.UUID]*inf.Dec) SetValueStep

	SetTimeUUIDVarintMap(col TimeUUIDVarintMapColumn, value map[gocql.UUID]*big.Int) SetValueStep

	SetTimeUUIDBytesMap(col TimeUUIDBytesMapColumn, value map[gocql.UUID][]byte) SetValueStep

	SetUUIDStringMap(col UUIDStringMapColumn, value map[gocql.UUID]string) SetValueStep

	SetUUIDInt32Map(col UUIDInt32MapColumn, value map[gocql.UUID]int32) SetValueStep

	SetUUIDInt64Map(col UUIDInt64MapColumn, value map[gocql.UUID]int64) SetValueStep

	SetUUIDFloat32Map(col UUIDFloat32MapColumn, value map[gocql.UUID]float32) SetValueStep

	SetUUIDFloat64Map(col UUIDFloat64MapColumn, value map[gocql.UUID]float64) SetValueStep

	SetUUIDTimestampMap(col UUIDTimestampMapColumn, value map[gocql.UUID]time.Time) SetValueStep

	SetUUIDTimeUUIDMap(col UUIDTimeUUIDMapColumn, value map[gocql.UUID]gocql.UUID) SetValueStep

	SetUUIDUUIDMap(col UUIDUUIDMapColumn, value map[gocql.UUID]gocql.UUID) SetValueStep

	SetUUIDBooleanMap(col UUIDBooleanMapColumn, value map[gocql.UUID]bool) SetValueStep

	SetUUIDDecimalMap(col UUIDDecimalMapColumn, value map[gocql.UUID]*inf.Dec) SetValueStep

	SetUUIDVarintMap(col UUIDVarintMapColumn, value map[gocql.UUID]*big.Int) SetValueStep

	SetUUIDBytesMap(col UUIDBytesMapColumn, value map[gocql.UUID][]byte) SetValueStep

	SetBooleanStringMap(col BooleanStringMapColumn, value map[bool]string) SetValueStep

	SetBooleanInt32Map(col BooleanInt32MapColumn, value map[bool]int32) SetValueStep

	SetBooleanInt64Map(col BooleanInt64MapColumn, value map[bool]int64) SetValueStep

	SetBooleanFloat32Map(col BooleanFloat32MapColumn, value map[bool]float32) SetValueStep

	SetBooleanFloat64Map(col BooleanFloat64MapColumn, value map[bool]float64) SetValueStep

	SetBooleanTimestampMap(col BooleanTimestampMapColumn, value map[bool]time.Time) SetValueStep

	SetBooleanTimeUUIDMap(col BooleanTimeUUIDMapColumn, value map[bool]gocql.UUID) SetValueStep

	SetBooleanUUIDMap(col BooleanUUIDMapColumn, value map[bool]gocql.UUID) SetValueStep

	SetBooleanBooleanMap(col BooleanBooleanMapColumn, value map[bool]bool) SetValueStep

	SetBooleanDecimalMap(col BooleanDecimalMapColumn, value map[bool]*inf.Dec) SetValueStep

	SetBooleanVarintMap(col BooleanVarintMapColumn, value map[bool]*big.Int) SetValueStep

	SetBooleanBytesMap(col BooleanBytesMapColumn, value map[bool][]byte) SetValueStep

	SetDecimalStringMap(col DecimalStringMapColumn, value map[*inf.Dec]string) SetValueStep

	SetDecimalInt32Map(col DecimalInt32MapColumn, value map[*inf.Dec]int32) SetValueStep

	SetDecimalInt64Map(col DecimalInt64MapColumn, value map[*inf.Dec]int64) SetValueStep

	SetDecimalFloat32Map(col DecimalFloat32MapColumn, value map[*inf.Dec]float32) SetValueStep

	SetDecimalFloat64Map(col DecimalFloat64MapColumn, value map[*inf.Dec]float64) SetValueStep

	SetDecimalTimestampMap(col DecimalTimestampMapColumn, value map[*inf.Dec]time.Time) SetValueStep

	SetDecimalTimeUUIDMap(col DecimalTimeUUIDMapColumn, value map[*inf.Dec]gocql.UUID) SetValueStep

	SetDecimalUUIDMap(col DecimalUUIDMapColumn, value map[*inf.Dec]gocql.UUID) SetValueStep

	SetDecimalBooleanMap(col DecimalBooleanMapColumn, value map[*inf.Dec]bool) SetValueStep

	SetDecimalDecimalMap(col DecimalDecimalMapColumn, value map[*inf.Dec]*inf.Dec) SetValueStep

	SetDecimalVarintMap(col DecimalVarintMapColumn, value map[*inf.Dec]*big.Int) SetValueStep

	SetDecimalBytesMap(col DecimalBytesMapColumn, value map[*inf.Dec][]byte) SetValueStep

	SetVarintStringMap(col VarintStringMapColumn, value map[*big.Int]string) SetValueStep

	SetVarintInt32Map(col VarintInt32MapColumn, value map[*big.Int]int32) SetValueStep

	SetVarintInt64Map(col VarintInt64MapColumn, value map[*big.Int]int64) SetValueStep

	SetVarintFloat32Map(col VarintFloat32MapColumn, value map[*big.Int]float32) SetValueStep

	SetVarintFloat64Map(col VarintFloat64MapColumn, value map[*big.Int]float64) SetValueStep

	SetVarintTimestampMap(col VarintTimestampMapColumn, value map[*big.Int]time.Time) SetValueStep

	SetVarintTimeUUIDMap(col VarintTimeUUIDMapColumn, value map[*big.Int]gocql.UUID) SetValueStep

	SetVarintUUIDMap(col VarintUUIDMapColumn, value map[*big.Int]gocql.UUID) SetValueStep

	SetVarintBooleanMap(col VarintBooleanMapColumn, value map[*big.Int]bool) SetValueStep

	SetVarintDecimalMap(col VarintDecimalMapColumn, value map[*big.Int]*inf.Dec) SetValueStep

	SetVarintVarintMap(col VarintVarintMapColumn, value map[*big.Int]*big.Int) SetValueStep

	SetVarintBytesMap(col VarintBytesMapColumn, value map[*big.Int][]byte) SetValueStep

	SetStringSlice(col StringSliceColumn, value []string) SetValueStep
	AppendStringSlice(col StringSliceColumn, values ...string) SetValueStep
	PrependStringSlice(col StringSliceColumn, values ...string) SetValueStep
	RemoveStringSlice(col StringSliceColumn, values ...string) SetValueStep

	SetInt32Slice(col Int32SliceColumn, value []int32) SetValueStep
	AppendInt32Slice(col Int32SliceColumn, values ...int32) SetValueStep
	PrependInt32Slice(col Int32SliceColumn, values ...int32) SetValueStep
	RemoveInt32Slice(col Int32SliceColumn, values ...int32) SetValueStep

	SetInt64Slice(col Int64SliceColumn, value []int64) SetValueStep
	AppendInt64Slice(col Int64SliceColumn, values ...int64) SetValueStep
	PrependInt64Slice(col Int64SliceColumn, values ...int64) SetValueStep
	RemoveInt64Slice(col Int64SliceColumn, values ...int64) SetValueStep

	SetFloat32Slice(col Float32SliceColumn, value []float32) SetValueStep
	AppendFloat32Slice(col Float32SliceColumn, values ...float32) SetValueStep
	PrependFloat32Slice(col Float32SliceColumn, values ...float32) SetValueStep
	RemoveFloat32Slice(col Float32SliceColumn, values ...float32) SetValueStep

	SetFloat64Slice(col Float64SliceColumn, value []float64) SetValueStep
	AppendFloat64Slice(col Float64SliceColumn, values ...float64) SetValueStep
	PrependFloat64Slice(col Float64SliceColumn, values ...float64) SetValueStep
	RemoveFloat64Slice(col Float64SliceColumn, values ...float64) SetValueStep

	SetTimestampSlice(col TimestampSliceColumn, value []time.Time) SetValueStep
	AppendTimestampSlice(col TimestampSliceColumn, values ...time.Time) SetValueStep
	PrependTimestampSlice(col TimestampSliceColumn, values ...time.Time) SetValueStep
	RemoveTimestampSlice(col TimestampSliceColumn, values ...time.Time) SetValueStep

	SetTimeUUIDSlice(col TimeUUIDSliceColumn, value []gocql.UUID) SetValueStep
	AppendTimeUUIDSlice(col TimeUUIDSliceColumn, values ...gocql.UUID) SetValueStep
	PrependTimeUUIDSlice(col TimeUUIDSliceColumn, values ...gocql.UUID) SetValueStep
	RemoveTimeUUIDSlice(col TimeUUIDSliceColumn, values ...gocql.UUID) SetValueStep

	SetUUIDSlice(col UUIDSliceColumn, value []gocql.UUID) SetValueStep
	AppendUUIDSlice(col UUIDSliceColumn, values ...gocql.UUID) SetValueStep
	PrependUUIDSlice(col UUIDSliceColumn, values ...gocql.UUID) SetValueStep
	RemoveUUIDSlice(col UUIDSliceColumn, values ...gocql.UUID) SetValueStep

	SetBooleanSlice(col BooleanSliceColumn, value []bool) SetValueStep
	AppendBooleanSlice(col BooleanSliceColumn, values ...bool) SetValueStep
	PrependBooleanSlice(col BooleanSliceColumn, values ...bool) SetValueStep
	RemoveBooleanSlice(col BooleanSliceColumn, values ...bool) SetValueStep

	SetDecimalSlice(col DecimalSliceColumn, value []*inf.Dec) SetValueStep
	AppendDecimalSlice(col DecimalSliceColumn, values ...*inf.Dec) SetValueStep
	PrependDecimalSlice(col DecimalSliceColumn, values ...*inf.Dec) SetValueStep
	RemoveDecimalSlice(col DecimalSliceColumn, values ...*inf.Dec) SetValueStep

	SetVarintSlice(col VarintSliceColumn, value []*big.Int) SetValueStep
	AppendVarintSlice(col VarintSliceColumn, values ...*big.Int) SetValueStep
	PrependVarintSlice(col VarintSliceColumn, values ...*big.Int) SetValueStep
	RemoveVarintSlice(col VarintSliceColumn, values ...*big.Int) SetValueStep

	SetBytesSlice(col BytesSliceColumn, value [][]byte) SetValueStep
	AppendBytesSlice(col BytesSliceColumn, values ...[]byte) SetValueStep
	PrependBytesSlice(col BytesSliceColumn, values ...[]byte) SetValueStep
	RemoveBytesSlice(col BytesSliceColumn, values ...[]byte) SetValueStep
}

type StringBooleanMapColumn

type StringBooleanMapColumn interface {
	Column
}

type StringBytesMapColumn

type StringBytesMapColumn interface {
	Column
}

type StringColumn

type StringColumn interface {
	Column
	To(value *string) ColumnBinding
}

type StringDecimalMapColumn

type StringDecimalMapColumn interface {
	Column
}

type StringFloat32MapColumn

type StringFloat32MapColumn interface {
	Column
}

type StringFloat64MapColumn

type StringFloat64MapColumn interface {
	Column
}

type StringInt32MapColumn

type StringInt32MapColumn interface {
	Column
}

type StringInt64MapColumn

type StringInt64MapColumn interface {
	Column
}

type StringSliceColumn

type StringSliceColumn interface {
	ListColumn
	To(value *[]string) ColumnBinding
}

type StringStringMapColumn

type StringStringMapColumn interface {
	Column
}

type StringTimeUUIDMapColumn

type StringTimeUUIDMapColumn interface {
	Column
}

type StringTimestampMapColumn

type StringTimestampMapColumn interface {
	Column
}

type StringUUIDMapColumn

type StringUUIDMapColumn interface {
	Column
}

type StringVarintMapColumn

type StringVarintMapColumn interface {
	Column
}

type Table

type Table interface {
	TableName() string
	Keyspace() string
	ColumnDefinitions() []Column
}

type TableBinding

type TableBinding struct {
	Table   Table
	Columns []ColumnBinding
}

type TimeUUIDBooleanMapColumn

type TimeUUIDBooleanMapColumn interface {
	Column
}

type TimeUUIDBytesMapColumn

type TimeUUIDBytesMapColumn interface {
	Column
}

type TimeUUIDColumn

type TimeUUIDColumn interface {
	Column
	To(value *gocql.UUID) ColumnBinding
}

type TimeUUIDDecimalMapColumn

type TimeUUIDDecimalMapColumn interface {
	Column
}

type TimeUUIDFloat32MapColumn

type TimeUUIDFloat32MapColumn interface {
	Column
}

type TimeUUIDFloat64MapColumn

type TimeUUIDFloat64MapColumn interface {
	Column
}

type TimeUUIDInt32MapColumn

type TimeUUIDInt32MapColumn interface {
	Column
}

type TimeUUIDInt64MapColumn

type TimeUUIDInt64MapColumn interface {
	Column
}

type TimeUUIDSliceColumn

type TimeUUIDSliceColumn interface {
	ListColumn
	To(value *[]gocql.UUID) ColumnBinding
}

type TimeUUIDStringMapColumn

type TimeUUIDStringMapColumn interface {
	Column
}

type TimeUUIDTimeUUIDMapColumn

type TimeUUIDTimeUUIDMapColumn interface {
	Column
}

type TimeUUIDTimestampMapColumn

type TimeUUIDTimestampMapColumn interface {
	Column
}

type TimeUUIDUUIDMapColumn

type TimeUUIDUUIDMapColumn interface {
	Column
}

type TimeUUIDVarintMapColumn

type TimeUUIDVarintMapColumn interface {
	Column
}

type TimestampBooleanMapColumn

type TimestampBooleanMapColumn interface {
	Column
}

type TimestampBytesMapColumn

type TimestampBytesMapColumn interface {
	Column
}

type TimestampColumn

type TimestampColumn interface {
	Column
	To(value *time.Time) ColumnBinding
}

type TimestampDecimalMapColumn

type TimestampDecimalMapColumn interface {
	Column
}

type TimestampFloat32MapColumn

type TimestampFloat32MapColumn interface {
	Column
}

type TimestampFloat64MapColumn

type TimestampFloat64MapColumn interface {
	Column
}

type TimestampInt32MapColumn

type TimestampInt32MapColumn interface {
	Column
}

type TimestampInt64MapColumn

type TimestampInt64MapColumn interface {
	Column
}

type TimestampSliceColumn

type TimestampSliceColumn interface {
	ListColumn
	To(value *[]time.Time) ColumnBinding
}

type TimestampStringMapColumn

type TimestampStringMapColumn interface {
	Column
}

type TimestampTimeUUIDMapColumn

type TimestampTimeUUIDMapColumn interface {
	Column
}

type TimestampTimestampMapColumn

type TimestampTimestampMapColumn interface {
	Column
}

type TimestampUUIDMapColumn

type TimestampUUIDMapColumn interface {
	Column
}

type TimestampVarintMapColumn

type TimestampVarintMapColumn interface {
	Column
}

type UUIDBooleanMapColumn

type UUIDBooleanMapColumn interface {
	Column
}

type UUIDBytesMapColumn

type UUIDBytesMapColumn interface {
	Column
}

type UUIDColumn

type UUIDColumn interface {
	Column
	To(value *gocql.UUID) ColumnBinding
}

type UUIDDecimalMapColumn

type UUIDDecimalMapColumn interface {
	Column
}

type UUIDFloat32MapColumn

type UUIDFloat32MapColumn interface {
	Column
}

type UUIDFloat64MapColumn

type UUIDFloat64MapColumn interface {
	Column
}

type UUIDInt32MapColumn

type UUIDInt32MapColumn interface {
	Column
}

type UUIDInt64MapColumn

type UUIDInt64MapColumn interface {
	Column
}

type UUIDSliceColumn

type UUIDSliceColumn interface {
	ListColumn
	To(value *[]gocql.UUID) ColumnBinding
}

type UUIDStringMapColumn

type UUIDStringMapColumn interface {
	Column
}

type UUIDTimeUUIDMapColumn

type UUIDTimeUUIDMapColumn interface {
	Column
}

type UUIDTimestampMapColumn

type UUIDTimestampMapColumn interface {
	Column
}

type UUIDUUIDMapColumn

type UUIDUUIDMapColumn interface {
	Column
}

type UUIDVarintMapColumn

type UUIDVarintMapColumn interface {
	Column
}

type UniqueFetchable

type UniqueFetchable interface {
	// Returns true if the statement did return a result, false if it did not.
	FetchOne(*gocql.Session) (bool, error)
}

type Upsertable

type Upsertable interface {
	Table
	SupportsUpsert() bool
}

type VarintBooleanMapColumn

type VarintBooleanMapColumn interface {
	Column
}

type VarintBytesMapColumn

type VarintBytesMapColumn interface {
	Column
}

type VarintColumn

type VarintColumn interface {
	Column
	To(value **big.Int) ColumnBinding
}

type VarintDecimalMapColumn

type VarintDecimalMapColumn interface {
	Column
}

type VarintFloat32MapColumn

type VarintFloat32MapColumn interface {
	Column
}

type VarintFloat64MapColumn

type VarintFloat64MapColumn interface {
	Column
}

type VarintInt32MapColumn

type VarintInt32MapColumn interface {
	Column
}

type VarintInt64MapColumn

type VarintInt64MapColumn interface {
	Column
}

type VarintSliceColumn

type VarintSliceColumn interface {
	ListColumn
	To(value *[]*big.Int) ColumnBinding
}

type VarintStringMapColumn

type VarintStringMapColumn interface {
	Column
}

type VarintTimeUUIDMapColumn

type VarintTimeUUIDMapColumn interface {
	Column
}

type VarintTimestampMapColumn

type VarintTimestampMapColumn interface {
	Column
}

type VarintUUIDMapColumn

type VarintUUIDMapColumn interface {
	Column
}

type VarintVarintMapColumn

type VarintVarintMapColumn interface {
	Column
}

Jump to

Keyboard shortcuts

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