org.apache.hcatalog.api
Class HCatTable

Object
  extended by HCatTable

public class HCatTable
extends Object

The HCatTable is a wrapper around org.apache.hadoop.hive.metastore.api.Table.


Method Summary
 List<String> getBucketCols()
          Gets the bucket columns.
 List<HCatFieldSchema> getCols()
          Gets the columns.
 String getDbName()
          Gets the db name.
 String getInputFileFormat()
          Gets the input file format.
 String getLocation()
          Gets the location.
 int getNumBuckets()
          Gets the number of buckets.
 String getOutputFileFormat()
          Gets the output file format.
 List<HCatFieldSchema> getPartCols()
          Gets the part columns.
 String getSerdeLib()
          Gets the serde lib.
 List<Order> getSortCols()
          Gets the sort columns.
 String getStorageHandler()
          Gets the storage handler.
 String getTableName()
          Gets the table name.
 String getTabletype()
          Gets the tabletype.
 Map<String,String> getTblProps()
          Gets the table props.
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTableName

public String getTableName()
Gets the table name.

Returns:
the table name

getDbName

public String getDbName()
Gets the db name.

Returns:
the db name

getCols

public List<HCatFieldSchema> getCols()
Gets the columns.

Returns:
the columns

getPartCols

public List<HCatFieldSchema> getPartCols()
Gets the part columns.

Returns:
the part columns

getBucketCols

public List<String> getBucketCols()
Gets the bucket columns.

Returns:
the bucket columns

getSortCols

public List<Order> getSortCols()
Gets the sort columns.

Returns:
the sort columns

getNumBuckets

public int getNumBuckets()
Gets the number of buckets.

Returns:
the number of buckets

getStorageHandler

public String getStorageHandler()
Gets the storage handler.

Returns:
the storage handler

getTblProps

public Map<String,String> getTblProps()
Gets the table props.

Returns:
the table props

getTabletype

public String getTabletype()
Gets the tabletype.

Returns:
the tabletype

getInputFileFormat

public String getInputFileFormat()
Gets the input file format.

Returns:
the input file format

getOutputFileFormat

public String getOutputFileFormat()
Gets the output file format.

Returns:
the output file format

getSerdeLib

public String getSerdeLib()
Gets the serde lib.

Returns:
the serde lib

getLocation

public String getLocation()
Gets the location.

Returns:
the location

toString

public String toString()
Overrides:
toString in class Object