Show / Hide Table of Contents

Interface IQueryFormatter

Interface for classes which can format SPARQL Queries into Strings.
Inherited Members
INodeFormatter.Format(INode)
INodeFormatter.Format(INode, Nullable<TripleSegment>)
IUriFormatter.FormatUri(Uri)
IUriFormatter.FormatUri(String)
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRDF.dll
Syntax
public interface IQueryFormatter : INodeFormatter, IUriFormatter

Methods

| Improve this Doc View Source

Format(GraphPattern)

Formats a Graph Pattern into a String.
Declaration
string Format(GraphPattern gp)
Parameters
Type Name Description
GraphPattern gp Graph Pattern.
Returns
Type Description
System.String
| Improve this Doc View Source

Format(ITriplePattern)

Formats a Triple Pattern into a String.
Declaration
string Format(ITriplePattern tp)
Parameters
Type Name Description
ITriplePattern tp Triple Pattern.
Returns
Type Description
System.String
| Improve this Doc View Source

Format(PatternItem, Nullable<TripleSegment>)

Formats a Triple Pattern item into a String.
Declaration
string Format(PatternItem item, TripleSegment? segment)
Parameters
Type Name Description
PatternItem item Pattern Item.
System.Nullable<TripleSegment> segment Segment of the Triple Pattern in which the Item appears.
Returns
Type Description
System.String
| Improve this Doc View Source

Format(SparqlQuery)

Formats a SPARQL Query into a String.
Declaration
string Format(SparqlQuery query)
Parameters
Type Name Description
SparqlQuery query SPARQL Query.
Returns
Type Description
System.String

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Format(GraphPattern)
    • Format(ITriplePattern)
    • Format(PatternItem, Nullable<TripleSegment>)
    • Format(SparqlQuery)
  • Extension Methods
Back to top Generated by DocFX