com.bigdata.relation.rule.eval
Interface IRuleTaskFactory
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- DefaultRuleTaskFactory, RunRuleAndFlushBufferTaskFactory
public interface IRuleTaskFactory
- extends Serializable
A factory for objects that handle the execution of an IRule. This
interface is Serializable since instances of the interface must
travel with the IRule to which they are attached.
- Version:
- $Id: IRuleTaskFactory.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
newTask
IStepTask newTask(IRule rule,
IJoinNexus joinNexus,
IBuffer<ISolution[]> buffer)
- The object will be used to evaluate the rule for the
IRule.
- Parameters:
rule - The rule (MAY have been specialized since it was declared).joinNexus - Encapsulates various important information required for join
operations.buffer - The buffer onto which chunks of computed ISolutions
for the IRule must be written.
- Returns:
null unless custom evaluation is desired.
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.