package
0.3.1
Repository: https://github.com/bahadrix/cardinalitycube.git
Documentation: pkg.go.dev

# README

Cardinality Cube

Using as a data structure example

import (
	"github.com/bahadrix/cardinalitycube/cores"
	"github.com/bahadrix/cardinalitycube/cube"
)

func main() {

	hllCube := cube.CreateCube(cores.HLL, &cores.HLLOpts{
		With16Registers:false,
	})

	board := hllCube.GetBoard("sampleBoard", true)
	cell := board.GetCell("login_page", "hit", true)
	cell.Push([]byte("user_1"))

	println(cell.Count())
}

# Packages

No description provided by the author

# Functions

NewBoard creates a new board for given cube.
NewCube creates new cube in the type of give CoreInitiator.
NewRow creates empty row and returns it.

# Structs

Board is a table like data structure which consists of rows.
Cell is constituent part of Cube.
Cube is a data structure consists of cells that allows thread safe parallel operations over them.
Row is a build block of board.

# Type aliases

A BoardSnapshot contains rows data of specific time.
RowSnapshot contains cell names and their accumulated values.
A Snapshot of cube is a map of board snapshots.