MCPcopy Create free account
hub / github.com/AdRoll/baker / Cache

Method Cache

record.go:71–71  ·  view source on GitHub ↗

Cache holds a cache which is local to the record. It may be used to speed up parsing of specific fields by caching the result. When accessing a field and parsing its value, we want to try caching as much as possible the parsing we do, to avoid redoing it later when the same record is processed by di

()

Source from the content-addressed store, hash-verified

69 // // do something with the result
70 // result := val.(string)
71 Cache() *Cache
72}
73
74// Cache is a per-record cache.

Callers

nothing calls this directly

Implementers 1

LogLinelogline.go

Calls

no outgoing calls

Tested by

no test coverage detected