org.openanzo.common.rdb.layout
Class NodeCentricSchema.Quad

java.lang.Object
  extended by org.openanzo.common.rdb.layout.NodeCentricSchema.Quad
Enclosing class:
NodeCentricSchema

public static class NodeCentricSchema.Quad
extends java.lang.Object

Define the table schema for storing quads


Nested Class Summary
static class NodeCentricSchema.Quad.ColumnNames
          Define the column names for storing quads
 
Constructor Summary
NodeCentricSchema.Quad(java.lang.String tableName)
          Define the constants for table storing quads
 
Method Summary
 Column getID()
          Get the column that represents the statement's ID
 Column getMeta()
          Get the column that represents the statement's metadata URI
 Match getMetaConstraint()
          Get the metadata flag constraint for this quad table
 Column getNG()
          Get the column that represents the statement's NamedGraph URI
 Match getNGConstraint()
          Get the named graph constraint for this quad table
 Column getObj()
          Get the column that represents the statement's object
 Match getObjConstraint()
          Get the object constraint for this quad table
 Column getProp()
          Get the column that represents the statement's property
 Match getPropConstraint()
          Get the property constraint for this quad table
 Column getSubj()
          Get the column that represents the statement's subject
 Match getSubjConstraint()
          Get the subject constraint for this quad table
 Table getTable()
          Get the table for this schema
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCentricSchema.Quad

public NodeCentricSchema.Quad(java.lang.String tableName)
Define the constants for table storing quads

Parameters:
tableName - name of the table that stores quads
Method Detail

getNGConstraint

public Match getNGConstraint()
Get the named graph constraint for this quad table

Returns:
the named graph constraint for this quad table

getMetaConstraint

public Match getMetaConstraint()
Get the metadata flag constraint for this quad table

Returns:
the metadata flag constraint for this quad table

getSubjConstraint

public Match getSubjConstraint()
Get the subject constraint for this quad table

Returns:
the subject constraint for this quad table

getPropConstraint

public Match getPropConstraint()
Get the property constraint for this quad table

Returns:
the property constraint for this quad table

getObjConstraint

public Match getObjConstraint()
Get the object constraint for this quad table

Returns:
the object constraint for this quad table

getTable

public Table getTable()
Get the table for this schema

Returns:
the table for this schema

getID

public Column getID()
Get the column that represents the statement's ID

Returns:
the column that represents the statement's ID

getNG

public Column getNG()
Get the column that represents the statement's NamedGraph URI

Returns:
the column that represents the statement's NamedGraph URI

getMeta

public Column getMeta()
Get the column that represents the statement's metadata URI

Returns:
the column that represents the statement's metadata URI

getSubj

public Column getSubj()
Get the column that represents the statement's subject

Returns:
the column that represents the statement's subject

getProp

public Column getProp()
Get the column that represents the statement's property

Returns:
the column that represents the statement's property

getObj

public Column getObj()
Get the column that represents the statement's object

Returns:
the column that represents the statement's object


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.