Documentation ¶
Overview ¶
Package nquads is deprecated. Use github.com/cayleygraph/quad/nquads.
Index ¶
- Variables
- func Parse(statement string) (quad.Quad, error)deprecated
- func ParseRaw(statement string) (quad.Quad, error)deprecated
- type Readerdeprecated
- type Writerdeprecated
- func NewWriter(w io.Writer) *Writerdeprecated
Constants ¶
This section is empty.
Variables ¶
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.
var DecodeRaw = nquads.DecodeRaw
Functions ¶
func Parse
deprecated
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
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
Reader implements N-Quad document parsing according to the RDF 1.1 N-Quads specification.
Deprecated: use github.com/cayleygraph/quad/nquads package instead.
type Writer
deprecated
added in
v0.6.1
Writer implements N-Quad document generator according to the RDF 1.1 N-Quads specification.
Deprecated: use github.com/cayleygraph/quad/nquads package instead.