Modifier and Type | Method and Description |
---|---|
Map<Long,KiWiTriple> |
GuavaCacheManager.getTripleCache()
Return the triple id -> triple cache from the cache manager.
|
Map<Long,KiWiTriple> |
CacheManager.getTripleCache()
Return the triple id -> triple cache from the cache manager.
|
Modifier and Type | Method and Description |
---|---|
void |
TripleFunnel.funnel(KiWiTriple kiWiTriple,
com.google.common.hash.PrimitiveSink primitiveSink) |
Modifier and Type | Method and Description |
---|---|
static KiWiTriple |
KiWiIO.readTriple(DataInput input)
Read a KiWiTriple serialized with writeTriple from a DataInput source
|
Modifier and Type | Method and Description |
---|---|
static void |
KiWiIO.writeTriple(DataOutput output,
KiWiTriple triple)
Efficiently serialize a KiWiTriple to a DataOutput destination.
|
Modifier and Type | Field and Description |
---|---|
protected TripleTable<KiWiTriple> |
KiWiConnection.tripleBatch |
Modifier and Type | Method and Description |
---|---|
protected KiWiTriple |
KiWiConnection.constructTripleFromDatabase(ResultSet row)
Construct a KiWiTriple from the result of an SQL query.
|
KiWiTriple |
KiWiConnection.loadTripleById(long id) |
Modifier and Type | Method and Description |
---|---|
protected List<KiWiTriple> |
KiWiConnection.constructTriplesFromDatabase(ResultSet row,
int maxPrefetch)
Construct a batch of KiWiTriples from the result of an SQL query.
|
Modifier and Type | Method and Description |
---|---|
void |
KiWiConnection.deleteTriple(KiWiTriple triple)
Mark the triple passed as argument as deleted, setting the "deleted" flag to true and
updating the timestamp value of "deletedAt".
|
void |
KiWiConnection.storeTriple(KiWiTriple triple)
Store a triple in the database.
|
void |
KiWiConnection.undeleteTriple(KiWiTriple triple)
Mark the triple passed as argument as not deleted, setting the "deleted" flag to false and
clearing the timestamp value of "deletedAt".
|
Modifier and Type | Method and Description |
---|---|
protected Collection<Justification> |
ReasoningEngine.getJustifications(KiWiReasoningConnection connection,
KiWiTriple t,
Set<Justification> transactionJustifications)
Return the justifications for the triple passed as argument.
|
protected static QueryResult |
ReasoningEngine.matches(Pattern pattern,
KiWiTriple triple) |
Constructor and Description |
---|
UnjustifiedTripleException(String message,
KiWiTriple triple)
Constructs a new exception with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
KiWiTriple |
Justification.getTriple() |
Modifier and Type | Method and Description |
---|---|
Set<KiWiTriple> |
Justification.getSupportingTriples() |
Modifier and Type | Method and Description |
---|---|
void |
Justification.setTriple(KiWiTriple triple) |
Modifier and Type | Method and Description |
---|---|
void |
Justification.setSupportingTriples(Set<KiWiTriple> supportingTriples) |
Modifier and Type | Method and Description |
---|---|
Set<KiWiTriple> |
QueryResult.getJustifications() |
Constructor and Description |
---|
QueryResult(Map<VariableField,KiWiNode> bindings,
Set<KiWiTriple> justifications) |
Modifier and Type | Method and Description |
---|---|
info.aduna.iteration.CloseableIteration<KiWiTriple,SQLException> |
KiWiReasoningConnection.listUnsupportedTriples()
List all triples that are not supported by at least one justification.
|
Modifier and Type | Method and Description |
---|---|
void |
KiWiReasoningConnection.deleteJustifications(KiWiTriple triple)
Delete the justifications referring to a certain triple given as argument.
|
info.aduna.iteration.CloseableIteration<Justification,SQLException> |
KiWiReasoningConnection.listJustificationsBySupporting(KiWiTriple triple)
List all justifications supported by the given triple.
|
info.aduna.iteration.CloseableIteration<Justification,SQLException> |
KiWiReasoningConnection.listJustificationsForTriple(KiWiTriple triple)
List all justifications supporting the given triple.
|
Modifier and Type | Method and Description |
---|---|
KiWiTriple |
KiWiSailConnection.addInferredStatement(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj)
Used by the KiWi reasoner, returns the created inferred statement directly.
|
Modifier and Type | Method and Description |
---|---|
Set<KiWiTriple> |
KiWiSailConnection.addStatementInternal(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
boolean inferred,
org.openrdf.model.Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
boolean |
KiWiSailConnection.removeInferredStatement(KiWiTriple triple)
Removes an inferred statement from a specific context.
|
protected void |
KiWiValueFactory.removeStatement(KiWiTriple triple)
Remove a statement from the triple registry.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.