Cache implements Transformation
Read onlyYes
FinalYes
Interfaces
Methods
- __construct() : mixed
- __invoke() : DataFrame
Methods
__construct()
public
__construct([string|null $id = null ][, int|null $cacheBatchSize = null ][, null|RowsStorage $cache = null ]) : mixed
Parameters
- $id : string|null = null
- $cacheBatchSize : int|null = null
- $cache : null|RowsStorage = null
-
reads of this cache must pass the same instance to from_cache()
__invoke()
public
__invoke(DataFrame $dataFrame) : DataFrame
Parameters
- $dataFrame : DataFrame
Attributes
- #[NoDiscard]