com.bigdata.rdf.rules
Class MappedProgram

java.lang.Object
  extended by com.bigdata.relation.rule.Program
      extended by com.bigdata.rdf.rules.MappedProgram
All Implemented Interfaces:
IProgram, IStep, Serializable

public class MappedProgram
extends Program

Program automatically maps the rules added across the combination of the database (the relation named on the rule) and the focusStore.

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

Field Summary
 
Fields inherited from class com.bigdata.relation.rule.Program
log
 
Constructor Summary
MappedProgram(String name, String focusStore, boolean parallel, boolean closure)
           
 
Method Summary
 void addStep(IStep step)
          Extended to add the N steps that map the given step across the database and the focusStore.
protected  TMUtility getTMUtility()
          Allow subclasses to use a different TM Utility.
 
Methods inherited from class com.bigdata.relation.rule.Program
addClosureOf, addClosureOf, addSteps, getName, getQueryOptions, isClosure, isParallel, isRule, stepCount, steps, toArray, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MappedProgram

public MappedProgram(String name,
                     String focusStore,
                     boolean parallel,
                     boolean closure)
Parameters:
name -
focusStore - Identifies the relation containing the data to be asserted or retracted (optional). When null the steps are not transformed as they are added to the program.
parallel -
closure -
Method Detail

getTMUtility

protected TMUtility getTMUtility()
Allow subclasses to use a different TM Utility.

Returns:
TMUtility instance

addStep

public void addStep(IStep step)
Extended to add the N steps that map the given step across the database and the focusStore.

Overrides:
addStep in class Program
Parameters:
step - The step.


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