public class HCatAddPartitionDesc extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HCatAddPartitionDesc.Builder
Builder class for constructing an HCatAddPartition instance.
|
Modifier and Type | Method and Description |
---|---|
static HCatAddPartitionDesc.Builder |
create(HCatPartition partition)
Constructs a Builder instance, using an HCatPartition object.
|
static HCatAddPartitionDesc.Builder |
create(String dbName,
String tableName,
String location,
Map<String,String> partSpec)
Deprecated.
|
String |
getDatabaseName()
Deprecated.
|
String |
getLocation()
Deprecated.
|
Map<String,String> |
getPartitionSpec()
Deprecated.
|
String |
getTableName()
Deprecated.
|
String |
toString() |
@Deprecated public String getLocation()
@Deprecated public Map<String,String> getPartitionSpec()
@Deprecated public String getTableName()
@Deprecated public String getDatabaseName()
@Deprecated public static HCatAddPartitionDesc.Builder create(String dbName, String tableName, String location, Map<String,String> partSpec) throws HCatException
dbName
- the db nametableName
- the table namelocation
- the locationpartSpec
- the part specHCatException
public static HCatAddPartitionDesc.Builder create(HCatPartition partition) throws HCatException
partition
- An HCatPartition instance.HCatException
Copyright © 2016 The Apache Software Foundation. All rights reserved.