metadata

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cardinality

type Cardinality string
const (
	BoundedFitsInLocalStorage      Cardinality = "bounded_fits_in_local_storage"
	BoundedDoesntFitInLocalStorage Cardinality = "bounded_doesnt_fit_in_local_storage"
	Unbounded                      Cardinality = "unbounded"
)

func CombineCardinalities

func CombineCardinalities(cardinalities ...Cardinality) Cardinality

type Namespace added in v0.3.0

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

func EmptyNamespace added in v0.3.0

func EmptyNamespace() *Namespace

func NewNamespace added in v0.3.0

func NewNamespace(prefixes []string) *Namespace

func (*Namespace) AddPrefix added in v0.3.0

func (nm *Namespace) AddPrefix(prefix string)

func (*Namespace) Contains added in v0.3.0

func (nm *Namespace) Contains(other *Namespace) bool

func (*Namespace) DoesContainName added in v0.3.0

func (nm *Namespace) DoesContainName(name octosql.VariableName) bool

func (*Namespace) DoesContainPrefix added in v0.3.0

func (nm *Namespace) DoesContainPrefix(prefix string) bool

func (*Namespace) Equal added in v0.3.0

func (nm *Namespace) Equal(other *Namespace) bool

func (*Namespace) MergeWith added in v0.3.0

func (nm *Namespace) MergeWith(other *Namespace)

type NodeMetadata

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

func NewNodeMetadata

func NewNodeMetadata(cardinality Cardinality, eventTimeField octosql.VariableName, namespace *Namespace) *NodeMetadata

func NewNodeMetadataFromMetadata added in v0.3.0

func NewNodeMetadataFromMetadata(meta *NodeMetadata) *NodeMetadata

func (*NodeMetadata) Cardinality

func (meta *NodeMetadata) Cardinality() Cardinality

func (*NodeMetadata) EventTimeField added in v0.3.0

func (meta *NodeMetadata) EventTimeField() octosql.VariableName

func (*NodeMetadata) Namespace added in v0.3.0

func (meta *NodeMetadata) Namespace() *Namespace

Jump to

Keyboard shortcuts

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