schema

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2018 License: AGPL-3.0, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init added in v0.7.3

func Init(ps *badger.ManagedDB)

func Load added in v0.9.0

func Load(predicate string) error

func LoadFromDb added in v0.7.3

func LoadFromDb() error

LoadFromDb reads schema information from db and stores it in memory

func Parse

func Parse(s string) ([]*intern.SchemaUpdate, error)

Parse parses a schema string and returns the schema representation for it.

func ParseBytes

func ParseBytes(s []byte, gid uint32) (rerr error)

ParseBytes parses the byte array which holds the schema. We will reset all the globals. Overwrites schema blindly - called only during initilization in testing

func State added in v0.7.3

func State() *state

SateFor returns the schema for given group

Types

This section is empty.

Jump to

Keyboard shortcuts

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