Show / Hide Table of Contents

Class FixedCardinality

Represents a Fixed Cardinality restriction on a Path.
Inheritance
System.Object
BaseUnaryPath
Cardinality
FixedCardinality
Implements
ISparqlPath
Inherited Members
BaseUnaryPath._path
BaseUnaryPath.Path
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)
Namespace: VDS.RDF.Query.Paths
Assembly: dotNetRDF.dll
Syntax
public class FixedCardinality : Cardinality, ISparqlPath

Constructors

| Improve this Doc View Source

FixedCardinality(ISparqlPath, Int32)

Creates a new Fixed Cardinality restriction.
Declaration
public FixedCardinality(ISparqlPath path, int n)
Parameters
Type Name Description
ISparqlPath path Path.
System.Int32 n N.

Properties

| Improve this Doc View Source

MaxCardinality

Gets the Maximum Cardinality of the Path.
Declaration
public override int MaxCardinality { get; }
Property Value
Type Description
System.Int32
Overrides
Cardinality.MaxCardinality
| Improve this Doc View Source

MinCardinality

Gets the Minimum Cardinality of the Path.
Declaration
public override int MinCardinality { get; }
Property Value
Type Description
System.Int32
Overrides
Cardinality.MinCardinality

Methods

| Improve this Doc View Source

ToAlgebra(PathTransformContext)

Converts a Path into its Algebra Form.
Declaration
public override ISparqlAlgebra ToAlgebra(PathTransformContext context)
Parameters
Type Name Description
PathTransformContext context Path Transformation Context.
Returns
Type Description
ISparqlAlgebra
Overrides
BaseUnaryPath.ToAlgebra(PathTransformContext)
| Improve this Doc View Source

ToString()

Gets the String representation of the Path.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
BaseUnaryPath.ToString()

Implements

ISparqlPath

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FixedCardinality(ISparqlPath, Int32)
  • Properties
    • MaxCardinality
    • MinCardinality
  • Methods
    • ToAlgebra(PathTransformContext)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX