public class MStorageDescriptor extends Object
Constructor and Description |
---|
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,
List<String> skewedColNames,
List<MStringList> skewedColValues,
Map<MStringList,String> skewedColValueLocationMaps,
boolean storedAsSubDirectories) |
public 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, List<String> skewedColNames, List<MStringList> skewedColValues, Map<MStringList,String> skewedColValueLocationMaps, boolean storedAsSubDirectories)
cd
- location
- inputFormat
- outputFormat
- isCompressed
- numBuckets
- serDeInfo
- bucketCols
- sortOrder
- parameters
- public String getLocation()
public void setLocation(String location)
location
- the location to setpublic boolean isCompressed()
public void setCompressed(boolean isCompressed)
isCompressed
- the isCompressed to setpublic int getNumBuckets()
public void setNumBuckets(int numBuckets)
numBuckets
- the numBuckets to setpublic void setBucketCols(List<String> bucketCols)
bucketCols
- the bucketCols to setpublic void setParameters(Map<String,String> parameters)
parameters
- the parameters to setpublic String getInputFormat()
public void setInputFormat(String inputFormat)
inputFormat
- the inputFormat to setpublic String getOutputFormat()
public void setOutputFormat(String outputFormat)
outputFormat
- the outputFormat to setpublic MColumnDescriptor getCD()
public void setCD(MColumnDescriptor cd)
cd
- the Column Descriptor to setpublic MSerDeInfo getSerDeInfo()
public void setSerDeInfo(MSerDeInfo serDe)
serDe
- the serDe to setpublic void setSortCols(List<MOrder> sortOrder)
sortOrder
- the sortOrder to setpublic void setSkewedColNames(List<String> skewedColNames)
skewedColNames
- the skewedColNames to setpublic List<MStringList> getSkewedColValues()
public void setSkewedColValues(List<MStringList> skewedColValues)
skewedColValues
- the skewedColValues to setpublic Map<MStringList,String> getSkewedColValueLocationMaps()
public void setSkewedColValueLocationMaps(Map<MStringList,String> listBucketColValuesMapping)
skewedColValueLocationMaps
- the skewedColValueLocationMaps to setpublic boolean isStoredAsSubDirectories()
public void setStoredAsSubDirectories(boolean storedAsSubDirectories)
storedAsSubDirectories
- the storedAsSubDirectories to setCopyright © 2017 The Apache Software Foundation. All rights reserved.