Class Writer<Q>

Type Parameters

  • Q extends RDF.BaseQuad = RDF.Quad

Constructors

  • Type Parameters

    • Q extends BaseQuad = Quad

    Parameters

    • Optionaloptions: WriterOptions

    Returns Writer<Q>

  • Type Parameters

    • Q extends BaseQuad = Quad

    Parameters

    • fd: any
    • Optionaloptions: WriterOptions

    Returns Writer<Q>

Methods

  • Parameters

    • prefix: string
    • iri: string | NamedNode<string>
    • Optionaldone: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • prefixes: Prefixes<string | NamedNode<string>>
    • Optionaldone: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • subject: Q["subject"]
    • predicate: Q["predicate"]
    • object: Q["object"] | Q["object"][]
    • Optionalgraph: Q["graph"]
    • Optionaldone: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • quad: Quad

    Returns void

  • Parameters

    • quads: Quad[]

    Returns void

  • Parameters

    • predicate: Q["predicate"]
    • object: Q["object"]

    Returns BlankNode

  • Parameters

    • triple:
          | Quad
          | Quad[]
          | BlankTriple<Quad>
          | BlankTriple<Quad>[]

    Returns BlankNode

  • Parameters

    • Optionalerr: ErrorCallback
    • Optionalresult: string

    Returns void

  • Parameters

    • triple: Q["object"][]

    Returns Quad_Object[]

  • Parameters

    • subject: Q["subject"]
    • predicate: Q["predicate"]
    • object: Q["object"]
    • Optionalgraph: Q["graph"]

    Returns string

  • Parameters

    • quads: Quad[]

    Returns string