|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectGrounding
Abstract grounding for RDF objects (either resource or literal) to relational database columns and fixed values for use in the query builder framework. Each ObjectGrounding implementation should provide a grounding for one of the following: a column type in the relational database, such as a 'dateTime' column or a column able to store RDF resource URIs. a fixed value such as the RDF type URI of whatever the subject of the statement is.
ObjectGrounding.RdbColumn,
ObjectGrounding.FixedValue| Nested Class Summary | |
|---|---|
static class |
ObjectGrounding.FixedRdfValue
Implementation of the FixedValue grounding |
static interface |
ObjectGrounding.FixedValue
Object grounding for an RDF resources with a fixed value. |
static interface |
ObjectGrounding.RdbColumn
Interface for ObjectGroundings that can: convert to and from database values and RDF objects. |
| Field Summary | |
|---|---|
static ObjectGrounding.RdbColumn |
RdfValue
Maps an RDB column storing an Anzo database encoded node (either Resource or Literal) to a Anzo Value. |
static ObjectGrounding.RdbColumn |
Resource
Maps an RDF column storing a uri to an Anzo Resource. |
| Method Summary | |
|---|---|
boolean |
isValidObject(org.openrdf.model.Value value)
Returns true if the given RDF value is compatible with the column type of the ObjectGrounding instance. |
| Field Detail |
|---|
static final ObjectGrounding.RdbColumn RdfValue
static final ObjectGrounding.RdbColumn Resource
| Method Detail |
|---|
boolean isValidObject(org.openrdf.model.Value value)
value - value to determine compatibility
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||