nquads

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: 3 Imported by: 51

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var AutoConvertTypedString = nquads.AutoConvertTypedString

AutoConvertTypedString allows to convert TypedString values to native equivalents directly while parsing. It will call ToNative on all TypedString values.

If conversion error occurs, it will preserve original TypedString value.

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

View Source
var DecodeRaw = nquads.DecodeRaw

Functions

func Parse deprecated

func Parse(statement string) (quad.Quad, error)

ParseTyped returns a valid quad.Quad or a non-nil error. ParseTyped does handle comments except where the comment placement does not prevent a complete valid quad.Quad from being defined.

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

func ParseRaw deprecated added in v0.6.1

func ParseRaw(statement string) (quad.Quad, error)

ParseRaw returns a valid quad.Quad or a non-nil error. ParseRaw does handle comments except where the comment placement does not prevent a complete valid quad.Quad from being defined.

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

Types

type Reader deprecated added in v0.6.1

type Reader = nquads.Reader

Reader implements N-Quad document parsing according to the RDF 1.1 N-Quads specification.

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

func NewReader deprecated added in v0.6.1

func NewReader(r io.Reader, raw bool) *Reader

NewReader returns an N-Quad decoder that takes its input from the provided io.Reader.

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

type Writer deprecated added in v0.6.1

type Writer = nquads.Writer

Writer implements N-Quad document generator according to the RDF 1.1 N-Quads specification.

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

func NewWriter deprecated added in v0.6.1

func NewWriter(w io.Writer) *Writer

NewWriter returns an N-Quad encoder that writes its output to the provided io.Writer.

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

Jump to

Keyboard shortcuts

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