15 package com.cloudera.impala.catalog;
17 import org.apache.hadoop.hdfs.protocol.CachePoolInfo;
19 import com.cloudera.impala.thrift.TCatalogObjectType;
20 import com.cloudera.impala.thrift.THdfsCachePool;
21 import com.google.common.base.Preconditions;
33 cachePool_ =
new THdfsCachePool(cachePoolInfo.getPoolName());
37 Preconditions.checkNotNull(cachePool);
43 return TCatalogObjectType.HDFS_CACHE_POOL;
55 public String
getName() {
return cachePool_.getPool_name(); }
HdfsCachePool(CachePoolInfo cachePoolInfo)
HdfsCachePool(THdfsCachePool cachePool)
TCatalogObjectType getCatalogObjectType()
final THdfsCachePool cachePool_
THdfsCachePool toThrift()
static HdfsCachePool fromThrift(THdfsCachePool cachePool)
void setCatalogVersion(long newVersion)