com.bigdata.rdf.rules
Class DoNotAddFilter<E extends ISPO>

java.lang.Object
  extended by com.bigdata.rdf.spo.SPOFilter<E>
      extended by 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

Constructor Summary
DoNotAddFilter(Vocabulary vocab, Axioms axioms, boolean forwardChainRdfTypeRdfsResource)
           
 
Method Summary
 boolean isValid(Object o)
          True iff the argument is matched by the filter.
 
Methods inherited from class com.bigdata.rdf.spo.SPOFilter
canAccept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoNotAddFilter

public DoNotAddFilter(Vocabulary vocab,
                      Axioms axioms,
                      boolean forwardChainRdfTypeRdfsResource)
Parameters:
vocab - The Vocabulary
axioms - The Axioms.
forwardChainRdfTypeRdfsResource - true if we generate the entailments for (x rdf:type rdfs:Resource) when the closure of the database is updated.
Method Detail

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.