| Package | Description |
|---|---|
| org.apache.hadoop.hive.common.io |
| Modifier and Type | Class and Description |
|---|---|
static class |
CacheTag.MultiPartitionCacheTag
CacheTag for tables with more than one partition level.
|
static class |
CacheTag.PartitionCacheTag
CacheTag for tables with partitions.
|
static class |
CacheTag.SinglePartitionCacheTag
CacheTag for tables with exactly one partition level.
|
static class |
CacheTag.TableCacheTag
CacheTag for tables without partitions.
|
| Modifier and Type | Method and Description |
|---|---|
static CacheTag |
CacheTag.build(String tableName) |
static CacheTag |
CacheTag.build(String tableName,
LinkedHashMap<String,String> partDescMap) |
static CacheTag |
CacheTag.build(String tableName,
List<String> partDescs) |
static CacheTag |
CacheTag.createParentCacheTag(CacheTag tag)
Constructs a (fake) parent CacheTag instance by walking back in the hierarchy i.e.
|
| Modifier and Type | Method and Description |
|---|---|
int |
CacheTag.compareTo(CacheTag o) |
int |
CacheTag.TableCacheTag.compareTo(CacheTag o) |
int |
CacheTag.SinglePartitionCacheTag.compareTo(CacheTag o) |
int |
CacheTag.MultiPartitionCacheTag.compareTo(CacheTag o) |
static CacheTag |
CacheTag.createParentCacheTag(CacheTag tag)
Constructs a (fake) parent CacheTag instance by walking back in the hierarchy i.e.
|
long[] |
DataCache.putFileData(Object fileKey,
DiskRange[] ranges,
MemoryBuffer[] data,
long baseOffset,
CacheTag tag)
Puts file data into cache, or gets older data in case of collisions.
|
MemoryBufferOrBuffers |
FileMetadataCache.putFileMetadata(Object fileKey,
ByteBuffer tailBuffer,
CacheTag tag)
Deprecated.
|
MemoryBufferOrBuffers |
FileMetadataCache.putFileMetadata(Object fileKey,
ByteBuffer tailBuffer,
CacheTag tag,
AtomicBoolean isStopped)
Puts the metadata for a given file (e.g.
|
MemoryBufferOrBuffers |
FileMetadataCache.putFileMetadata(Object fileKey,
int length,
InputStream is,
CacheTag tag)
Deprecated.
|
MemoryBufferOrBuffers |
FileMetadataCache.putFileMetadata(Object fileKey,
int length,
InputStream is,
CacheTag tag,
AtomicBoolean isStopped) |
| Modifier and Type | Method and Description |
|---|---|
long |
FileMetadataCache.markBuffersForProactiveEviction(Predicate<CacheTag> predicate,
boolean isInstantDeallocation)
Iterates through the file entries of this cache and for those that match the given predicate (aka have a matching
CacheTag) will have their buffers marked for (a later) proactive eviction.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.