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

eworks.eRQL.model
Class Disjunction

java.lang.Object
  extended byeworks.eRQL.model.ModelComponent
      extended byeworks.eRQL.model.Value
          extended byeworks.eRQL.model.Junction
              extended byeworks.eRQL.model.Disjunction

public class Disjunction
extends Junction

Represents a disjunction of subqueries.

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

Field Summary
 
Fields inherited from class eworks.eRQL.model.Junction
values
 
Constructor Summary
Disjunction()
          Creates a new and empty disjunction.
Disjunction(Value value)
          Creates a new disjunction and initializes it with a single value.
Disjunction(Value v1, Value v2)
          Creates a new dicjunction and initializes it with two values.
 
Method Summary
 Tuples query(RqlEngine rqlEngine)
          Evaluates this disjunction and returns the result.
 
Methods inherited from class eworks.eRQL.model.Junction
add, compact, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Disjunction

public Disjunction()
Creates a new and empty disjunction.


Disjunction

public Disjunction(Value value)
Creates a new disjunction and initializes it with a single value.

Parameters:
value - The value for the initialization of the disjunction.

Disjunction

public Disjunction(Value v1,
                   Value v2)
Creates a new dicjunction and initializes it with two values.

Parameters:
v1 - The first value for the initialization of the disjunction.
v2 - The second value for the initialization of the disjunction.
Method Detail

query

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

Specified by:
query in class Value
Parameters:
rqlEngine - The RqlEngine to execute.
Returns:
The subquery's result.
Throws:
RqlExecutingException - if something goes wrong.

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