R
- The generic type of the elements presented to the filter.public class ElementFilter<R> extends TupleFilter<R>
IElementFilter
constraint with
ITupleFilter
so that the IElementFilter
can be evaluated
close to the data by an ITupleIterator
.TupleFilter.TupleFilterator<E>
Constructor and Description |
---|
ElementFilter(IElementFilter<R> test) |
ElementFilter(IFilterTest test) |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(ITuple<R> tuple) |
static <R> IFilter |
newInstance(IElementFilter<R> test)
Helper method conditionally wraps the test.
|
static <R> IFilter |
newInstance(IFilterTest test)
Helper method conditionally wraps the test.
|
String |
toString()
Human readable representation of the filter chain.
|
filterOnce
addFilter, filter, getProperty, getRequiredProperty, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty
public ElementFilter(IElementFilter<R> test)
public ElementFilter(IFilterTest test)
public static <R> IFilter newInstance(IElementFilter<R> test)
R
- test
- The test.null
iff the test is
null
.public static <R> IFilter newInstance(IFilterTest test)
R
- test
- The test.null
iff the test is
null
.public boolean isValid(ITuple<R> tuple)
isValid
in class TupleFilter<R>
public String toString()
Extended to show a human readable representation of the test.
toString
in class FilterBase
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.