org.apache.falcon.catalog
Class CatalogPartition

java.lang.Object
  extended by org.apache.falcon.catalog.CatalogPartition

public class CatalogPartition
extends Object

The CatalogPartition is a wrapper around org.apache.hcatalog.api.HCatPartition.


Constructor Summary
protected CatalogPartition()
           
 
Method Summary
 List<String> getColumns()
          Gets the columns of the table.
 long getCreateTime()
          Gets the creates the time.
 String getDatabaseName()
          Gets the database name.
 String getInputFormat()
          Gets the input format.
 long getLastAccessTime()
          Gets the last access time.
 String getLocation()
          Gets the location.
 String getOutputFormat()
          Gets the output format.
 String getSerDe()
          Gets the serde.
 String getTableName()
          Gets the table name.
 List<String> getValues()
          Gets the values.
protected  void setCreateTime(long createTime)
           
protected  void setDatabaseName(String databaseName)
           
protected  void setInputFormat(String inputFormat)
           
protected  void setLastAccessTime(long lastAccessTime)
           
protected  void setLocation(String location)
           
protected  void setOutputFormat(String outputFormat)
           
protected  void setSerdeInfo(String serdeInfo)
           
protected  void setTableColumns(List<String> tableColumns)
           
protected  void setTableName(String tableName)
           
protected  void setValues(List<String> values)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CatalogPartition

protected CatalogPartition()
Method Detail

setDatabaseName

protected void setDatabaseName(String databaseName)

setTableName

protected void setTableName(String tableName)

setValues

protected void setValues(List<String> values)

setCreateTime

protected void setCreateTime(long createTime)

setLastAccessTime

protected void setLastAccessTime(long lastAccessTime)

setTableColumns

protected void setTableColumns(List<String> tableColumns)

setInputFormat

protected void setInputFormat(String inputFormat)

setOutputFormat

protected void setOutputFormat(String outputFormat)

setLocation

protected void setLocation(String location)

setSerdeInfo

protected void setSerdeInfo(String serdeInfo)

getDatabaseName

public String getDatabaseName()
Gets the database name.

Returns:
the database name

getTableName

public String getTableName()
Gets the table name.

Returns:
the table name

getColumns

public List<String> getColumns()
Gets the columns of the table.

Returns:
the columns

getInputFormat

public String getInputFormat()
Gets the input format.

Returns:
the input format

getOutputFormat

public String getOutputFormat()
Gets the output format.

Returns:
the output format

getLocation

public String getLocation()
Gets the location.

Returns:
the location

getSerDe

public String getSerDe()
Gets the serde.

Returns:
the serde

getLastAccessTime

public long getLastAccessTime()
Gets the last access time.

Returns:
the last access time

getCreateTime

public long getCreateTime()
Gets the creates the time.

Returns:
the creates the time

getValues

public List<String> getValues()
Gets the values.

Returns:
the values

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.