Modifier and Type | Method and Description |
---|---|
TripleCollection |
TripleCollectionReader.readFrom(Class<TripleCollection> type,
Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
long |
GraphWriter.getSize(TripleCollection t,
Class<?> type,
Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
GraphWriter.writeTo(TripleCollection t,
Class<?> type,
Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
TripleCollection |
TripleCollectionReader.readFrom(Class<TripleCollection> type,
Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
TripleCollection |
SystemConfig.getTriples(UriRef name) |
Modifier and Type | Method and Description |
---|---|
Graph |
SystemConfig.createGraph(UriRef name,
TripleCollection triples) |
Modifier and Type | Method and Description |
---|---|
TripleCollection |
DocumentationProvider.getTriples(UriRef name) |
Modifier and Type | Method and Description |
---|---|
Graph |
DocumentationProvider.createGraph(UriRef name,
TripleCollection triples) |
Modifier and Type | Method and Description |
---|---|
TripleCollection |
EnrichmentTcProvider.getTriples(UriRef name) |
Modifier and Type | Method and Description |
---|---|
Graph |
EnrichmentTcProvider.createGraph(UriRef name,
TripleCollection triples) |
Modifier and Type | Interface and Description |
---|---|
interface |
Graph
A graph, modeled as a set of triples.
|
interface |
MGraph
A mutable graph
|
Modifier and Type | Interface and Description |
---|---|
interface |
LockableMGraph
Represents an
MGraph that can be locked for reading/writing. |
Modifier and Type | Class and Description |
---|---|
class |
LockableMGraphWrapper
Wrappes an MGraph as a LockableMGraph, this class is used by TcManager to
support TcProviders that do not privide
LockableMGraph . |
class |
SecuredMGraph
A SecuredMGraph is a LockableMGraph that wraps a LockableMGraph checking each
access for the rights on a the graph for which the uri is passed to the
constructor.
|
class |
SecuredTripleCollection
A Secured triple collection wraps a triple collection checking each access
for the rights on a the graph for which the uri is passed to the
constructor.
|
Modifier and Type | Method and Description |
---|---|
TripleCollection |
TcProvider.getTriples(UriRef name)
This method is used to get a
TripleCollection indifferently
whether it's a Graph or an MGraph. |
TripleCollection |
TcManager.getTriples(UriRef name) |
TripleCollection |
TcProviderMultiplexer.getTriples(UriRef name) |
Modifier and Type | Method and Description |
---|---|
Graph |
TcProvider.createGraph(UriRef name,
TripleCollection triples)
Creates a
Graph with a specified name |
Graph |
TcManager.createGraph(UriRef name,
TripleCollection triples) |
Graph |
TcProviderMultiplexer.createGraph(UriRef name,
TripleCollection triples) |
boolean |
TcManager.executeSparqlQuery(AskQuery query,
TripleCollection defaultGraph)
Deprecated.
Query is discontinued
|
Graph |
TcManager.executeSparqlQuery(ConstructQuery query,
TripleCollection defaultGraph)
Deprecated.
Query is discontinued
|
Graph |
TcManager.executeSparqlQuery(DescribeQuery query,
TripleCollection defaultGraph)
Deprecated.
Query is discontinued
|
Object |
TcManager.executeSparqlQuery(Query query,
TripleCollection defaultGraph)
Deprecated.
Query is discontinued
|
ResultSet |
TcManager.executeSparqlQuery(SelectQuery query,
TripleCollection defaultGraph)
Deprecated.
Query is discontinued
|
Object |
TcManager.executeSparqlQuery(String query,
TripleCollection defaultGraph)
Executes any sparql query.
|
Constructor and Description |
---|
SecuredTripleCollection(TripleCollection wrapped,
UriRef name,
TcAccessController tcAccessController) |
Modifier and Type | Method and Description |
---|---|
TripleCollection |
GraphEvent.getGraph()
Returns the
TripleCollection that was modified in the event. |
Constructor and Description |
---|
AddEvent(TripleCollection graph,
Triple triple) |
GraphEvent(TripleCollection graph,
Triple triple) |
RemoveEvent(TripleCollection graph,
Triple triple) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraph
AbstractGraph is an abstract implementation of Graph
implementing the equals and the hashCode methods. |
class |
AbstractMGraph
AbstractMGraph is an abstract implementation of MGraph
implementing the getGraph method. |
class |
AbstractTripleCollection
An abstract implementation of
TripleCollection implementing
iterator and contains calling filter . |
class |
SimpleGraph |
class |
SimpleMGraph |
class |
WriteBlockedMGraph
This is a wrapper object for
MGraph . |
class |
WriteBlockedTripleCollection
This is a wrapper object for
TripleCollection . |
Constructor and Description |
---|
SimpleGraph(TripleCollection tripleCollection)
Creates a graph with the triples in tripleCollection
|
SimpleGraph(TripleCollection tripleCollection,
boolean tripleCollectionWillNeverChange)
Creates a graph with the triples in tripleCollection.
|
WriteBlockedTripleCollection(TripleCollection triples) |
Modifier and Type | Method and Description |
---|---|
static Map<BNode,BNode> |
GraphMatcher.getValidMapping(TripleCollection og1,
TripleCollection og2)
get a mapping from g1 to g2 or null if the graphs are not isomorphic.
|
Modifier and Type | Class and Description |
---|---|
class |
PrivilegedGraphWrapper
Calls the methods of the wrapped
Graph as privileged
code, because they may need permissions like writing to disk or accessing
network. |
class |
PrivilegedMGraphWrapper
Calls the methods of the wrapped
MGraph as privileged
code, because they may need permissions like writing to disk or accessing
network. |
class |
PrivilegedTripleCollectionWrapper
Calls the methods of the wrapped
TripleCollection as privileged
code, because they may need permissions like writing to disk or accessing
network. |
Constructor and Description |
---|
PrivilegedTripleCollectionWrapper(TripleCollection tripleCollection) |
Modifier and Type | Method and Description |
---|---|
void |
SerializingProvider.serialize(OutputStream outputStream,
TripleCollection tc,
String formatIdentifier)
Serializes a
TripleCollection to a specified
OutputStream in the format identified by
formatIdentifier . |
void |
Serializer.serialize(OutputStream serializedGraph,
TripleCollection tc,
String formatIdentifier)
Serializes a Graph into an OutputStream.
|
Modifier and Type | Method and Description |
---|---|
Object |
QueryEngine.execute(TcManager tcManager,
TripleCollection defaultGraph,
Query query)
Deprecated.
|
Object |
QueryEngine.execute(TcManager tcManager,
TripleCollection defaultGraph,
String query)
Executes any sparql query.
|
Modifier and Type | Class and Description |
---|---|
class |
LockableMGraphWrapperForTesting
Wrappes an MGraph as a LockableMGraph.
|
class |
RandomMGraph
A
MGraph wrapper that allows growing and shrinking of
the wrapped mgraph. |
Modifier and Type | Method and Description |
---|---|
TripleCollection |
GraphIndexer.getBaseGraph()
Returns the graph that this GraphIndexer builds an index on.
|
TripleCollection |
GraphIndexer.getDefinitionGraph()
Returns the graph where the index definitions are stored.
|
Constructor and Description |
---|
GraphIndexer(TripleCollection definitionGraph,
TripleCollection baseGraph)
Creates a new in-memory index with default
maxHits . |
GraphIndexer(TripleCollection definitionGraph,
TripleCollection baseGraph,
org.apache.lucene.store.Directory indexDirectory,
boolean createNewIndex)
Creates a new index with default
maxHits . |
GraphIndexer(TripleCollection definitionGraph,
TripleCollection baseGraph,
org.apache.lucene.store.Directory indexDirectory,
boolean createNewIndex,
int maxHits)
Creates a new index.
|
Modifier and Type | Class and Description |
---|---|
class |
EnrichmentTriples
Given a base graph and a set of Enrichers this TripleCollection contains
the triples provided by the enrichers.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Enricher.ResourceFilter.accept(Resource resource,
TripleCollection tc) |
boolean |
OrConnector.accept(Resource resource,
TripleCollection tc) |
abstract Iterator<Triple> |
Enricher.filter(NonLiteral subject,
UriRef predicate,
Resource object,
TripleCollection base)
returns the additional triples to a specified base graph.
|
Set<Resource> |
Enricher.ResourceFilter.getAcceptable(TripleCollection tc) |
abstract int |
Enricher.providedTriplesCount(TripleCollection base)
returns the number of enrichment triples for
base |
Constructor and Description |
---|
EnrichmentTriples(TripleCollection base,
Collection<Enricher> enrichers) |
Modifier and Type | Class and Description |
---|---|
class |
FileMGraph |
Modifier and Type | Method and Description |
---|---|
TripleCollection |
FileTcProvider.getTriples(UriRef name) |
Modifier and Type | Method and Description |
---|---|
Graph |
FileTcProvider.createGraph(UriRef name,
TripleCollection triples) |
Constructor and Description |
---|
JenaGraph(TripleCollection graph) |
Modifier and Type | Method and Description |
---|---|
void |
JenaSerializerProvider.serialize(OutputStream serializedGraph,
TripleCollection tc,
String formatIdentifier) |
Modifier and Type | Method and Description |
---|---|
Object |
JenaSparqlEngine.execute(TcManager tcManager,
TripleCollection defaultGraph,
Query query) |
Object |
JenaSparqlEngine.execute(TcManager tcManager,
TripleCollection defaultGraph,
String query) |
Modifier and Type | Class and Description |
---|---|
class |
JenaGraphAdaptor
An adaptor to expose a Jena Graph as Clerezza MGraph.
|
Modifier and Type | Class and Description |
---|---|
class |
DatasetLockedMGraph
|
Modifier and Type | Method and Description |
---|---|
TripleCollection |
SingleTdbDatasetTcProvider.getTriples(UriRef name) |
TripleCollection |
TdbTcProvider.getTriples(UriRef name) |
Modifier and Type | Method and Description |
---|---|
Graph |
SingleTdbDatasetTcProvider.createGraph(UriRef name,
TripleCollection triples) |
Graph |
TdbTcProvider.createGraph(UriRef name,
TripleCollection triples) |
Modifier and Type | Method and Description |
---|---|
void |
RdfJsonSerializingProvider.serialize(OutputStream serializedGraph,
TripleCollection tc,
String formatIdentifier) |
Modifier and Type | Method and Description |
---|---|
TripleCollection |
SimpleTcProvider.getTriples(UriRef name) |
Modifier and Type | Method and Description |
---|---|
Graph |
SimpleTcProvider.createGraph(UriRef name,
TripleCollection triples) |
Modifier and Type | Method and Description |
---|---|
void |
StableSerializerProvider.serialize(OutputStream os,
TripleCollection tc,
String formatIdentifier) |
Modifier and Type | Method and Description |
---|---|
TripleCollection |
ExternalizingProvider.getTriples(UriRef name) |
Modifier and Type | Method and Description |
---|---|
Graph |
ExternalizingProvider.createGraph(UriRef name,
TripleCollection triples) |
Modifier and Type | Class and Description |
---|---|
class |
UnionMGraph
This class represents the union of multiple triple collections.
|
class |
UriMutatingTripleCollection
This wrapps a Triplecollection changing a prefix for the UriRefs contained
in subject or object position.
|
Modifier and Type | Method and Description |
---|---|
TripleCollection |
GraphNode.getGraph()
Gets the graph the node represented by this instance is in
|
Modifier and Type | Method and Description |
---|---|
static RdfList |
RdfList.createEmptyList(NonLiteral listResource,
TripleCollection tc)
Creates an empty RdfList by writing a triple
"
listResource owl:sameAs rdf.nil ." to tc . |
static void |
MGraphUtils.removeSubGraph(MGraph mGraph,
TripleCollection subGraph)
Removes a subGraph from an MGraph.
|
static void |
Smusher.sameAsSmush(LockableMGraph mGraph,
TripleCollection owlSameStatements) |
static void |
Smusher.sameAsSmush(MGraph mGraph,
TripleCollection owlSameStatements)
Smushes the specified graph adding owl:sameAs statements pointing to the new canonical IRI
|
static void |
Smusher.smush(LockableMGraph mGraph,
TripleCollection tBox) |
static void |
Smusher.smush(MGraph mGraph,
TripleCollection tBox)
smush mGaph given the ontological facts.
|
Constructor and Description |
---|
GraphNode(Resource resource,
TripleCollection graph)
Create a GraphNode representing resource within graph.
|
RdfList(NonLiteral listResource,
TripleCollection tc)
Get a list for the specified resource.
|
UnionMGraph(TripleCollection... baseTripleCollections)
Constructs a UnionMGraph over the specified baseTripleCollections.
|
UriMutatingTripleCollection(TripleCollection base,
String sourcePrefix,
String targetPrefix) |
Modifier and Type | Method and Description |
---|---|
void |
IfpSmusher.smush(LockableMGraph mGraph,
TripleCollection tBox)
smush mGaph given the ontological facts.
|
void |
SameAsSmusher.smush(LockableMGraph mGraph,
TripleCollection owlSameStatements,
boolean addCanonicalSameAsStatements)
This will ensure that all properties of sameAs resources are associated
to the preferedIri as returned by
getPreferedIri |
Modifier and Type | Class and Description |
---|---|
class |
VirtuosoGraph
This is a read-only version of
VirtuosoMGraph |
class |
VirtuosoMGraph
Implementation of MGraph for the Virtuoso quad store.
|
Modifier and Type | Method and Description |
---|---|
TripleCollection |
VirtuosoWeightedProvider.getTriples(UriRef name)
Generic implementation of the get(M)Graph method.
|
Modifier and Type | Method and Description |
---|---|
Graph |
VirtuosoWeightedProvider.createGraph(UriRef name,
TripleCollection triples)
Creates a new graph with the given triples, then returns the readable
(not modifiable) version of the graph
|
Modifier and Type | Method and Description |
---|---|
TripleCollection |
WebAccess.getTriples(UriRef name)
Gets the TripleCollection with specified name
|
Modifier and Type | Method and Description |
---|---|
void |
WebAccess.putTriples(UriRef name,
TripleCollection triples)
Puts the triples replacing the triples of the existing MGraph with the
specified name.
|
Modifier and Type | Method and Description |
---|---|
static TripleCollection |
MetaDataUtils.convertExifToXmp(MetaData<ExifTagDataSet> metaData)
Converts meta data in EXIF format to meta data in XMP format.
|
static TripleCollection |
MetaDataUtils.convertIptcToXmp(MetaData<IptcDataSet> metaData)
Converts meta data in IPTC format to meta data in XMP format.
|
TripleCollection |
MetaDataProcessor.extractXMP(byte[] mediaFile)
Extract XMP meta data from a media file.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
MetaDataProcessor.writeXMP(byte[] mediaFile,
TripleCollection metaData)
Write XMP meta data to a media file.
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.