public abstract class StatementDeduplicator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StatementDeduplicator.ComparisonMethod |
Constructor and Description |
---|
StatementDeduplicator() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.Resource ctx) |
boolean |
add(org.openrdf.model.Statement stmt) |
org.openrdf.rio.RDFHandler |
deduplicate(org.openrdf.rio.RDFHandler handler,
boolean add) |
boolean |
isTotal() |
static StatementDeduplicator |
newChainedDeduplicator(StatementDeduplicator... deduplicators) |
static StatementDeduplicator |
newPartialDeduplicator(StatementDeduplicator.ComparisonMethod method,
int numCachedStatements) |
static StatementDeduplicator |
newTotalDeduplicator(StatementDeduplicator.ComparisonMethod method) |
boolean |
test(org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.Resource ctx) |
boolean |
test(org.openrdf.model.Statement stmt) |
public static StatementDeduplicator newTotalDeduplicator(StatementDeduplicator.ComparisonMethod method)
public static StatementDeduplicator newPartialDeduplicator(StatementDeduplicator.ComparisonMethod method, int numCachedStatements)
public static StatementDeduplicator newChainedDeduplicator(StatementDeduplicator... deduplicators)
public final boolean isTotal()
public final boolean test(org.openrdf.model.Statement stmt)
public final boolean test(org.openrdf.model.Resource subj, org.openrdf.model.URI pred, org.openrdf.model.Value obj, @Nullable org.openrdf.model.Resource ctx)
public final boolean add(org.openrdf.model.Statement stmt)
public final boolean add(org.openrdf.model.Resource subj, org.openrdf.model.URI pred, org.openrdf.model.Value obj, @Nullable org.openrdf.model.Resource ctx)
public final org.openrdf.rio.RDFHandler deduplicate(org.openrdf.rio.RDFHandler handler, boolean add)
Copyright © 2015–2016 FBK-irst. All rights reserved.