Class AggregateTerm
Class for representing Aggregate Expressions which have Numeric Results.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Expressions.Primary
Assembly: dotNetRdf.dll
Syntax
public class AggregateTerm : BaseUnaryExpression, ISparqlExpression
Constructors
| Improve this Doc View SourceAggregateTerm(ISparqlAggregate)
Creates a new Aggregate Expression Term that uses the given Aggregate.
Declaration
public AggregateTerm(ISparqlAggregate aggregate)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAggregate | aggregate | Aggregate. |
Properties
| Improve this Doc View SourceAggregate
Gets the Aggregate this Expression represents.
Declaration
public ISparqlAggregate Aggregate { get; }
Property Value
Type | Description |
---|---|
ISparqlAggregate |
Arguments
Gets the Arguments of the Expression.
Declaration
public override IEnumerable<ISparqlExpression> Arguments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><ISparqlExpression> |
Overrides
| Improve this Doc View SourceCanParallelise
Gets whether the expression can be parallelised.
Declaration
public override bool CanParallelise { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceFunctor
Gets the Functor of the Expression.
Declaration
public override string Functor { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
| Improve this Doc View SourceType
Gets the Type of the Expression.
Declaration
public override SparqlExpressionType Type { get; }
Property Value
Type | Description |
---|---|
SparqlExpressionType |
Overrides
| Improve this Doc View SourceVariables
Gets the enumeration of variables that are used in the the aggregate expression.
Declaration
public override IEnumerable<string> Variables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><string> |
Overrides
Methods
| Improve this Doc View SourceAccept<T>(ISparqlExpressionVisitor<T>)
Declaration
public override T Accept<T>(ISparqlExpressionVisitor<T> visitor)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpressionVisitor<T> | visitor |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Overrides
VDS.RDF.Query.Expressions.BaseUnaryExpression.Accept<T>(VDS.RDF.Query.ISparqlExpressionVisitor<T>)
|
Improve this Doc
View Source
Accept<TResult, TContext, TBinding>(ISparqlExpressionProcessor<TResult, TContext, TBinding>, TContext, TBinding)
Declaration
public override TResult Accept<TResult, TContext, TBinding>(ISparqlExpressionProcessor<TResult, TContext, TBinding> processor, TContext context, TBinding binding)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpressionProcessor<TResult, TContext, TBinding> | processor | |
TContext | context | |
TBinding | binding |
Returns
Type | Description |
---|---|
TResult |
Type Parameters
Name | Description |
---|---|
TResult | |
TContext | |
TBinding |
Overrides
VDS.RDF.Query.Expressions.BaseUnaryExpression.Accept<TResult, TContext, TBinding>(VDS.RDF.Query.ISparqlExpressionProcessor<TResult, TContext, TBinding>, TContext, TBinding)
|
Improve this Doc
View Source
ToString()
Gets the String representation of the Aggregate Expression.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
| Improve this Doc View SourceTransform(IExpressionTransformer)
Transforms the Expression using the given Transformer.
Declaration
public override ISparqlExpression Transform(IExpressionTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
IExpressionTransformer | transformer | Expression Transformer. |
Returns
Type | Description |
---|---|
ISparqlExpression |