Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyCache ¶
type ApplyCache struct {
// contains filtered or unexported fields
}
ApplyCache is used in the apply executor. When we get the same value of the outer row. We fetch the inner rows in the cache not to fetch them in the inner executor.
func NewApplyCache ¶
func NewApplyCache(ctx sessionctx.Context) (*ApplyCache, error)
NewApplyCache creates a new ApplyCache.
func (*ApplyCache) Get ¶
func (c *ApplyCache) Get(key applyCacheKey) (*chunk.List, error)
Get gets a cache item according to cache key. It's thread-safe.
func (*ApplyCache) GetMemTracker ¶
func (c *ApplyCache) GetMemTracker() *memory.Tracker
GetMemTracker returns the memory tracker of this apply cache.
Click to show internal directories.
Click to hide internal directories.