aggregate

package
v0.6.29 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregate

type Aggregate struct {
	Type       string
	Name       string
	Table      Key
	Views      []Key
	ViewParams []string
	FieldNames []string
	FieldsCql  map[string]string
	FieldsGo   map[string]string
	HasIndex   bool
}

func (*Aggregate) FuncArgs

func (m *Aggregate) FuncArgs(keyPrefix string, key Key) string

func (*Aggregate) FuncArgsCKs

func (m *Aggregate) FuncArgsCKs(keyPrefix string, key Key) string

func (*Aggregate) FuncArgsPKs

func (m *Aggregate) FuncArgsPKs(keyPrefix string, key Key) string

type Generator added in v0.5.25

type Generator struct {
	// contains filtered or unexported fields
}

func New added in v0.5.25

func (*Generator) Generate added in v0.5.25

func (g *Generator) Generate()

type Key

type Key struct {
	PKs    []string
	CKs    []string
	Orders []string
}

func (*Key) Checksum

func (k *Key) Checksum() uint32

func (*Key) ChecksumPKs

func (k *Key) ChecksumPKs(keyPrefix string, sep string, lowerCamel bool) uint32

func (*Key) Keys

func (k *Key) Keys() []string

func (*Key) String

func (k *Key) String(prefix string, sep string, lowerCamel bool) string

func (*Key) StringCKs

func (k *Key) StringCKs(prefix string, sep string, lowerCamel bool) string

func (*Key) StringPKs

func (k *Key) StringPKs(prefix string, sep string, lowerCamel bool) string

Jump to

Keyboard shortcuts

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