de.fuberlin.wiwiss.d2rq.nodes
Class TypedNodeMaker

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.nodes.TypedNodeMaker
All Implemented Interfaces:
NodeMaker

public class TypedNodeMaker
extends Object
implements NodeMaker


Nested Class Summary
static interface TypedNodeMaker.NodeType
           
 
Field Summary
static TypedNodeMaker.NodeType BLANK
           
static TypedNodeMaker.NodeType PLAIN_LITERAL
           
static TypedNodeMaker.NodeType URI
           
static TypedNodeMaker.NodeType XSD_BOOLEAN
           
static TypedNodeMaker.NodeType XSD_DATE
           
static TypedNodeMaker.NodeType XSD_DATETIME
           
static TypedNodeMaker.NodeType XSD_TIME
           
 
Fields inherited from interface de.fuberlin.wiwiss.d2rq.nodes.NodeMaker
EMPTY
 
Constructor Summary
TypedNodeMaker(TypedNodeMaker.NodeType nodeType, ValueMaker valueMaker, boolean isUnique)
           
 
Method Summary
 void describeSelf(NodeSetFilter c)
           
 boolean isUnique()
           
static TypedNodeMaker.NodeType languageLiteral(String language)
           
 Node makeNode(ResultRow tuple)
           
 List<OrderSpec> orderSpecs(boolean ascending)
          Returns expressions (with possible ASC/DESC marker) that re necessary for ordering a relation by the nodes in this NodeMaker.
 Set<ProjectionSpec> projectionSpecs()
           
 NodeMaker renameAttributes(ColumnRenamer renamer)
           
 NodeMaker selectNode(Node node, RelationalOperators sideEffects)
           
 String toString()
           
static TypedNodeMaker.NodeType typedLiteral(RDFDatatype datatype)
           
 ValueMaker valueMaker()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

URI

public static final TypedNodeMaker.NodeType URI

BLANK

public static final TypedNodeMaker.NodeType BLANK

PLAIN_LITERAL

public static final TypedNodeMaker.NodeType PLAIN_LITERAL

XSD_DATE

public static final TypedNodeMaker.NodeType XSD_DATE

XSD_TIME

public static final TypedNodeMaker.NodeType XSD_TIME

XSD_DATETIME

public static final TypedNodeMaker.NodeType XSD_DATETIME

XSD_BOOLEAN

public static final TypedNodeMaker.NodeType XSD_BOOLEAN
Constructor Detail

TypedNodeMaker

public TypedNodeMaker(TypedNodeMaker.NodeType nodeType,
                      ValueMaker valueMaker,
                      boolean isUnique)
Method Detail

languageLiteral

public static TypedNodeMaker.NodeType languageLiteral(String language)

typedLiteral

public static TypedNodeMaker.NodeType typedLiteral(RDFDatatype datatype)

projectionSpecs

public Set<ProjectionSpec> projectionSpecs()
Specified by:
projectionSpecs in interface NodeMaker

isUnique

public boolean isUnique()
Specified by:
isUnique in interface NodeMaker

describeSelf

public void describeSelf(NodeSetFilter c)
Specified by:
describeSelf in interface NodeMaker

valueMaker

public ValueMaker valueMaker()

makeNode

public Node makeNode(ResultRow tuple)
Specified by:
makeNode in interface NodeMaker

selectNode

public NodeMaker selectNode(Node node,
                            RelationalOperators sideEffects)
Specified by:
selectNode in interface NodeMaker

renameAttributes

public NodeMaker renameAttributes(ColumnRenamer renamer)
Specified by:
renameAttributes in interface NodeMaker

orderSpecs

public List<OrderSpec> orderSpecs(boolean ascending)
Description copied from interface: NodeMaker
Returns expressions (with possible ASC/DESC marker) that re necessary for ordering a relation by the nodes in this NodeMaker. Uses SPARQL semantics for ordering.

Specified by:
orderSpecs in interface NodeMaker

toString

public String toString()
Overrides:
toString in class Object