Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hp.hpl.jena.graph.query
Class PatternStageBase

    java.lang.Object
      com.hp.hpl.jena.graph.query.Stage
          com.hp.hpl.jena.graph.query.PatternStageBase

Direct Known Subclasses:
  PatternStage

    public abstract class PatternStageBase

extends Stage

PatternStageBase contains the features that are common to the traditional PatternStage engine and the Faster engine. (Eventually the two will merge back together.) Notable, it:

- remembers the graph
- classifies all the triples according to the factory
- constructs the array of applicable guards

Author:
  hedgehog

Nested Class Summary
`class` | `PatternStageBase.Work`

Field Summary
`static boolean` | `reuseThreads`

Fields inherited from class com.hp.hpl.jena.graph.query.Stage
`stillOpen`

Constructor Summary
`PatternStageBase(QueryNodeFactory factory, Graph graph, Mapping map, ExpressionSet constraints, Triple[] triples)`

Method Summary
`Pipe` | `deliver(Pipe sink)` 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`

Field Detail

### reuseThreads

    public static boolean reuseThreads

Constructor Detail

### PatternStageBase

    public PatternStageBase(QueryNodeFactory factory,
                            Graph graph,
                            Mapping map,
                            ExpressionSet constraints,
                            Triple[] triples)

Method Detail

### deliver

    public Pipe deliver(Pipe sink)

  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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP