Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
com.cloudera.impala.catalog.HdfsCachePool Class Reference
Inheritance diagram for com.cloudera.impala.catalog.HdfsCachePool:
Collaboration diagram for com.cloudera.impala.catalog.HdfsCachePool:

Public Member Functions

 HdfsCachePool (CachePoolInfo cachePoolInfo)
 
 HdfsCachePool (THdfsCachePool cachePool)
 
TCatalogObjectType getCatalogObjectType ()
 
THdfsCachePool toThrift ()
 
String getName ()
 
long getCatalogVersion ()
 
void setCatalogVersion (long newVersion)
 
boolean isLoaded ()
 

Static Public Member Functions

static HdfsCachePool fromThrift (THdfsCachePool cachePool)
 

Private Attributes

long catalogVersion_
 
final THdfsCachePool cachePool_
 

Detailed Description

Represents an HDFS cache pool (CachePoolInfo class). Currently, the only metadata we care about for cache pools is the cache pool name. In the future it may be desirable to track additional metadata such as the owner, size, and current usage of the pool.

Definition at line 28 of file HdfsCachePool.java.

Constructor & Destructor Documentation

com.cloudera.impala.catalog.HdfsCachePool.HdfsCachePool ( CachePoolInfo  cachePoolInfo)
inline
com.cloudera.impala.catalog.HdfsCachePool.HdfsCachePool ( THdfsCachePool  cachePool)
inline

Member Function Documentation

static HdfsCachePool com.cloudera.impala.catalog.HdfsCachePool.fromThrift ( THdfsCachePool  cachePool)
inlinestatic
TCatalogObjectType com.cloudera.impala.catalog.HdfsCachePool.getCatalogObjectType ( )
inline

Implements com.cloudera.impala.catalog.CatalogObject.

Definition at line 42 of file HdfsCachePool.java.

long com.cloudera.impala.catalog.HdfsCachePool.getCatalogVersion ( )
inline
String com.cloudera.impala.catalog.HdfsCachePool.getName ( )
inline

Implements com.cloudera.impala.catalog.CatalogObject.

Definition at line 55 of file HdfsCachePool.java.

boolean com.cloudera.impala.catalog.HdfsCachePool.isLoaded ( )
inline

Implements com.cloudera.impala.catalog.CatalogObject.

Definition at line 61 of file HdfsCachePool.java.

void com.cloudera.impala.catalog.HdfsCachePool.setCatalogVersion ( long  newVersion)
inline
THdfsCachePool com.cloudera.impala.catalog.HdfsCachePool.toThrift ( )
inline

Member Data Documentation

final THdfsCachePool com.cloudera.impala.catalog.HdfsCachePool.cachePool_
private
long com.cloudera.impala.catalog.HdfsCachePool.catalogVersion_
private

The documentation for this class was generated from the following file: