com.bigdata.rdf.rules
Class AbstractRuleDistinctTermScan.DistinctTermScan

java.lang.Object
  extended by com.bigdata.rdf.rules.AbstractRuleDistinctTermScan.DistinctTermScan
All Implemented Interfaces:
IStepTask, Serializable, Callable<RuleStats>
Enclosing class:
AbstractRuleDistinctTermScan

protected static class AbstractRuleDistinctTermScan.DistinctTermScan
extends Object
implements IStepTask, Serializable

Selects the distinct term identifiers, substituting their binding in the sole unbound variable in the head of the rule.

See Also:
Serialized Form

Constructor Summary
AbstractRuleDistinctTermScan.DistinctTermScan(IRule rule, IJoinNexus joinNexus, IBuffer<ISolution[]> buffer, IVariable<Long> h, SPOKeyOrder keyOrder)
           
 
Method Summary
 RuleStats call()
          Evaluate the rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRuleDistinctTermScan.DistinctTermScan

public AbstractRuleDistinctTermScan.DistinctTermScan(IRule rule,
                                                     IJoinNexus joinNexus,
                                                     IBuffer<ISolution[]> buffer,
                                                     IVariable<Long> h,
                                                     SPOKeyOrder keyOrder)
Parameters:
rule - The rule (may have been specialized).
joinNexus -
buffer - The buffer on which the ISolutions will be written.
h - The sole unbound variable in the head of the rule.
keyOrder - The access path that corresponds to the position of the unbound variable reference from the head.
Method Detail

call

public RuleStats call()
Description copied from interface: IStepTask
Evaluate the rule.

Specified by:
call in interface IStepTask
Specified by:
call in interface Callable<RuleStats>


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