public class DistinctFilter extends BOpFilterBase
Note: This is used for the in-memory SPO
distinct filter, but
it is more general and can be applied to any data type that can be
inserted into a set.
Modifier and Type | Class and Description |
---|---|
static interface |
DistinctFilter.Annotations |
static class |
DistinctFilter.DistinctFilterImpl
DISTINCT filter based on Java heap data structures.
|
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
DistinctFilter(BOp[] args,
Map<String,Object> annotations)
Required shallow copy constructor.
|
DistinctFilter(DistinctFilter op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode) . |
Modifier and Type | Method and Description |
---|---|
protected Iterator |
filterOnce(Iterator src,
Object context)
Wrap the source iterator with this filter.
|
static DistinctFilter |
newInstance()
A instance using the default configuration for the in memory hash map.
|
filter
__replaceArg, _clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, get, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getProperty
public DistinctFilter(DistinctFilter op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode)
.public static DistinctFilter newInstance()
protected final Iterator filterOnce(Iterator src, Object context)
BOpFilterBase
filterOnce
in class BOpFilterBase
src
- The source iterator.context
- The iterator evaluation context.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.