Versions in this module Expand all Collapse all v1 v1.0.1 Jan 21, 2025 v1.0.0 Dec 20, 2024 Changes in this version + type Config struct + InterQueryBuiltinCache InterQueryBuiltinCacheConfig + InterQueryBuiltinValueCache InterQueryBuiltinValueCacheConfig + func ParseCachingConfig(raw []byte) (*Config, error) + type InterQueryBuiltinCacheConfig struct + ForcedEvictionThresholdPercentage *int64 + MaxSizeBytes *int64 + StaleEntryEvictionPeriodSeconds *int64 + type InterQueryBuiltinValueCacheConfig struct + MaxNumEntries *int + type InterQueryCache interface + Clone func(value InterQueryCacheValue) (InterQueryCacheValue, error) + Delete func(key ast.Value) + Get func(key ast.Value) (value InterQueryCacheValue, found bool) + Insert func(key ast.Value, value InterQueryCacheValue) int + InsertWithExpiry func(key ast.Value, value InterQueryCacheValue, expiresAt time.Time) int + UpdateConfig func(config *Config) + func NewInterQueryCache(config *Config) InterQueryCache + func NewInterQueryCacheWithContext(ctx context.Context, config *Config) InterQueryCache + type InterQueryCacheValue interface + Clone func() (InterQueryCacheValue, error) + SizeInBytes func() int64 + type InterQueryValueCache interface + Delete func(key ast.Value) + Get func(key ast.Value) (value any, found bool) + Insert func(key ast.Value, value any) int + UpdateConfig func(config *Config) + func NewInterQueryValueCache(_ context.Context, config *Config) InterQueryValueCache