|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.server.repository.graph.RdfMap
public class RdfMap
Maps the Anzo RDF structures to the Anzo relational database schema. This is a hard coded mapping used by the Query Grounding code ('org.openanzo.model.repository.querybuilder') to dynamically determine which tables and columns to query when looking for statements matching a triple pattern. A couple things complicate the RDF to relational data mapping: - There are significant differences in how Anzo data is represented in RDF and how it is stored - Access control limits what statements are visible to the user performing a query This code builds on both the 'sqlscribe' code (SqlQuery class, etc..) and the query groundings code (SubjectGrounding, PredicateGrounding and ObjectGrounding, etc.. classes).
| Nested Class Summary | |
|---|---|
static class |
RdfMap.AclHistory
Grounding and constraint definitions for Acl queries |
static class |
RdfMap.NamedGraphs
Grounding and constraint definitions for NamedGraph queries |
static class |
RdfMap.RoleHistory
Grounding and constraint definitions for Role/SubRole queries |
static class |
RdfMap.UserHistory
Grounding and constraint definitions for User queries |
static class |
RdfMap.UserRoleHistory
Grounding and constraint definitions for UserRole queries |
| Field Summary | |
|---|---|
static java.lang.String |
endVar
Variable name for hend |
static Literal |
FALSE
Literal value for FALS |
static java.lang.String |
namedGraphIdVar
Variable name for NamedGraphId |
static java.lang.String |
startVar
Variable name for hstart |
static java.lang.String |
tempGraphsName
Alias name for temporary graph table |
static Literal |
TRUE
Literal value for TRUE |
| Constructor Summary | |
|---|---|
RdfMap()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String namedGraphIdVar
public static final java.lang.String startVar
public static final java.lang.String endVar
public static final java.lang.String tempGraphsName
public static final Literal TRUE
public static final Literal FALSE
| Constructor Detail |
|---|
public RdfMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||