|
||||||||||
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.)
Constructor Summary | |
---|---|
BlankNodeID(String classMapID,
List attributes)
Constructs a new blank node identifier. |
Method Summary | |
---|---|
Map |
attributeConditions(String anonID)
Extracts column values from a blank node ID string. |
List |
attributes()
|
void |
describeSelf(NodeSetFilter c)
|
String |
makeValue(ResultRow row)
Creates an identifier from a database row. |
boolean |
matches(String anonID)
Checks if a given value fits this source without querying the database. |
Set |
projectionAttributes()
Returns a set of all columns containing data necessary for this ValueSource. |
ValueMaker |
replaceColumns(ColumnRenamer renamer)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlankNodeID(String classMapID, List 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 attributes()
public void describeSelf(NodeSetFilter c)
describeSelf
in interface ValueMaker
public boolean matches(String anonID)
ValueMaker
matches
in interface ValueMaker
public Set projectionAttributes()
ValueMaker
projectionAttributes
in interface ValueMaker
public Map attributeConditions(String anonID)
Attribute
s, the values are strings.
attributeConditions
in interface ValueMaker
anonID
- value to be checked.
ValueMaker.attributeConditions(java.lang.String)
public String makeValue(ResultRow row)
makeValue
in interface ValueMaker
row
- a database row
public ValueMaker replaceColumns(ColumnRenamer renamer)
replaceColumns
in interface ValueMaker
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |