com.bigdata.relation.rule.eval
Class EmptyProgramTask

java.lang.Object
  extended by com.bigdata.relation.rule.eval.EmptyProgramTask
All Implemented Interfaces:
IProgramTask, Callable<Object>

public class EmptyProgramTask
extends Object
implements IProgramTask

Provides execution for an "empty" program.

Version:
$Id: EmptyProgramTask.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Constructor Summary
EmptyProgramTask(ActionEnum action, IStep step)
           
 
Method Summary
 Object call()
          The return will be either an IChunkedOrderedIterator (for ActionEnum.Query) or a Long element mutation count (for ActionEnum.Insert or ActionEnum.Delete).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyProgramTask

public EmptyProgramTask(ActionEnum action,
                        IStep step)
Parameters:
action -
step -
Throws:
IllegalArgumentException - if any argument is null.
IllegalArgumentException - unless the step is an empty IProgram.
Method Detail

call

public Object call()
Description copied from interface: IProgramTask
The return will be either an IChunkedOrderedIterator (for ActionEnum.Query) or a Long element mutation count (for ActionEnum.Insert or ActionEnum.Delete).

Specified by:
call in interface IProgramTask
Specified by:
call in interface Callable<Object>


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