de.fuberlin.wiwiss.d2rq.nodes
Class DetermineNodeType

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.nodes.DetermineNodeType
All Implemented Interfaces:
NodeSetFilter

public class DetermineNodeType
extends Object
implements NodeSetFilter


Constructor Summary
DetermineNodeType()
           
 
Method Summary
 RDFDatatype getDatatype()
           
 String getLanguage()
           
 boolean isLimittedToBlankNodes()
           
 boolean isLimittedToLiterals()
           
 boolean isLimittedToURIs()
           
 void limitTo(Node node)
          Limits this node set to one particular node.
 void limitToBlankNodes()
          Limits this node set to blank nodes.
 void limitToEmptySet()
          Limits the node set to the empty set.
 void limitToLiterals(String language, RDFDatatype datatype)
          Limits this node set to literals having a particular language tag and datatype.
 void limitToURIs()
          Limits this node set to URI nodes.
 void limitValues(String constant)
          Limits this node set to the node that has a particular constant value.
 void limitValuesToAttribute(Attribute attribute)
          Limits this node set to those whose value matches a value in a particular database table column.
 void limitValuesToBlankNodeID(BlankNodeID id)
          Limits this node set to nodes whose value matches the values produced by a blank node ID.
 void limitValuesToExpression(Expression expression)
          Limits this node set to nodes whose value matches the given SQL expression.
 void limitValuesToPattern(Pattern pattern)
          Limits this node set to nodes whose value matches the values produced by a pattern.
 void setUsesTranslator(Translator translator)
          Registers the use of a translator to create values in this node set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetermineNodeType

public DetermineNodeType()
Method Detail

isLimittedToURIs

public boolean isLimittedToURIs()

getDatatype

public RDFDatatype getDatatype()

getLanguage

public String getLanguage()

isLimittedToBlankNodes

public boolean isLimittedToBlankNodes()

isLimittedToLiterals

public boolean isLimittedToLiterals()

limitTo

public void limitTo(Node node)
Description copied from interface: NodeSetFilter
Limits this node set to one particular node.

Specified by:
limitTo in interface NodeSetFilter
Parameters:
node - A fixed singleton node

limitToBlankNodes

public void limitToBlankNodes()
Description copied from interface: NodeSetFilter
Limits this node set to blank nodes.

Specified by:
limitToBlankNodes in interface NodeSetFilter

limitToEmptySet

public void limitToEmptySet()
Description copied from interface: NodeSetFilter
Limits the node set to the empty set.

Specified by:
limitToEmptySet in interface NodeSetFilter

limitToLiterals

public void limitToLiterals(String language,
                            RDFDatatype datatype)
Description copied from interface: NodeSetFilter
Limits this node set to literals having a particular language tag and datatype.

Specified by:
limitToLiterals in interface NodeSetFilter
Parameters:
language - The language tag of all nodes in the set, or null for plain or datatype literals
datatype - The datatype of all nodes in the set, or null for plain literals

limitToURIs

public void limitToURIs()
Description copied from interface: NodeSetFilter
Limits this node set to URI nodes.

Specified by:
limitToURIs in interface NodeSetFilter

limitValues

public void limitValues(String constant)
Description copied from interface: NodeSetFilter
Limits this node set to the node that has a particular constant value.

Specified by:
limitValues in interface NodeSetFilter
Parameters:
constant - The value of the node in this set

limitValuesToAttribute

public void limitValuesToAttribute(Attribute attribute)
Description copied from interface: NodeSetFilter
Limits this node set to those whose value matches a value in a particular database table column.

Specified by:
limitValuesToAttribute in interface NodeSetFilter
Parameters:
attribute - The attribute containing possible values

limitValuesToBlankNodeID

public void limitValuesToBlankNodeID(BlankNodeID id)
Description copied from interface: NodeSetFilter
Limits this node set to nodes whose value matches the values produced by a blank node ID.

Specified by:
limitValuesToBlankNodeID in interface NodeSetFilter
Parameters:
id - The blank node ID producing possible values

limitValuesToExpression

public void limitValuesToExpression(Expression expression)
Description copied from interface: NodeSetFilter
Limits this node set to nodes whose value matches the given SQL expression.

Specified by:
limitValuesToExpression in interface NodeSetFilter
Parameters:
expression - The SQL expression that generates possible values

limitValuesToPattern

public void limitValuesToPattern(Pattern pattern)
Description copied from interface: NodeSetFilter
Limits this node set to nodes whose value matches the values produced by a pattern.

Specified by:
limitValuesToPattern in interface NodeSetFilter
Parameters:
pattern - The pattern producing possible values

setUsesTranslator

public void setUsesTranslator(Translator translator)
Description copied from interface: NodeSetFilter
Registers the use of a translator to create values in this node set.

Specified by:
setUsesTranslator in interface NodeSetFilter
Parameters:
translator - A translator used to create values in this node set