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

eworks.eRQL.model
Class Conjunction

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

public class Conjunction
extends Junction

Represents a conjunction 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
Conjunction()
          Creates a new and empty conjunction.
Conjunction(Value value)
          Creates a new conjunction and initializes it with a single value.
Conjunction(Value v1, Value v2)
          Creates a new conjunction 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

Conjunction

public Conjunction()
Creates a new and empty conjunction.


Conjunction

public Conjunction(Value value)
Creates a new conjunction and initializes it with a single value.

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

Conjunction

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

Parameters:
v1 - The first value for the initialization of the conjunction.
v2 - The second value for the initialization of the conjunction.
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/