Class FullTextOptimiser
An Algebra Optimiser that ensures that Full Text Query support is available to query evaluation.
Inheritance
System.Object
FullTextOptimiser
Namespace: VDS.RDF.Query.Optimisation
Assembly: dotNetRDF.Query.FullText.dll
Syntax
public class FullTextOptimiser : object, IAlgebraOptimiser, IConfigurationSerializable
Constructors
| Improve this Doc View SourceFullTextOptimiser(IFullTextSearchProvider)
Creates a Full Text Optimiser.
Declaration
public FullTextOptimiser(IFullTextSearchProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IFullTextSearchProvider | provider | Full Text Search Provider. |
Methods
| Improve this Doc View SourceIsApplicable(SparqlQuery)
Returns that the optimiser is applicable to all queries.
Declaration
public bool IsApplicable(SparqlQuery q)
Parameters
Type | Name | Description |
---|---|---|
SparqlQuery | q | Query. |
Returns
Type | Description |
---|---|
System.Boolean |
IsApplicable(SparqlUpdateCommandSet)
Returns that the optimiser is applicable to all updates.
Declaration
public bool IsApplicable(SparqlUpdateCommandSet cmds)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateCommandSet | cmds | Updates. |
Returns
Type | Description |
---|---|
System.Boolean |
Optimise(ISparqlAlgebra)
Optimises the Algebra to apply the FullTextQuery operator which ensures Full Text Query support is available to the query evaluation.
Declaration
public ISparqlAlgebra Optimise(ISparqlAlgebra algebra)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAlgebra | algebra | Algebra to optimise. |
Returns
Type | Description |
---|---|
ISparqlAlgebra |
SerializeConfiguration(ConfigurationSerializationContext)
Serializes the Optimisers Configuration.
Declaration
public void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
Type | Name | Description |
---|---|---|
ConfigurationSerializationContext | context | Serialization Context. |