org.apache.hadoop.hive.metastore.model
Class MStorageDescriptor
java.lang.Object
org.apache.hadoop.hive.metastore.model.MStorageDescriptor
public class MStorageDescriptor
- extends Object
|
Constructor Summary |
MStorageDescriptor()
|
MStorageDescriptor(MColumnDescriptor cd,
String location,
String inputFormat,
String outputFormat,
boolean isCompressed,
int numBuckets,
MSerDeInfo serDeInfo,
List<String> bucketCols,
List<MOrder> sortOrder,
Map<String,String> parameters)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MStorageDescriptor
public MStorageDescriptor()
MStorageDescriptor
public MStorageDescriptor(MColumnDescriptor cd,
String location,
String inputFormat,
String outputFormat,
boolean isCompressed,
int numBuckets,
MSerDeInfo serDeInfo,
List<String> bucketCols,
List<MOrder> sortOrder,
Map<String,String> parameters)
- Parameters:
cd - location - inputFormat - outputFormat - isCompressed - numBuckets - serDeInfo - bucketCols - sortOrder - parameters -
getLocation
public String getLocation()
- Returns:
- the location
setLocation
public void setLocation(String location)
- Parameters:
location - the location to set
isCompressed
public boolean isCompressed()
- Returns:
- the isCompressed
setCompressed
public void setCompressed(boolean isCompressed)
- Parameters:
isCompressed - the isCompressed to set
getNumBuckets
public int getNumBuckets()
- Returns:
- the numBuckets
setNumBuckets
public void setNumBuckets(int numBuckets)
- Parameters:
numBuckets - the numBuckets to set
getBucketCols
public List<String> getBucketCols()
- Returns:
- the bucketCols
setBucketCols
public void setBucketCols(List<String> bucketCols)
- Parameters:
bucketCols - the bucketCols to set
getParameters
public Map<String,String> getParameters()
- Returns:
- the parameters
setParameters
public void setParameters(Map<String,String> parameters)
- Parameters:
parameters - the parameters to set
getInputFormat
public String getInputFormat()
- Returns:
- the inputFormat
setInputFormat
public void setInputFormat(String inputFormat)
- Parameters:
inputFormat - the inputFormat to set
getOutputFormat
public String getOutputFormat()
- Returns:
- the outputFormat
setOutputFormat
public void setOutputFormat(String outputFormat)
- Parameters:
outputFormat - the outputFormat to set
getCD
public MColumnDescriptor getCD()
- Returns:
- the column descriptor
setCD
public void setCD(MColumnDescriptor cd)
- Parameters:
cd - the Column Descriptor to set
getSerDeInfo
public MSerDeInfo getSerDeInfo()
- Returns:
- the serDe
setSerDeInfo
public void setSerDeInfo(MSerDeInfo serDe)
- Parameters:
serDe - the serDe to set
setSortCols
public void setSortCols(List<MOrder> sortOrder)
- Parameters:
sortOrder - the sortOrder to set
getSortCols
public List<MOrder> getSortCols()
- Returns:
- the sortOrder
Copyright © 2011 The Apache Software Foundation