schema

package
v0.7.2-1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2017 License: Apache-2.0 Imports: 6 Imported by: 203

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