com.hp.hpl.jena.graph.query
Class PatternStage

java.lang.Object
  extended by com.hp.hpl.jena.graph.query.Stage
      extended by com.hp.hpl.jena.graph.query.PatternStage

public class PatternStage
extends Stage

A PatternStage is a Stage that handles some bunch of related patterns; those patterns are encoded as Triples.

Author:
hedgehog

Constructor Summary
PatternStage(Graph graph, Mapping map, ExpressionSet constraints, Triple[] triples)
           
 
Method Summary
 Pipe deliver(Pipe result)
          execute the pipeline and pump the results into _sink_; this is asynchronous.
 
Methods inherited from class com.hp.hpl.jena.graph.query.Stage
close, connectFrom, initial, isClosed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternStage

public PatternStage(Graph graph,
                    Mapping map,
                    ExpressionSet constraints,
                    Triple[] triples)
Method Detail

deliver

public Pipe deliver(Pipe result)
Description copied from class: Stage
execute the pipeline and pump the results into _sink_; this is asynchronous. deliver that same _sink_ as our result. (This allows the sink to be created as the argument to _deliver_.)

Specified by:
deliver in class Stage


Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP