containers

package
v0.0.0-...-fe13e1c Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Container object Implementations (like I-Database).

Index

Constants

This section is empty.

Variables

View Source
var Undefined = fmt.Errorf("undefined")

Functions

This section is empty.

Types

type Database

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

func (*Database) Add

func (d *Database) Add(tab sql.Table)

func (*Database) Name

func (d *Database) Name() string

func (*Database) SetName

func (d *Database) SetName(name string)

func (*Database) Tables

func (d *Database) Tables() map[string]sql.Table

type DummyTable

type DummyTable struct {
	ItsName   string
	ItsSchema sql.Schema
}

A Table for dummy traffic.

func (*DummyTable) Name

func (x *DummyTable) Name() string

func (*DummyTable) PartitionRows

func (x *DummyTable) PartitionRows(*sql.Context, sql.Partition) (sql.RowIter, error)

func (*DummyTable) Partitions

func (x *DummyTable) Partitions(*sql.Context) (sql.PartitionIter, error)

func (*DummyTable) Schema

func (x *DummyTable) Schema() sql.Schema

func (*DummyTable) String

func (x *DummyTable) String() string

type IndexValueIter

type IndexValueIter [][]byte

func (*IndexValueIter) Close

func (p *IndexValueIter) Close() error

func (*IndexValueIter) Next

func (p *IndexValueIter) Next() ([]byte, error)

type Partition

type Partition string

func (Partition) Key

func (p Partition) Key() []byte

type PartitionIter

type PartitionIter []sql.Partition

func (*PartitionIter) Close

func (p *PartitionIter) Close() error

func (*PartitionIter) Next

func (p *PartitionIter) Next() (sql.Partition, error)

type PrimaryKeyLookup

type PrimaryKeyLookup struct {
	Index string
	Key   []byte
}

func (*PrimaryKeyLookup) Indexes

func (p *PrimaryKeyLookup) Indexes() []string

func (*PrimaryKeyLookup) Values

Jump to

Keyboard shortcuts

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