org.apache.hadoop.hive.metastore.model
Class MStorageDescriptor

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.model.MStorageDescriptor

public class MStorageDescriptor
extends Object


Constructor Summary
MStorageDescriptor()
           
MStorageDescriptor(List<MFieldSchema> cols, String location, String inputFormat, String outputFormat, boolean isCompressed, int numBuckets, MSerDeInfo serDeInfo, List<String> bucketCols, List<MOrder> sortOrder, Map<String,String> parameters)
           
 
Method Summary
 List<String> getBucketCols()
           
 List<MFieldSchema> getCols()
           
 String getInputFormat()
           
 String getLocation()
           
 int getNumBuckets()
           
 String getOutputFormat()
           
 Map<String,String> getParameters()
           
 MSerDeInfo getSerDeInfo()
           
 List<MOrder> getSortCols()
           
 boolean isCompressed()
           
 void setBucketCols(List<String> bucketCols)
           
 void setCols(List<MFieldSchema> cols)
           
 void setCompressed(boolean isCompressed)
           
 void setInputFormat(String inputFormat)
           
 void setLocation(String location)
           
 void setNumBuckets(int numBuckets)
           
 void setOutputFormat(String outputFormat)
           
 void setParameters(Map<String,String> parameters)
           
 void setSerDeInfo(MSerDeInfo serDe)
           
 void setSortCols(List<MOrder> sortOrder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MStorageDescriptor

public MStorageDescriptor()

MStorageDescriptor

public MStorageDescriptor(List<MFieldSchema> cols,
                          String location,
                          String inputFormat,
                          String outputFormat,
                          boolean isCompressed,
                          int numBuckets,
                          MSerDeInfo serDeInfo,
                          List<String> bucketCols,
                          List<MOrder> sortOrder,
                          Map<String,String> parameters)
Parameters:
cols -
location -
inputFormat -
outputFormat -
isCompressed -
numBuckets -
serDeInfo -
bucketCols -
sortOrder -
parameters -
Method Detail

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

getCols

public List<MFieldSchema> getCols()
Returns:
the cols

setCols

public void setCols(List<MFieldSchema> cols)
Parameters:
cols - the cols 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