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

eworks.eRQL.model
Class Literal

java.lang.Object
  extended byeworks.eRQL.model.ModelComponent
      extended byeworks.eRQL.model.Value
          extended byeworks.eRQL.model.Literal

public class Literal
extends Value

Represents literal values.

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

Constructor Summary
Literal(String value)
          Creates a new value with the given string.
 
Method Summary
 Tuples query(RqlEngine rqlEngine)
          Evaluates this literal.
 Tuples query(RqlEngine rqlEngine, boolean poiMode)
          Evaluates this literal.
 String toString()
          Returns the value's string representation.
 
Methods inherited from class eworks.eRQL.model.Value
compact
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Literal

public Literal(String value)
Creates a new value with the given string.

Parameters:
value - The string literal to encapsulate.
Method Detail

toString

public String toString()
Returns the value's string representation.

Overrides:
toString in class ModelComponent
Returns:
the value's string representation.

query

public Tuples query(RqlEngine rqlEngine)
             throws RqlExecutingException
Evaluates this literal.

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

query

public Tuples query(RqlEngine rqlEngine,
                    boolean poiMode)
             throws RqlExecutingException
Evaluates this literal.

Throws:
RqlExecutingException

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