org.openanzo.server.repository.graph
Class MetaDataRepositoryGraph

java.lang.Object
  extended by org.openanzo.server.repository.graph.MetaDataRepositoryGraph

public class MetaDataRepositoryGraph
extends java.lang.Object

Materialization of metadata for a NamedGraph

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
MetaDataRepositoryGraph()
           
 
Method Summary
static java.lang.Iterable<Quad> findQuads(RepositoryConnection repositoryConnection, org.openrdf.model.Resource subj, org.openrdf.model.URI prop, org.openrdf.model.Value obj, java.lang.Long namedGraphId, boolean includeInferredStatements, java.lang.Long lastTransactionTime, boolean defaultGraphs)
          Find the set of quads that match the statement pattern
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataRepositoryGraph

public MetaDataRepositoryGraph()
Method Detail

findQuads

public static java.lang.Iterable<Quad> findQuads(RepositoryConnection repositoryConnection,
                                                 org.openrdf.model.Resource subj,
                                                 org.openrdf.model.URI prop,
                                                 org.openrdf.model.Value obj,
                                                 java.lang.Long namedGraphId,
                                                 boolean includeInferredStatements,
                                                 java.lang.Long lastTransactionTime,
                                                 boolean defaultGraphs)
                                          throws AnzoException
Find the set of quads that match the statement pattern

Parameters:
repositoryConnection - connection to database
subj - subject to find, or null for wildcard
prop - property to find, or null for wildcard
obj - object to find, or null for wildcard
namedGraphId - ID of namedgraph
includeInferredStatements - include inferred statements in results
lastTransactionTime - timestamp of last transaction to include in search
defaultGraphs - if namedGraphId is null, use default graphs temp table or namedGraph temp table
Returns:
the set of quads that match the statement pattern
Throws:
AnzoException


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