com.bigdata.rdf.rules
Class DoNotAddFilter<E extends ISPO>
java.lang.Object
com.bigdata.rdf.spo.SPOFilter<E>
com.bigdata.rdf.rules.DoNotAddFilter<E>
- All Implemented Interfaces:
- IElementFilter<E>, IFilterTest, Serializable
public class DoNotAddFilter<E extends ISPO>
- extends SPOFilter<E>
Filter keeps matched triple patterns generated OUT of the database.
Note: StatementEnum.Explicit triples are always rejected by this
filter so that explicitly asserted triples will always be stored in the
database.
Note: StatementEnum.Axioms are always rejected by this filter so
that they will be stored in the database.
- Version:
- $Id: DoNotAddFilter.java 3696 2010-09-30 14:58:32Z thompsonbry $
- Author:
- Bryan Thompson
- See Also:
- Serialized Form
|
Method Summary |
boolean |
isValid(Object o)
True iff the argument is matched by the filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoNotAddFilter
public DoNotAddFilter(Vocabulary vocab,
Axioms axioms,
boolean forwardChainRdfTypeRdfsResource)
- Parameters:
vocab - The Vocabularyaxioms - The Axioms.forwardChainRdfTypeRdfsResource - true if we generate the entailments for (x
rdf:type rdfs:Resource) when the closure of the database is
updated.
isValid
public boolean isValid(Object o)
- Description copied from interface:
IFilterTest
- True iff the argument is matched by the filter.
- Returns:
- true iff that object is accepted by the filter.
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.