public interface IDistinctFilter
IBindingSets.| Modifier and Type | Method and Description |
|---|---|
IBindingSet |
accept(IBindingSet bset)
If the bindings are distinct for the configured variables then return a
new
IBindingSet consisting of only the selected variables. |
long |
filterSolutions(ICloseableIterator<IBindingSet[]> itr,
BOpStats stats,
IBuffer<IBindingSet> sink)
Vectored DISTINCT.
|
IVariable<?>[] |
getProjectedVars()
The variables that are being projected out of the DISTINCT filter.
|
void |
release()
Discard the map backing this filter.
|
IVariable<?>[] getProjectedVars()
IBindingSet accept(IBindingSet bset)
IBindingSet consisting of only the selected variables.bset - The binding set to be filtered.IBindingSet containing only the distinct as bound
values -or- null if the binding set duplicates a
solution which was already accepted.long filterSolutions(ICloseableIterator<IBindingSet[]> itr, BOpStats stats, IBuffer<IBindingSet> sink)
itr - The source solutions.stats - Statistics object to be updated.sink - The sink onto which the DISTINCT solutions will be written.void release()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.