public class HCatPartition extends Object
Constructor and Description |
---|
HCatPartition(HCatPartition rhs,
Map<String,String> partitionKeyValues,
String location) |
HCatPartition(HCatTable hcatTable,
Map<String,String> partitionKeyValues,
String location) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getBucketCols()
Gets the bucket columns.
|
List<HCatFieldSchema> |
getColumns()
Gets the columns of the table.
|
int |
getCreateTime()
Gets the creates the time.
|
String |
getDatabaseName()
Gets the database name.
|
String |
getInputFormat()
Gets the input format.
|
int |
getLastAccessTime()
Gets the last access time.
|
String |
getLocation()
Gets the location.
|
int |
getNumBuckets()
Gets the number of buckets.
|
String |
getOutputFormat()
Gets the output format.
|
Map<String,String> |
getParameters() |
List<HCatFieldSchema> |
getPartColumns()
Gets the partition columns of the table.
|
LinkedHashMap<String,String> |
getPartitionKeyValMap()
Getter for partition-spec map.
|
String |
getSerDe()
Gets the serde.
|
Map<String,String> |
getSerdeParams()
Getter for SerDe parameters.
|
List<Order> |
getSortCols()
Gets the sort columns.
|
String |
getStorageHandler()
Gets the storage handler.
|
String |
getTableName()
Gets the table name.
|
List<String> |
getValues()
Gets the values.
|
HCatTable |
hcatTable() |
HCatPartition |
hcatTable(HCatTable hcatTable) |
HCatPartition |
location(String location)
Setter for partition directory location.
|
HCatPartition |
parameters(Map<String,String> parameters) |
HCatPartition |
setPartitionKeyValues(Map<String,String> partitionKeyValues)
Setter for partition key-values.
|
String |
toString() |
public HCatPartition(HCatTable hcatTable, Map<String,String> partitionKeyValues, String location) throws HCatException
HCatException
public HCatPartition(HCatPartition rhs, Map<String,String> partitionKeyValues, String location) throws HCatException
HCatException
public HCatTable hcatTable()
public HCatPartition hcatTable(HCatTable hcatTable)
public String getTableName()
public String getDatabaseName()
public List<HCatFieldSchema> getColumns()
public List<HCatFieldSchema> getPartColumns()
public String getInputFormat()
public String getOutputFormat()
public String getStorageHandler()
public String getLocation()
public HCatPartition location(String location)
public String getSerDe()
public Map<String,String> getSerdeParams()
public HCatPartition parameters(Map<String,String> parameters)
public int getLastAccessTime()
public int getCreateTime()
public LinkedHashMap<String,String> getPartitionKeyValMap()
public HCatPartition setPartitionKeyValues(Map<String,String> partitionKeyValues) throws HCatException
HCatException
public List<String> getBucketCols()
public int getNumBuckets()
Copyright © 2017 The Apache Software Foundation. All rights reserved.