Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/apache/druid
/ put
Method
put
server/src/main/java/org/apache/druid/client/cache/Cache.java:38–38 ·
view source on GitHub ↗
(NamedKey key, byte[] value)
Source
from the content-addressed store, hash-verified
36
@Nullable
37
byte[] get(NamedKey key);
38
void
put(NamedKey key, byte[] value);
39
40
/**
41
* Resulting map should not contain any null values (i.e. cache misses should not be included)
Callers
15
testUseCache
Method · 0.95
testSizeCalculation
Method · 0.95
testSizeCalculationAfterDelete
Method · 0.95
testSizeCalculationMore
Method · 0.95
testStringProperty
Method · 0.65
testJsonProperty
Method · 0.65
getRows
Method · 0.65
row
Method · 0.65
testObjectResultFormat
Method · 0.65
testObjectLinesResultFormat
Method · 0.65
testObjectLinesResultFormatWithMinimalHeader
Method · 0.65
testObjectLinesResultFormatWithFullHeader
Method · 0.65
Implementers
7
AbstractRedisCache
extensions-contrib/redis-cache/src/mai
HybridCache
server/src/main/java/org/apache/druid/
MapCache
server/src/main/java/org/apache/druid/
MemcachedCache
server/src/main/java/org/apache/druid/
CachingQueryRunnerTest
server/src/test/java/org/apache/druid/
BackgroundCachePopulatorTest
server/src/test/java/org/apache/druid/
CaffeineCache
server/src/main/java/org/apache/druid/
Calls
no outgoing calls
Tested by
15
testUseCache
Method · 0.76
testSizeCalculation
Method · 0.76
testSizeCalculationAfterDelete
Method · 0.76
testSizeCalculationMore
Method · 0.76
testStringProperty
Method · 0.52
testJsonProperty
Method · 0.52
getRows
Method · 0.52
row
Method · 0.52
testObjectResultFormat
Method · 0.52
testObjectLinesResultFormat
Method · 0.52
testObjectLinesResultFormatWithMinimalHeader
Method · 0.52
testObjectLinesResultFormatWithFullHeader
Method · 0.52