Interface ImpulseEngineProvider
- All Known Implementing Classes:
DefaultImpulseEngineProvider
public interface ImpulseEngineProvider
Service Provider Interface (SPI) for instantiating execution engine
components.
-
Method Summary
Modifier and TypeMethodDescriptioncreateDomainView(ImpulseGraphSnapshot snapshot, String domainName, int domainId, long nodeCount) Creates or obtains a domain view anchor for initiating fluent graph traversals.createStatement(ImpulseGraphSnapshot snapshot, String query) Prepares a parameterized graph statement for repeated query execution.default ImpulseGraphSnapshotloadSnapshot(Path path, Arena arena) Loads a graph snapshot from a file path using the specified arena.
-
Method Details
-
createDomainView
DomainView createDomainView(ImpulseGraphSnapshot snapshot, String domainName, int domainId, long nodeCount) Creates or obtains a domain view anchor for initiating fluent graph traversals.- Parameters:
snapshot- the graph snapshot contextdomainName- domain namedomainId- domain numeric identifiernodeCount- domain entity node count- Returns:
- the domain view instance
-
createStatement
Prepares a parameterized graph statement for repeated query execution.- Parameters:
snapshot- the graph snapshot contextquery- the query text- Returns:
- the compiled or prepared statement
-
loadSnapshot
Loads a graph snapshot from a file path using the specified arena.- Parameters:
path- the file patharena- the FFM arena for memory allocation- Returns:
- the loaded snapshot
-