org.apache.hcatalog.templeton
Class TableDesc

Object
  extended by GroupPermissionsDesc
      extended by TableDesc

public class TableDesc
extends GroupPermissionsDesc

A description of the table to create.


Nested Class Summary
static class TableDesc.ClusteredByDesc
          How to cluster the table.
static class TableDesc.ClusterSortOrderDesc
          The clustered sort order.
static class TableDesc.RowFormatDesc
          The Row Format.
static class TableDesc.SerdeDesc
          The SERDE Row Format.
static class TableDesc.SortDirectionDesc
          Ther ASC or DESC sort order.
static class TableDesc.StorageFormatDesc
          The storage format.
static class TableDesc.StoredByDesc
          How to store the table.
 
Field Summary
 TableDesc.ClusteredByDesc clusteredBy
           
 List<ColumnDesc> columns
           
 String comment
           
 boolean external
           
 TableDesc.StorageFormatDesc format
           
 boolean ifNotExists
           
 String location
           
 List<ColumnDesc> partitionedBy
           
 String table
           
 Map<String,String> tableProperties
           
 
Fields inherited from class GroupPermissionsDesc
group, permissions
 
Constructor Summary
TableDesc()
          Create a new TableDesc
 
Method Summary
 boolean equals(Object o)
           
 String toString()
           
 
Methods inherited from class GroupPermissionsDesc
xequals, xequals, xequals, xequals
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

external

public boolean external

ifNotExists

public boolean ifNotExists

table

public String table

comment

public String comment

columns

public List<ColumnDesc> columns

partitionedBy

public List<ColumnDesc> partitionedBy

clusteredBy

public TableDesc.ClusteredByDesc clusteredBy

format

public TableDesc.StorageFormatDesc format

location

public String location

tableProperties

public Map<String,String> tableProperties
Constructor Detail

TableDesc

public TableDesc()
Create a new TableDesc

Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class GroupPermissionsDesc