com.hp.hpl.jena.graph.query
Class InitialStage
java.lang.Object
com.hp.hpl.jena.graph.query.Stage
com.hp.hpl.jena.graph.query.InitialStage
public class InitialStage
- extends Stage
The initial stage of a query, responsible for dropping the no-variables-bound seed
binding domain into the remaining stages of the query pipeline.
- Author:
- kers
Fields inherited from class com.hp.hpl.jena.graph.query.Stage |
stillOpen |
Constructor Summary |
InitialStage(int count)
The value passed in is the computed width of the result array(s); this
is used to allocate the seeding node array. |
Method Summary |
void |
close()
|
Pipe |
deliver(Pipe result)
To deliver value into the Pipe result, we drop in a binding array of the correct
width in which all the elements are null, then we close the pipe. |
InitialStage
public InitialStage(int count)
- The value passed in is the computed width of the result array(s); this
is used to allocate the seeding node array.
- Parameters:
count
- the width of the result binding array
close
public void close()
- Overrides:
close
in class Stage
deliver
public Pipe deliver(Pipe result)
- To deliver value into the Pipe result, we drop in a binding array of the correct
width in which all the elements are null, then we close the pipe. Everything else
is spawned by the following stages.
- Specified by:
deliver
in class Stage
Licenced under the Apache License, Version 2.0