Title here
Summary here
Defines properties to configure a partial cache in a Lookup.
public class LookupTransformation<TInput, TSource>.PartialDbCacheSettings
The eviction policy used for the partial cache. By default, the cache is fully refreshed for every batch.
public CacheEvictionPolicy EvictionPolicy { get; set; }
Type | Description |
---|---|
CacheEvictionPolicy |
The cache is filled not for every row, but for a batch of rows to improve throughput. Define here the number of rows for every batch.
public int LoadBatchSize { get; set; }
Type | Description |
---|---|
int |
A custom sql to load data from the lookup source based on the input batch.
public Func<TInput[], string> LoadCacheSql { get; set; }
Type | Description |
---|---|
Func<TInput[], string> |
Defines the max amount of rows stored in the partial cache if the eviction policy is set to a different value than FullRefresh.
public int MaxCacheSize { get; set; }
Type | Description |
---|---|
int |
List of query parameters that are used to replace values in LoadCacheSql For every parameter provided, your sql statement should contain a placeholder. E.g.: 'SELECT col1 FROM table WHERE col2 > @parameter1'
public Func<TInput[], QueryParameter[]> SqlParameterSelector { get; set; }
Type | Description |
---|---|
Func<TInput[], QueryParameter[]> |