Member Junction
    Preparing search index...

    Concrete ExternalDataSourceReadRouter registered for the ClassFactory so foundational providers can reach the External Data Sources engine without a compile-time dependency on it. Translates MJ's RunView/RunQuery shapes to the driver contract and back, delegating driver/credential resolution to ExternalDataSourceRouter (the BaseSingleton that owns the per-source driver + connection-pool cache).

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Returns the cache TTL (in seconds) configured on the external data source — the basis for time-bounded caching of external reads. Unlike MJ-DB entities, external reads can't be event-invalidated (their data changes on the remote system), so callers cache them with a TTL instead. Implementations resolve the ExternalDataSource and return its DefaultCacheTTLSeconds (falling back to a sane default when unset). A return value of 0 signals "do not cache this source." Resolved through the engine's already-cached data source, so this is cheap to call on the read hot path.

      Parameters

      Returns Promise<number>