NewTemporalFactStoreAdapter creates an adapter that exposes all temporal facts as regular facts (ignoring time constraints).
(temporal TemporalFactStore)
| 408 | // NewTemporalFactStoreAdapter creates an adapter that exposes all temporal facts |
| 409 | // as regular facts (ignoring time constraints). |
| 410 | func NewTemporalFactStoreAdapter(temporal TemporalFactStore) *TemporalFactStoreAdapter { |
| 411 | return &TemporalFactStoreAdapter{temporal: temporal, queryAt: nil} |
| 412 | } |
| 413 | |
| 414 | // NewTemporalFactStoreAdapterAt creates an adapter that only exposes facts |
| 415 | // valid at the specified time. |
no outgoing calls