public class DCDStreamingTermStore extends StreamingTermStore<DCDObjectiveTerm>
activeIterator, atomManager, INITIAL_PATH_CACHE_SIZE, initialRound, numObservedAtoms, numPages, numRandomVariableAtoms, pageDir, pageSize, randomizePageAccess, rules, shuffleMap, shufflePage, termBuffer, termCache, termCount, termGenerator, termPagePaths, termPool, totalVariableCount, variableAtoms, variables, variableValues, volatileBuffer, volatilePagePaths, warnRules
Constructor and Description |
---|
DCDStreamingTermStore(List<Rule> rules,
AtomManager atomManager,
DCDTermGenerator dcdTermGenerator) |
Modifier and Type | Method and Description |
---|---|
protected StreamingIterator<DCDObjectiveTerm> |
getCacheIterator()
Get an iterator that will read and write from disk.
|
protected StreamingIterator<DCDObjectiveTerm> |
getGroundingIterator()
Get an iterator that will perform grounding queries and write pages to disk.
|
protected StreamingIterator<DCDObjectiveTerm> |
getNoWriteIterator()
Get an iterator that will not write to disk.
|
protected boolean |
supportsRule(Rule rule,
boolean warnRules)
Check if this term store supports this rule.
|
add, cacheIterationComplete, clear, close, createLocalVariable, ensureCapacity, ensureVariableCapacity, estimateVariableCapacity, get, getNumObservedVariables, getNumRandomVariables, getNumVariables, getTermPagePath, getVariableAtoms, getVariableIndex, getVariables, getVariableValue, getVariableValues, getVolatilePagePath, groundingIterationComplete, initForOptimization, isInitialRound, isLoaded, iterationComplete, iterator, noWriteIterator, rejectCacheTerm, reset, size, streamingIterator, syncAtoms, variablesExternallyUpdated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public DCDStreamingTermStore(List<Rule> rules, AtomManager atomManager, DCDTermGenerator dcdTermGenerator)
protected boolean supportsRule(Rule rule, boolean warnRules)
StreamingTermStore
supportsRule
in class StreamingTermStore<DCDObjectiveTerm>
protected StreamingIterator<DCDObjectiveTerm> getGroundingIterator()
StreamingTermStore
getGroundingIterator
in class StreamingTermStore<DCDObjectiveTerm>
protected StreamingIterator<DCDObjectiveTerm> getCacheIterator()
StreamingTermStore
getCacheIterator
in class StreamingTermStore<DCDObjectiveTerm>
protected StreamingIterator<DCDObjectiveTerm> getNoWriteIterator()
StreamingTermStore
getNoWriteIterator
in class StreamingTermStore<DCDObjectiveTerm>
Copyright © 2022 University of California, Santa Cruz. All rights reserved.