Enum TripleIndexType
Possible Triple Index types.
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public enum TripleIndexType
Remarks
Index types are given Integer values with the lowest being the least useful index and the highest being most useful index. Non-Index based Patterns are given arbitrary high values since these will typically never be used as these items are usually inserted into a Graph Pattern after the ordering step.
When used to sort Patterns as part of query optimisation the patterns are partially ordered on the usefullness of their index since more useful indexes are considered more likely to return fewer results which will help restrict the query space earlier in the execution process.
Fields
Name | Description |
---|---|
None | No Index should be used as the Pattern is three Variables |
NoVariables | No Index should be used as the Pattern does not use Variables |
Object | Object Index should be used |
Predicate | Predicate Index should be used |
PredicateObject | Predicate-Object Index should be used |
Subject | Subject Index should be used |
SubjectObject | Subject-Object Index should be used |
SubjectPredicate | Subject-Predicate Index should be used |