|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fuberlin.wiwiss.d2rq.values.BlankNodeID
public class BlankNodeID
A blank node identifier that uniquely identifies all resources generated from a specific ClassMap.
(Note: The implementation makes some assumptions about the Column class to keep the code simple and fast. This means BlankNodeIdentifier might not work with some hypothetical subclasses of Column.)
Field Summary |
---|
Fields inherited from interface de.fuberlin.wiwiss.d2rq.values.ValueMaker |
---|
NULL |
Constructor Summary | |
---|---|
BlankNodeID(String classMapID,
List<Attribute> attributes)
Constructs a new blank node identifier. |
Method Summary | |
---|---|
List<Attribute> |
attributes()
|
String |
classMapID()
|
void |
describeSelf(NodeSetFilter c)
|
String |
makeValue(ResultRow row)
Creates an identifier from a database row. |
boolean |
matches(String value)
|
List<OrderSpec> |
orderSpecs(boolean ascending)
|
Set<ProjectionSpec> |
projectionSpecs()
Returns a set of all ProjectionSpec s containing data necessary
for this ValueSource. |
ValueMaker |
renameAttributes(ColumnRenamer renamer)
|
Expression |
toExpression()
|
String |
toString()
|
Expression |
valueExpression(String value)
A SQL expression that selects only rows where this value maker produces the specified value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlankNodeID(String classMapID, List<Attribute> attributes)
classMapID
- A string that is unique for the class map
whose resources are identified by this BlankNodeIdentifierattributes
- A set of Attribute
s that uniquely
identify the nodesMethod Detail |
---|
public List<Attribute> attributes()
public String classMapID()
public void describeSelf(NodeSetFilter c)
describeSelf
in interface ValueMaker
public boolean matches(String value)
public Expression valueExpression(String value)
ValueMaker
Expression.FALSE
if this
value maker is incapable of producing the value.
valueExpression
in interface ValueMaker
value
- A value
public Set<ProjectionSpec> projectionSpecs()
ValueMaker
ProjectionSpec
s containing data necessary
for this ValueSource.
projectionSpecs
in interface ValueMaker
ProjectionSpec
spublic String makeValue(ResultRow row)
makeValue
in interface ValueMaker
row
- a database row
public ValueMaker renameAttributes(ColumnRenamer renamer)
renameAttributes
in interface ValueMaker
public List<OrderSpec> orderSpecs(boolean ascending)
orderSpecs
in interface ValueMaker
public String toString()
toString
in class Object
public Expression toExpression()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |