Class FixedCardinality
Represents a Fixed Cardinality restriction on a Path.
Implements
Inherited Members
Namespace: VDS.RDF.Query.Paths
Assembly: dotNetRdf.dll
Syntax
public class FixedCardinality : Cardinality, ISparqlPath
Constructors
| Edit this page View SourceFixedCardinality(ISparqlPath, int)
Creates a new Fixed Cardinality restriction.
Declaration
public FixedCardinality(ISparqlPath path, int n)
Parameters
Type | Name | Description |
---|---|---|
ISparqlPath | path | Path. |
int | n | N. |
Properties
| Edit this page View SourceMaxCardinality
Gets the Maximum Cardinality of the Path.
Declaration
public override int MaxCardinality { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
| Edit this page View SourceMinCardinality
Gets the Minimum Cardinality of the Path.
Declaration
public override int MinCardinality { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
| Edit this page View SourceToAlgebra(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
| Edit this page View SourceToString()
Gets the String representation of the Path.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |