C# Class Ancestry.QueryProcessor.Processor

Inheritance: IProcessor
Afficher le fichier Open project: Ancestry/DotQL

Méthodes publiques

Méthode Description
Evaluate ( System.Guid token, object>.IDictionary args = null ) : EvaluateResult
Evaluate ( string text, object>.IDictionary args = null, QueryOptions options = null ) : EvaluateResult
Execute ( System.Guid token, object>.IDictionary args = null ) : void
Execute ( string text, object>.IDictionary args = null, QueryOptions options = null ) : void
Prepare ( string text, QueryOptions options = null ) : System.Guid
Processor ( ProcessorSettings settings = null ) : System
Unprepare ( Guid token ) : void

Private Methods

Méthode Description
AdHocCall ( CancellationToken>.Action makeCall, QueryOptions options ) : void

All calls pass through this method.

This handles enforcement of SLA and other cross-cutting concerns.

EnforceLimits ( QueryOptions actualOptions ) : void

Adjusts the limits according to policy.

InternalExecute ( string text, object>.IDictionary args, QueryOptions actualOptions, CancellationToken cancelToken ) : EvaluateResult

Method Details

Evaluate() public méthode

public Evaluate ( System.Guid token, object>.IDictionary args = null ) : EvaluateResult
token System.Guid
args object>.IDictionary
Résultat EvaluateResult

Evaluate() public méthode

public Evaluate ( string text, object>.IDictionary args = null, QueryOptions options = null ) : EvaluateResult
text string
args object>.IDictionary
options QueryOptions
Résultat EvaluateResult

Execute() public méthode

public Execute ( System.Guid token, object>.IDictionary args = null ) : void
token System.Guid
args object>.IDictionary
Résultat void

Execute() public méthode

public Execute ( string text, object>.IDictionary args = null, QueryOptions options = null ) : void
text string
args object>.IDictionary
options QueryOptions
Résultat void

Prepare() public méthode

public Prepare ( string text, QueryOptions options = null ) : System.Guid
text string
options QueryOptions
Résultat System.Guid

Processor() public méthode

public Processor ( ProcessorSettings settings = null ) : System
settings ProcessorSettings
Résultat System

Unprepare() public méthode

public Unprepare ( Guid token ) : void
token Guid
Résultat void