Uses of Class
com.semedy.reasoner.api.edb.ExtensionalDB
Package
Description
-
Uses of ExtensionalDB in com.semedy.reasoner.api.core
Modifier and TypeMethodDescriptionCore.getExtensionalDB()
returns the extensional database (store for facts)DeductiveDatabase.getSnapshotEDB()
get the extensional database for snapshotsModifier and TypeMethodDescriptionvoid
DebuggingMonitor.considerEDBRelations
(IntensionalDB idb, ExtensionalDB[] edbs) DeductiveDatabase.query
(InterruptFlag interruptFlag, List<Rule> queries, int maxNumberOfResults, ReasoningMonitor monitor, ExtensionalDB[] additionalEDBs, IntensionalDB[] additionalIDBs, boolean skipAnswers, Configuration config, Properties builtinConfig) Pose a query and several rules.ModifierConstructorDescriptionMaterializationReceiver
(InterruptFlag interruptFlag, Literal literal, DeductiveDatabase ddb, ExtensionalDB edb, SymbolTable symbols, SymbolTable reasoningSymbols) -
Uses of ExtensionalDB in com.semedy.reasoner.api.edb
Modifier and TypeMethodDescriptionRelationFactory.createRelation
(String predicate, int arity, long[] grounds, int number, ExtensionalDB edb) create a relation.void
Loader.setParameters
(ExtensionalDB edb, InvertedIndices invertedIndices, Map<String, Long> counts, Map<String, Integer> predicateToIndex, Map<String, String> indexToPredicates, ExternalDataTypeProvider datatypes, SymbolTable symbols, long size, String[] setProperties, Configuration config) ModifierConstructorDescriptionFileSorter
(Map<String, String> indexToPredicate, Map<String, Partitioning> partitions, InvertedIndices invertedIndices, String tempDir, ExtensionalDB edb) LoaderProvider
(ExtensionalDB edb, InvertedIndices invertedIndices, String tempDir, Configuration config) Partitioning
(ExtensionalDB extensionalDB, String predicate, List<Literal> filters, String dir) -
Uses of ExtensionalDB in com.semedy.reasoner.api.reasoning
Modifier and TypeMethodDescriptionvoid
Reasoner.compile
(IntensionalDB idb, ExtensionalDB[] edbs, ReasoningMonitor monitor, SystemMonitor smonitor, boolean topdown, int maxNumberOfResults, boolean streamReasoning, boolean streamReasoningWithRetracts) compile rules for the reasoning processvoid
DefaultReasoningMonitor.considerEDBRelations
(IntensionalDB idb, ExtensionalDB[] edbs) void
ReasoningMonitor.considerEDBRelations
(IntensionalDB idb, ExtensionalDB[] edbs) upfront determining all relevant edb relationsboolean
Reasoner.test
(Reader in, SymbolTable baseTable, ExternalDataTypeProvider datatypes, ExtensionalDB edb, boolean topdown, String path, BuiltinProvider builtinProvider, RewriterProvider rewriterProvider, Configuration config, Properties prp) Testing the evaluation. -
Uses of ExtensionalDB in com.semedy.reasoner.api.rewriter
Modifier and TypeMethodDescriptionRewriterProvider.applyRewriter
(IntensionalDB input, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, BuiltinProvider builtins, SystemMonitor statistics, Configuration config, Properties prp) Apply rewriters of rewriterList in that sequence which is given by their indices and indicated by their enumerationRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) applies the rewriter to a set of rules -
Uses of ExtensionalDB in com.semedy.reasoner.app
Modifier and TypeMethodDescriptionvoid
DebuggingMonitor.considerEDBRelations
(IntensionalDB idb, ExtensionalDB[] edbs) -
Uses of ExtensionalDB in com.semedy.reasoner.builtin
-
Uses of ExtensionalDB in com.semedy.reasoner.builtin.action
Modifier and TypeMethodDescriptionvoid
Assert.setExtensionalDB
(ExtensionalDB edb) void
Retract.setExtensionalDB
(ExtensionalDB edb) -
Uses of ExtensionalDB in com.semedy.reasoner.builtin.filter
-
Uses of ExtensionalDB in com.semedy.reasoner.builtin.relational
Modifier and TypeMethodDescriptionvoid
Builtins1.setExtensionalDB
(ExtensionalDB edb) void
Builtins2.setExtensionalDB
(ExtensionalDB edb) void
In.setExtensionalDB
(ExtensionalDB edb) void
NGram.setExtensionalDB
(ExtensionalDB edb) void
Predicates.setExtensionalDB
(ExtensionalDB edb) void
Seek3.setExtensionalDB
(ExtensionalDB edb) void
Seek4.setExtensionalDB
(ExtensionalDB edb) void
Seek5.setExtensionalDB
(ExtensionalDB edb) void
SeekAnd.setExtensionalDB
(ExtensionalDB edb) -
Uses of ExtensionalDB in com.semedy.reasoner.core
Modifier and TypeMethodDescriptionQueryHandler.applyRewriter
(IntensionalDB input, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config, boolean withMagicSets, Properties builtinConfig) void
JsonMonitor.considerEDBRelations
(IntensionalDB idb, ExtensionalDB[] edbs) static void
TransactionLogHandler.replayTransactionLogs
(String logdir, ExtensionalDB edb, SymbolTable symbols, ExternalDataTypeProvider datatypes) Search for corrupted predicates in logdir and
Replay corresponding transaction log into edb relations.static void
TransactionLogHandler.replayTransactionLogs
(List<String> predicates, String logdir, ExtensionalDB edb, SymbolTable symbols, ExternalDataTypeProvider externalDataTypes) Replay transaction files of predicates.QueryHandler.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) QueryHandler.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config, Properties builtinConfig) -
Uses of ExtensionalDB in com.semedy.reasoner.edb.loader
Modifier and TypeMethodDescriptionvoid
JsonLoader.setParameters
(ExtensionalDB edb, InvertedIndices invertedIndices, Map<String, Long> counts, Map<String, Integer> predicateToIndex, Map<String, String> indexToPredicates, ExternalDataTypeProvider datatypes, SymbolTable symbols, long size, String[] setProperties, Configuration config) void
JsonLoader2.setParameters
(ExtensionalDB edb, InvertedIndices invertedIndices, Map<String, Long> counts, Map<String, Integer> predicateToIndex, Map<String, String> indexToPredicates, ExternalDataTypeProvider datatypes, SymbolTable symbols, long size, String[] setProperties, Configuration config) void
JsonLoader3.setParameters
(ExtensionalDB edb, InvertedIndices invertedIndices, Map<String, Long> counts, Map<String, Integer> predicateToIndex, Map<String, String> indexToPredicates, ExternalDataTypeProvider datatypes, SymbolTable symbols, long size, String[] setProperties, Configuration config) void
XMLLoader.setParameters
(ExtensionalDB edb, InvertedIndices invertedIndices, Map<String, Long> counts, Map<String, Integer> predicateToIndex, Map<String, String> indexToPredicates, ExternalDataTypeProvider datatypes, SymbolTable symbols, long size, String[] setProperties, Configuration config) -
Uses of ExtensionalDB in com.semedy.reasoner.edb.zdb
ModifierConstructorDescriptionLoader
(ExtensionalDB edb, String edbDir, String workDir, String logDir, long maxtermsload, Configuration.StorageType storage, boolean compress) RelationLoader
(ExtensionalDB edb, String edbDir, String workDir, String logDir, long maxtermsload, Configuration.StorageType storage, boolean compress) Schemas
(ExtensionalDB edb, SymbolTable symbols) -
Uses of ExtensionalDB in com.semedy.reasoner.exercises
Modifier and TypeMethodDescriptionRemoveDoubleLiterals.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) -
Uses of ExtensionalDB in com.semedy.reasoner.parser.oologic
-
Uses of ExtensionalDB in com.semedy.reasoner.reasoning
Modifier and TypeMethodDescriptionvoid
ReasonerNotThreaded.compile
(IntensionalDB idb, ExtensionalDB[] edbs, ReasoningMonitor monitor, SystemMonitor smonitor, boolean topdown, int[] partsVector, boolean cepReasoningWithRetracts, boolean cepReasoning) void
ReasonerNotThreaded.compile
(IntensionalDB idb, ExtensionalDB[] edbs, ReasoningMonitor monitor, SystemMonitor smonitor, boolean topdown, int maxNumberOfResults, boolean streamReasoning, boolean cepReasoningWithRetracts) Compile rules to a data flowvoid
ReasonerThreadedFactsPartitioning.compile
(IntensionalDB idb, ExtensionalDB[] edbs, ReasoningMonitor monitor, SystemMonitor smonitor, boolean topdown, int maxNumberOfResults, boolean cepReasoningWithRetracts, boolean cepReasoning) void
ReasonerThreadedRulesPartitioning.compile
(IntensionalDB idb, ExtensionalDB[] edbs, ReasoningMonitor monitor, SystemMonitor smonitor, boolean topdown, int maxNumberOfResults, boolean cepReasoningWithRetracts, boolean cepReasoning) void
TestMonitor.considerEDBRelations
(IntensionalDB idb, ExtensionalDB[] edbs) boolean
ReasonerNotThreaded.test
(Reader in, SymbolTable baseTable, ExternalDataTypeProvider datatypes, ExtensionalDB edb, boolean topdown, String path, BuiltinProvider builtinProvider, RewriterProvider rewriterProvider, Configuration config, Properties prp) testing the evaluation.boolean
ReasonerThreadedFactsPartitioning.test
(Reader in, SymbolTable baseTable, ExternalDataTypeProvider datatypes, ExtensionalDB edb, boolean topdown, String path, BuiltinProvider builtinProvider, RewriterProvider rewriterProvider, Configuration config, Properties prp) boolean
ReasonerThreadedRulesPartitioning.test
(Reader in, SymbolTable baseTable, ExternalDataTypeProvider datatypes, ExtensionalDB edb, boolean topdown, String path, BuiltinProvider builtinProvider, RewriterProvider rewriterProvider, Configuration config, Properties prp) -
Uses of ExtensionalDB in com.semedy.reasoner.reasoning.monitor
Modifier and TypeMethodDescriptionvoid
DefaultReasoningMonitor.considerEDBRelations
(IntensionalDB idb, ExtensionalDB[] edbs) -
Uses of ExtensionalDB in com.semedy.reasoner.reasoning.processes
Modifier and TypeMethodDescriptionvoid
RuleCompiler.attachReceiver
(Receiver receiver, ExtensionalDB temporaryEDB) attach a receiver to the ith query to process net which gets the results of the evaluationvoid
RuleCompiler.attachReceiver
(List<Receiver> receiver, ExtensionalDB temporaryEDB) attach a receiver to process net which gets the results of the evaluationvoid
RuleCompiler.attachToEDB
(ExtensionalDB[] edbs) attach process net to edbvoid
StatisticsCollector.considerEDBRelations
(IntensionalDB idb, ExtensionalDB[] edbs) void
SystemReasoningMonitor.considerEDBRelations
(IntensionalDB idb, ExtensionalDB[] edbs) ModifierConstructorDescriptionBinaryPattern
(InterruptFlag interruptFlag, ReasoningMonitor monitor, SystemMonitor smonitor, BuiltinProvider builtinProvider, IntensionalDB idb, SymbolTable symbolTable, boolean streamReasoning, String queryKey, Properties builtinProperties, ExtensionalDB edb, boolean topDown) RuleCompiler
(InterruptFlag interruptflag, ReasoningMonitor monitor, SystemMonitor smonitor, IntensionalDB idb, Options options, SymbolTable symboltable, BuiltinProvider builtinFactory, ExtensionalDB[] sharedEDBs, boolean streamReasoning, boolean streamReasoningWithRetracts, SimpleSemaphore semaphorForSensors, String tempDir, boolean swapping, boolean skipAnswers, Properties builtinProperties) -
Uses of ExtensionalDB in com.semedy.reasoner.rewriter
Modifier and TypeMethodDescriptionboolean
MagicSetRewriter.goDown
(Literal l, BitSet boundVariables, String label, IntensionalDB oldIdb, IntensionalDB newIdb, ExtensionalDB[] edbs, SymbolTable symbols) boolean
TopDownOrderingRewriter.goDown
(Literal l, BitSet boundVariables, String label, IntensionalDB oldIdb, IntensionalDB newIdb, ExtensionalDB[] edbs, SymbolTable symbols) ActionRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) AxiomInjector.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) BetweenRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) BottomUpOrderingRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symboltable, ExternalDataTypeProvider datatypes, Configuration config) BottomUpRuleSelector.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) CompareRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) DebuggingRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) DynamicOptimizer.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) ElementOfRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) EliminateRedundantBodiesRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) EqualRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) FillNullRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config) FilterRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) FolderRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) FullFolderRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) FunctionalRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) IsaRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) MagicSetRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] sedbs, SymbolTable symboltable, ExternalDataTypeProvider datatypes, Configuration config) ModuleRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) PathRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config) PropagateConstantsRewriter.rewrite
(IntensionalDB input, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) PropagateConstraintsRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) QueryRuleRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbols, ExternalDataTypeProvider datatypes, Configuration config) RewriterSkeleton.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) RuleReordering.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs) SnapshotRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) Splitter.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) TopDownOrderingRewriter.rewrite
(IntensionalDB idb, ExtensionalDB[] sedbs, SymbolTable symboltable, ExternalDataTypeProvider datatypes, Configuration config) Unfolder.rewrite
(IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbolTable, ExternalDataTypeProvider datatypes, Configuration config) SeparateEDBfromIDB.separate
(IntensionalDB idb, ExtensionalDB[] edbs, boolean cep) -
Uses of ExtensionalDB in com.semedy.reasoner.rewriter.sips
Modifier and TypeMethodDescriptionEqualSIPS.orderBodies
(Rule rule, BitSet groundVars, long[] groundValues, IntensionalDB IDB, ExtensionalDB[] edbs, SymbolTable symbols) SIPS.orderBodies
(Rule rule, BitSet groundVars, long[] groundValues, IntensionalDB idb, ExtensionalDB[] edbs, SymbolTable symbols) Arrange the bodies of a rule.TopDownSIPS.orderBodies
(Rule rule, BitSet groundVars, long[] groundValues, IntensionalDB IDB, ExtensionalDB[] edbs, SymbolTable symbols) -
Uses of ExtensionalDB in com.semedy.reasoner.symboltable.index
Modifier and TypeMethodDescriptionvoid
GeoIndex.recreateIndex
(SymbolTable symbols, ExtensionalDB edb) recreate whole geo indexvoid
TextIndex.recreateIndex
(SymbolTable symbols, ExtensionalDB edb) recreate whole text index -
Uses of ExtensionalDB in com.semedy.reasoner.utils
Modifier and TypeMethodDescriptionvoid
ReasoningMonitorTimes.considerEDBRelations
(IntensionalDB idb, ExtensionalDB[] edbs)