eRqlEngine API documentation - http://www.wleklinski.de/rdf/

eworks.eRQL.model
Class StatementQuery

java.lang.Object
  extended byeworks.eRQL.model.ModelComponent
      extended byeworks.eRQL.model.Value
          extended byeworks.eRQL.model.Query
              extended byeworks.eRQL.model.StatementQuery

public class StatementQuery
extends Query

A specialized query class for socalled "statement queries".

Version:
1.00 (2003-11-03)
Author:
Fabian Wleklinski (fabian@wleklinski.de)

Field Summary
 
Fields inherited from class eworks.eRQL.model.Query
value
 
Constructor Summary
StatementQuery()
          Creates an empty statement query.
StatementQuery(Value value)
          Creates an statement query and encapsulated the given value.
 
Method Summary
 Value compact()
          Compacts this query and returns the result.
 Tuples query(RqlEngine rqlEngine)
          Evaluates this query and returns the result using the given rqlEngine.
 String toString()
          Returns this query's string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatementQuery

public StatementQuery()
Creates an empty statement query.


StatementQuery

public StatementQuery(Value value)
Creates an statement query and encapsulated the given value.

Method Detail

toString

public String toString()
Returns this query's string representation.

Overrides:
toString in class Query
Returns:
this query's string representation.

compact

public Value compact()
Compacts this query and returns the result.

Overrides:
compact in class Query
Returns:
the compacted query.

query

public Tuples query(RqlEngine rqlEngine)
             throws RqlExecutingException
Evaluates this query and returns the result using the given rqlEngine.

Overrides:
query in class Query
Returns:
the query's result.
Throws:
RqlExecutingException - if something goes wrong.

eRqlEngine API documentation - http://www.wleklinski.de/rdf/