com.bigdata.rdf.rules
Class AbstractRuleFastClosure_3_5_6_7_9.SubPropertiesOfClosureTask

java.lang.Object
  extended by com.bigdata.rdf.rules.AbstractRuleFastClosure_3_5_6_7_9.SubPropertiesOfClosureTask
All Implemented Interfaces:
Callable<Set<Long>>
Enclosing class:
AbstractRuleFastClosure_3_5_6_7_9

public static class AbstractRuleFastClosure_3_5_6_7_9.SubPropertiesOfClosureTask
extends Object
implements Callable<Set<Long>>

Query the database for the sub properties of a given property.

Pre-condition: The closure of rdfs:subPropertyOf has been asserted on the database.

Version:
$Id: AbstractRuleFastClosure_3_5_6_7_9.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
AbstractRuleFastClosure_3_5_6_7_9.SubPropertiesOfClosureTask(IRelation<ISPO> view, IConstant<Long> rdfsSubPropertyOf, IConstant<Long> p)
           
 
Method Summary
 Set<Long> call()
           
 Set<Long> getSubPropertiesOf(IConstant<Long> p)
          Compute the closure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log
Constructor Detail

AbstractRuleFastClosure_3_5_6_7_9.SubPropertiesOfClosureTask

public AbstractRuleFastClosure_3_5_6_7_9.SubPropertiesOfClosureTask(IRelation<ISPO> view,
                                                                    IConstant<Long> rdfsSubPropertyOf,
                                                                    IConstant<Long> p)
Method Detail

call

public Set<Long> call()
Specified by:
call in interface Callable<Set<Long>>

getSubPropertiesOf

public Set<Long> getSubPropertiesOf(IConstant<Long> p)
Compute the closure.

Parameters:
p - The property of interest.
Returns:
The closure.


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.