Class FullTextOptimiser
An Algebra Optimiser that ensures that Full Text Query support is available to query evaluation.
Inherited Members
Namespace: VDS.RDF.Query.Optimisation
Assembly: dotNetRdf.Query.FullText.dll
Syntax
public class FullTextOptimiser : IAlgebraOptimiser, IConfigurationSerializable
Constructors
| Edit this page View SourceFullTextOptimiser(IFullTextSearchProvider)
Creates a Full Text Optimiser.
Declaration
public FullTextOptimiser(IFullTextSearchProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IFull |
provider | Full Text Search Provider. |
Properties
| Edit this page View SourceUnsafeOptimisation
Determines whether an Optimiser will perform algebra optimizations that are potentially unsafe at execution time.
Declaration
public bool UnsafeOptimisation { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceIsApplicable(SparqlQuery)
Returns that the optimiser is applicable to all queries.
Declaration
public bool IsApplicable(SparqlQuery q)
Parameters
Type | Name | Description |
---|---|---|
Sparql |
q | Query. |
Returns
Type | Description |
---|---|
bool |
IsApplicable(SparqlUpdateCommandSet)
Returns that the optimiser is applicable to all updates.
Declaration
public bool IsApplicable(SparqlUpdateCommandSet cmds)
Parameters
Type | Name | Description |
---|---|---|
Sparql |
cmds | Updates. |
Returns
Type | Description |
---|---|
bool |
Optimise(ISparqlAlgebra)
Optimises the Algebra to apply the Full
Declaration
public ISparqlAlgebra Optimise(ISparqlAlgebra algebra)
Parameters
Type | Name | Description |
---|---|---|
ISparql |
algebra | Algebra to optimise. |
Returns
Type | Description |
---|---|
ISparql |
SerializeConfiguration(ConfigurationSerializationContext)
Serializes the Optimisers Configuration.
Declaration
public void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
Type | Name | Description |
---|---|---|
Configuration |
context | Serialization Context. |