|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectHCatCreateTableDesc
public class HCatCreateTableDesc
The Class HCatCreateTableDesc for defining attributes for a new table.
Nested Class Summary | |
---|---|
static class |
HCatCreateTableDesc.Builder
|
Method Summary | |
---|---|
static HCatCreateTableDesc.Builder |
create(String dbName,
String tableName,
List<HCatFieldSchema> columns)
Creates a builder for defining attributes. |
List<String> |
getBucketCols()
Gets the bucket cols. |
List<HCatFieldSchema> |
getCols()
Gets the cols. |
String |
getComments()
Gets the comments. |
String |
getDatabaseName()
Gets the database name. |
boolean |
getExternal()
Gets the external. |
String |
getFileFormat()
Gets the file format. |
boolean |
getIfNotExists()
Gets the if not exists. |
String |
getLocation()
Gets the location. |
int |
getNumBuckets()
|
List<HCatFieldSchema> |
getPartitionCols()
Gets the partition cols. |
List<Order> |
getSortCols()
Gets the sort cols. |
String |
getStorageHandler()
Gets the storage handler. |
String |
getTableName()
Gets the table name. |
Map<String,String> |
getTblProps()
Gets the tbl props. |
String |
toString()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static HCatCreateTableDesc.Builder create(String dbName, String tableName, List<HCatFieldSchema> columns)
dbName
- the db nametableName
- the table namecolumns
- the columns
public boolean getIfNotExists()
public String getTableName()
public List<HCatFieldSchema> getCols()
public List<HCatFieldSchema> getPartitionCols()
public List<String> getBucketCols()
public int getNumBuckets()
public String getComments()
public String getStorageHandler()
public String getLocation()
public boolean getExternal()
public List<Order> getSortCols()
public Map<String,String> getTblProps()
public String getFileFormat()
public String getDatabaseName()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |