Repository navigation
refactor(storage,query): decompose storage & AST god classes, decouple CoreseIO, and purge legacy dead code - #652
Merged
remiceres merged 9 commits intoOct 27, 2026
Conversation
…exedStatementStore
…or and SnapshotTransaction
…IndexBuilder from TripleIndex - Extract predicate cardinality sampling logic into PredicateStatisticsEstimator - Extract POS/OSP secondary index permutation build into SecondaryIndexBuilder - Decouple GraphPartition and TripleIndex helper records - Zero SonarLint alerts and 100% tests passing
- Extract positional traversal state machine into dedicated TripleIndexCursor - Update SnapshotStatementSpliterator and cursor factories - Zero SonarLint alerts and 100% tests passing
…ion forwarders - Expose terms(), expressions() and paths() sub-builder accessors on SparqlAstBuilder - Update all AST listeners to call specialized builders directly - Prune 15 redundant forwarder methods and obsolete stubs from SparqlAstBuilder - Zero SonarLint alerts and 100% tests passing
… from SparqlAstBuilder - Extract BASE URI and PREFIX resolution into SparqlPrologueBuilder - Extract property path, collection, and blank node path expansion into TriplePathExpander - Update SparqlUpdateAstBuilder to use prologue replacement API - Zero SonarLint alerts and 100% tests passing
…dead nesting scaffolding from core.next
…y test, and eliminate dead opcodes and evaluator hooks
Test Results 435 files 435 suites 35s ⏱️ Results for commit 61e992e. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Storage God Classes Decomposition:
StatementCapture.java,GraphPartition.java,PartitionState.java,MemoryDatabase.java,SnapshotStatementSpliterator.java, andSnapshotTransaction.javafromIndexedStatementStore.java(reduced by 49%).PredicateStatisticsEstimator.java,SecondaryIndexBuilder.java, andTripleIndexCursor.javafromTripleIndex.java(reduced by 24%).SPARQL AST Builder Modularization:
SparqlPrologueBuilder.javaandTriplePathExpander.javafromSparqlAstBuilder.java.Inert Scaffolding & Dead Code Purge:
ResultListener.javaand obsoletereportEnabledbranches.ProcessVisitorDefault.javaby eliminating uncalled empty hooks.Edge.isNested/setNested).ExprType.javaand dead types fromExpType.java.Evaluator.Modeswitch and unusedsetKGRAM/setProducerhooks.Architecture & Boundary Enforcement:
querymodule from theio.CoreseIOfacade using directDefaultRDFParserFactoryandDefaultRDFSerializerFactory.queryMustNotDependOnIoFacade()inNextModuleBoundaryTest.java.Quality & Validation:
NextModuleBoundaryTestarchitectural isolation tests PASSED.