Show / Hide Table of Contents

Class DataTableHandler

RDF Handler which turns triples into rows in a Data Table
Inheritance
System.Object
BaseHandler
BaseRdfHandler
DataTableHandler
Implements
IRdfHandler
INodeFactory
Inherited Members
BaseRdfHandler.StartRdf()
BaseRdfHandler.StartRdfInternal()
BaseRdfHandler.EndRdf(Boolean)
BaseRdfHandler.EndRdfInternal(Boolean)
BaseRdfHandler.HandleNamespace(String, Uri)
BaseRdfHandler.HandleNamespaceInternal(String, Uri)
BaseRdfHandler.HandleBaseUri(Uri)
BaseRdfHandler.HandleBaseUriInternal(Uri)
BaseRdfHandler.HandleTriple(Triple)
BaseHandler.NodeFactory
BaseHandler.CreateBlankNode()
BaseHandler.CreateBlankNode(String)
BaseHandler.CreateGraphLiteralNode()
BaseHandler.CreateGraphLiteralNode(IGraph)
BaseHandler.CreateLiteralNode(String, Uri)
BaseHandler.CreateLiteralNode(String)
BaseHandler.CreateLiteralNode(String, String)
BaseHandler.CreateUriNode(Uri)
BaseHandler.CreateVariableNode(String)
BaseHandler.GetNextBlankNodeID()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Data.DataTables
Assembly: dotNetRDF.Data.DataTables.dll
Syntax
public class DataTableHandler : BaseRdfHandler, IRdfHandler, INodeFactory

Constructors

| Improve this Doc View Source

DataTableHandler(DataTable)

Creates a new Handler for a given Data Table using the default column names
Declaration
public DataTableHandler(DataTable table)
Parameters
Type Name Description
System.Data.DataTable table Data Table
| Improve this Doc View Source

DataTableHandler(DataTable, String, String, String)

Creates a new Handler for a given Data Table with custom column names
Declaration
public DataTableHandler(DataTable table, string subjColName, string predColName, string objColName)
Parameters
Type Name Description
System.Data.DataTable table Data Table
System.String subjColName Subject Column Name
System.String predColName Predicate Column Name
System.String objColName Object Column Name

Fields

| Improve this Doc View Source

_table

Data Table into which Triples will be converted to rows
Declaration
protected DataTable _table
Field Value
Type Description
System.Data.DataTable
| Improve this Doc View Source

DefaultObjectColumn

Constants for Default Column Names
Declaration
public const string DefaultObjectColumn = "Object"
Field Value
Type Description
System.String
| Improve this Doc View Source

DefaultPredicateColumn

Constants for Default Column Names
Declaration
public const string DefaultPredicateColumn = "Predicate"
Field Value
Type Description
System.String
| Improve this Doc View Source

DefaultSubjectColumn

Constants for Default Column Names
Declaration
public const string DefaultSubjectColumn = "Subject"
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

AcceptsAll

Indicates that the Handler accepts all triples
Declaration
public override bool AcceptsAll { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseRdfHandler.AcceptsAll

Methods

| Improve this Doc View Source

HandleTripleInternal(Triple)

Handles a Triple by turning it into a row in the Data Table
Declaration
protected override bool HandleTripleInternal(Triple t)
Parameters
Type Name Description
Triple t Triple
Returns
Type Description
System.Boolean
Overrides
BaseRdfHandler.HandleTripleInternal(Triple)
Remarks
To customize how a Triple is converted into a row in the table derive from this class and override this method

Implements

IRdfHandler
INodeFactory

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • DataTableHandler(DataTable)
    • DataTableHandler(DataTable, String, String, String)
  • Fields
    • _table
    • DefaultObjectColumn
    • DefaultPredicateColumn
    • DefaultSubjectColumn
  • Properties
    • AcceptsAll
  • Methods
    • HandleTripleInternal(Triple)
  • Implements
  • Extension Methods
Back to top Generated by DocFX