com.hp.hpl.jena.graph.query
Interface PatternCompiler

All Known Implementing Classes:
PatternStageCompiler

public interface PatternCompiler

A PatternCompiler is some class that knows how to handle fixed Node values, binding and bound occurences of variables, and wildcards.

Author:
kers

Method Summary
 Element any()
          Method called to deliver a compiled element from a wildcard ANY.
 Element bind(Node n, int index)
          Method called to deliver a compiled element from a binding occurance of a variable Node allocated at a given index position.
 Element bound(Node n, int index)
          Method called to deliver a compiled element from a bound occurance of a variable Node allocated at a given index position.
 Element fixed(Node value)
          Method called to deliver a compiled Element constructed from a constant Node.
 

Method Detail

fixed

Element fixed(Node value)
Method called to deliver a compiled Element constructed from a constant Node.


bound

Element bound(Node n,
              int index)
Method called to deliver a compiled element from a bound occurance of a variable Node allocated at a given index position.


bind

Element bind(Node n,
             int index)
Method called to deliver a compiled element from a binding occurance of a variable Node allocated at a given index position.


any

Element any()
Method called to deliver a compiled element from a wildcard ANY.



Licenced under the Apache License, Version 2.0