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

Public Member Functions

 DataSource (String dataSrcName, String location, String className, String apiVersionString)
 
TCatalogObjectType getCatalogObjectType ()
 
long getCatalogVersion ()
 
void setCatalogVersion (long newVersion)
 
String getName ()
 
boolean isLoaded ()
 
String getLocation ()
 
String getClassName ()
 
String getApiVersion ()
 
TDataSource toThrift ()
 
String debugString ()
 

Static Public Member Functions

static DataSource fromThrift (TDataSource thrift)
 
static String debugString (TDataSource thrift)
 

Private Attributes

final String dataSrcName_
 
final String className_
 
final String apiVersionString_
 
final String location_
 
long catalogVersion_ = Catalog.INITIAL_CATALOG_VERSION
 

Detailed Description

Represents a data source in the catalog. Contains the data source name and all information needed to locate and load the data source.

Definition at line 27 of file DataSource.java.

Constructor & Destructor Documentation

com.cloudera.impala.catalog.DataSource.DataSource ( String  dataSrcName,
String  location,
String  className,
String  apiVersionString 
)
inline

Member Function Documentation

static String com.cloudera.impala.catalog.DataSource.debugString ( TDataSource  thrift)
inlinestatic
static DataSource com.cloudera.impala.catalog.DataSource.fromThrift ( TDataSource  thrift)
inlinestatic
String com.cloudera.impala.catalog.DataSource.getApiVersion ( )
inline
TCatalogObjectType com.cloudera.impala.catalog.DataSource.getCatalogObjectType ( )
inline

Implements com.cloudera.impala.catalog.CatalogObject.

Definition at line 49 of file DataSource.java.

long com.cloudera.impala.catalog.DataSource.getCatalogVersion ( )
inline
String com.cloudera.impala.catalog.DataSource.getClassName ( )
inline

Definition at line 66 of file DataSource.java.

References com.cloudera.impala.catalog.DataSource.className_.

String com.cloudera.impala.catalog.DataSource.getLocation ( )
inline

Definition at line 65 of file DataSource.java.

References com.cloudera.impala.catalog.DataSource.location_.

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

Implements com.cloudera.impala.catalog.CatalogObject.

Definition at line 63 of file DataSource.java.

void com.cloudera.impala.catalog.DataSource.setCatalogVersion ( long  newVersion)
inline

Member Data Documentation

long com.cloudera.impala.catalog.DataSource.catalogVersion_ = Catalog.INITIAL_CATALOG_VERSION
private
final String com.cloudera.impala.catalog.DataSource.dataSrcName_
private

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