public class HCatCreateTableDesc extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HCatCreateTableDesc.Builder |
Modifier and Type | Method and Description |
---|---|
static HCatCreateTableDesc.Builder |
create(HCatTable table)
Getter for HCatCreateTableDesc.Builder instance.
|
static HCatCreateTableDesc.Builder |
create(HCatTable table,
boolean ifNotExists)
Getter for HCatCreateTableDesc.Builder instance.
|
static HCatCreateTableDesc.Builder |
create(String dbName,
String tableName,
List<HCatFieldSchema> columns)
Deprecated.
|
List<String> |
getBucketCols()
Deprecated.
|
List<HCatFieldSchema> |
getCols()
Deprecated.
|
String |
getComments()
Deprecated.
|
String |
getDatabaseName()
Deprecated.
|
boolean |
getExternal()
Deprecated.
|
String |
getFileFormat()
Deprecated.
|
HCatTable |
getHCatTable()
Getter for underlying HCatTable instance.
|
boolean |
getIfNotExists()
Gets the if not exists.
|
String |
getLocation()
Deprecated.
|
int |
getNumBuckets()
Deprecated.
|
List<HCatFieldSchema> |
getPartitionCols()
Deprecated.
|
Map<String,String> |
getSerdeParams()
Deprecated.
|
List<Order> |
getSortCols()
Deprecated.
|
String |
getStorageHandler()
Deprecated.
|
String |
getTableName()
Deprecated.
|
Map<String,String> |
getTblProps()
Deprecated.
|
String |
toString() |
@Deprecated public static HCatCreateTableDesc.Builder create(String dbName, String tableName, List<HCatFieldSchema> columns)
dbName
- the db nametableName
- the table namecolumns
- the columnspublic static HCatCreateTableDesc.Builder create(HCatTable table, boolean ifNotExists)
table
- Spec for HCatTable to be created.ifNotExists
- Only create the table if it doesn't already exist.public static HCatCreateTableDesc.Builder create(HCatTable table)
table
- Spec for HCatTable to be created.public HCatTable getHCatTable()
public boolean getIfNotExists()
@Deprecated public String getTableName()
@Deprecated public List<HCatFieldSchema> getCols()
@Deprecated public List<HCatFieldSchema> getPartitionCols()
@Deprecated public List<String> getBucketCols()
@Deprecated public int getNumBuckets()
@Deprecated public String getComments()
@Deprecated public String getStorageHandler()
@Deprecated public String getLocation()
@Deprecated public boolean getExternal()
@Deprecated public List<Order> getSortCols()
@Deprecated public Map<String,String> getTblProps()
@Deprecated public String getFileFormat()
@Deprecated public String getDatabaseName()
@Deprecated public Map<String,String> getSerdeParams()
HCatCreateTableDesc.Builder.fieldsTerminatedBy(char)
Copyright © 2017 The Apache Software Foundation. All rights reserved.