pquads

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 4 Imported by: 155

Documentation

Overview

Package pquads is deprecated. Use github.com/cayleygraph/quad/pquads.

Index

Constants

View Source
const ContentType = pquads.ContentType

Variables

View Source
var (
	ErrInvalidLengthQuads = pquads.ErrInvalidLengthQuads
	ErrIntOverflowQuads   = pquads.ErrIntOverflowQuads
)
View Source
var DefaultMaxSize = pquads.DefaultMaxSize

Functions

func MarshalValue deprecated

func MarshalValue(v quad.Value) ([]byte, error)

MarshalValue is a helper for serialization of quad.Value.

Deprecated: use github.com/cayleygraph/quad/pquads package instead.

func UnmarshalValue deprecated

func UnmarshalValue(data []byte) (quad.Value, error)

UnmarshalValue is a helper for deserialization of quad.Value.

Deprecated: use github.com/cayleygraph/quad/pquads package instead.

Types

type Header = pquads.Header

type Options

type Options = pquads.Options

type Quad deprecated

type Quad = pquads.Quad

Quad is in internal representation of quad used by Cayley.

Deprecated: use github.com/cayleygraph/quad/pquads package instead.

func MakeQuad deprecated

func MakeQuad(q quad.Quad) *Quad

MakeQuad converts quad.Quad to its protobuf representation.

Deprecated: use github.com/cayleygraph/quad/pquads package instead.

type Reader

type Reader = pquads.Reader

func NewReader deprecated

func NewReader(r io.Reader, maxSize int) *Reader

NewReader creates protobuf quads decoder.

MaxSize argument limits maximal size of the buffer used to read quads.

Deprecated: use github.com/cayleygraph/quad/pquads package instead.

type StrictQuad deprecated

type StrictQuad = pquads.StrictQuad

StrictQuad is a quad as described by RDF spec.

Deprecated: use github.com/cayleygraph/quad/pquads package instead.

type StrictQuad_Ref

type StrictQuad_Ref = pquads.StrictQuad_Ref

type StrictQuad_Ref_BnodeLabel

type StrictQuad_Ref_BnodeLabel = pquads.StrictQuad_Ref_BnodeLabel

type StrictQuad_Ref_Iri

type StrictQuad_Ref_Iri = pquads.StrictQuad_Ref_Iri

type Value

type Value = pquads.Value

func MakeValue deprecated

func MakeValue(qv quad.Value) *Value

MakeValue converts quad.Value to its protobuf representation.

Deprecated: use github.com/cayleygraph/quad/pquads package instead.

type Value_Bnode

type Value_Bnode = pquads.Value_Bnode

type Value_Boolean

type Value_Boolean = pquads.Value_Boolean

type Value_Float

type Value_Float = pquads.Value_Float

type Value_Int

type Value_Int = pquads.Value_Int

type Value_Iri

type Value_Iri = pquads.Value_Iri

type Value_LangStr

type Value_LangStr = pquads.Value_LangStr

type Value_LangString

type Value_LangString = pquads.Value_LangString

type Value_Raw

type Value_Raw = pquads.Value_Raw

type Value_Str

type Value_Str = pquads.Value_Str

type Value_Time

type Value_Time = pquads.Value_Time

type Value_Timestamp

type Value_Timestamp = pquads.Value_Timestamp

type Value_TypedStr

type Value_TypedStr = pquads.Value_TypedStr

type Value_TypedString

type Value_TypedString = pquads.Value_TypedString

type WireQuad deprecated

type WireQuad = pquads.WireQuad

WireQuad is a quad that allows any value for it's directions.

Deprecated: use github.com/cayleygraph/quad/pquads package instead.

type Writer

type Writer = pquads.Writer

func NewWriter deprecated

func NewWriter(w io.Writer, opts *Options) *Writer

NewWriter creates protobuf quads encoder.

Deprecated: use github.com/cayleygraph/quad/pquads package instead.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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