org.openrdf.sesame.query.rql.model
Class Projection

java.lang.Object
  extended byorg.openrdf.sesame.query.rql.model.Projection
All Implemented Interfaces:
Comparable, Serializable, Value

public class Projection
extends Object
implements Value

An object structure representing an instantiation of a select-clause.

Version:
$Revision: 1.6.4.2 $
Author:
Jeen Broekstra
See Also:
Serialized Form

Constructor Summary
Projection(int size)
           
 
Method Summary
 void add(Value val)
           
 int compareTo(Object o)
           
 boolean equals(Object other)
           
 Value get(int position)
           
 StatementIterator getObjectStatements()
          Gets all statements from the RDF graph for which this value is the object.
 int hashCode()
           
 int size()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Projection

public Projection(int size)
Method Detail

add

public void add(Value val)
         throws IndexOutOfBoundsException
Throws:
IndexOutOfBoundsException

get

public Value get(int position)
          throws IndexOutOfBoundsException
Throws:
IndexOutOfBoundsException

size

public int size()

equals

public boolean equals(Object other)

hashCode

public int hashCode()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getObjectStatements

public StatementIterator getObjectStatements()
                                      throws GraphException
Description copied from interface: Value
Gets all statements from the RDF graph for which this value is the object.

Specified by:
getObjectStatements in interface Value
Throws:
GraphException


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.