com.bigdata.rdf.rules
Class AbstractRuleFastClosure_3_5_6_7_9

java.lang.Object
  extended by com.bigdata.relation.rule.Rule
      extended by com.bigdata.rdf.rules.AbstractRuleFastClosure_3_5_6_7_9
All Implemented Interfaces:
IRule, IStep, Serializable
Direct Known Subclasses:
AbstractRuleFastClosure_5_6_7_9, RuleFastClosure3

public abstract class AbstractRuleFastClosure_3_5_6_7_9
extends Rule

Rule used in steps 3, 5, 6, 7, and 9 of the fast forward closure program.

    (?x, {P}, ?y) -> (?x, propertyId, ?y)
 
where {P} is the closure of the subproperties of one of the FIVE (5) reserved keywords: The caller MUST define an IRuleTaskFactory that provides a concrete implementation of AbstractRuleFastClosure_3_5_6_7_9.FastClosureRuleTask which knows how to compute "{P}" when they instantiate this rule.

Version:
$Id: AbstractRuleFastClosure_3_5_6_7_9.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Nested Class Summary
protected static class AbstractRuleFastClosure_3_5_6_7_9.FastClosureRuleTask
          Custom rule execution task.
static class AbstractRuleFastClosure_3_5_6_7_9.SubPropertiesOfClosureTask
          Query the database for the sub properties of a given property.
static class AbstractRuleFastClosure_3_5_6_7_9.SubPropertyClosureTask
          Computes the set of possible sub properties of rdfs:subPropertyOf (P).
 
Field Summary
 
Fields inherited from class com.bigdata.relation.rule.Rule
DEBUG, INFO, log
 
Constructor Summary
AbstractRuleFastClosure_3_5_6_7_9(String name, String relationName, IConstant<Long> rdfsSubPropertyOf, IConstant<Long> propertyId, IRuleTaskFactory taskFactory)
           
 
Method Summary
 
Methods inherited from class com.bigdata.relation.rule.Rule
getConstants, getConstraint, getConstraintCount, getConstraints, getHead, getName, getQueryOptions, getSharedVars, getSharedVars, getTail, getTail, getTailCount, getTaskFactory, getVariableCount, getVariableCount, getVariables, isConsistent, isDeclared, isFullyBound, isFullyBound, isRule, specialize, specialize, toString, toString, var
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractRuleFastClosure_3_5_6_7_9

public AbstractRuleFastClosure_3_5_6_7_9(String name,
                                         String relationName,
                                         IConstant<Long> rdfsSubPropertyOf,
                                         IConstant<Long> propertyId,
                                         IRuleTaskFactory taskFactory)
Parameters:
propertyId -
taskFactory - An implementation returning a concrete instance of AbstractRuleFastClosure_3_5_6_7_9.FastClosureRuleTask.


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.