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

java.lang.Object
  extended byorg.openrdf.sesame.query.rql.model.DataPathSelector
All Implemented Interfaces:
Selector

public class DataPathSelector
extends Object
implements Selector


Constructor Summary
DataPathSelector(DataVar sourceVar, PropertyVar propVar, DataVar targetVar, boolean propIsExtended)
          Creates a new DataPathSelector.
 
Method Summary
 void clear()
          Clears the Selector.
 PropertyVar getPropertyVar()
           
 DataVar getSourceVar()
           
 DataVar getTargetVar()
           
 void initialize(RdfSchemaSource rss)
          Gives the Selector the opportunity to initialize itself.
 boolean selectNext(RdfSchemaSource rss)
          Selects the next values.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataPathSelector

public DataPathSelector(DataVar sourceVar,
                        PropertyVar propVar,
                        DataVar targetVar,
                        boolean propIsExtended)
Creates a new DataPathSelector. The parameter 'propIsExtended' determines whether an extended interpretation of the property value in 'propVar' should be taken. Extended interpretation means that the property's sub properties will also be searched for.

Method Detail

getPropertyVar

public PropertyVar getPropertyVar()

getSourceVar

public DataVar getSourceVar()

getTargetVar

public DataVar getTargetVar()

initialize

public void initialize(RdfSchemaSource rss)
Description copied from interface: Selector
Gives the Selector the opportunity to initialize itself.

Specified by:
initialize in interface Selector

selectNext

public boolean selectNext(RdfSchemaSource rss)
Description copied from interface: Selector
Selects the next values. Returns true if the selection was successful, false otherwise.

Specified by:
selectNext in interface Selector

clear

public void clear()
Description copied from interface: Selector
Clears the Selector. The Selector will release all resources it is currently using. After the Selector has been cleared it should be reusable by re-initializing it.

Specified by:
clear in interface Selector

toString

public String toString()


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