schema

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexedFields

func IndexedFields() []string

IndexedFields returns a list of indexed fields.

func IsIndexed

func IsIndexed(str string) bool

IsIndexed returns if a given predicate is indexed or not.

func IsReversed added in v0.7.1

func IsReversed(str string) bool

IsReversed returns if a given predicate is reversed or not.

func Parse

func Parse(file string) (rerr error)

Parse parses the schema file.

func ParseBytes

func ParseBytes(schema []byte) (rerr error)

ParseBytes parses the byte array which holds the schema.

func TypeOf

func TypeOf(pred string) (types.TypeID, error)

TypeOf returns the type of given field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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