|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteworks.RQL.model.ProjectionList
Represents a list of Projection
-instances, that is the list
of variables that are part of a query's result (other variables may be bound
as well, but will not be returned as the query's result). This aspect and
terminology is copied from database query languages like SQL.
Projection
,
The RDF Query Language (RQL)Constructor Summary | |
ProjectionList()
Creates a new and empty projection list. |
|
ProjectionList(Projection projection)
Creates a new projection list and encapsulates a certain projection. |
Method Summary | |
void |
add(Projection projection)
Adds a new projection to this projection list. |
Projection |
get(int i)
Returns the i-th projection that is encapsulated by this projection list. |
int |
getLength()
Returns the number of projections encapsulated by this projection list. |
String |
toString()
Returns this projection list's string representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProjectionList()
public ProjectionList(Projection projection)
projection
- The projection list's only encapsulated projection.Method Detail |
public int getLength()
public Projection get(int i)
i
- The number of the projection to return.
getLength()
).
ArrayIndexOutOfBoundsException
- if i
is negative or not
lower than getLength()
.getLength()
public void add(Projection projection)
projection
- The projection to add.public String toString()
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |