Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 
 
 package org.apache.hadoop.hive.metastore.model;
 
 import java.util.List;
 import java.util.Map;
 
 public class MStorageDescriptor {
   private List<MFieldSchemacols;
   private String location;
   private String inputFormat;
   private String outputFormat;
   private boolean isCompressed = false;
   private int numBuckets = 1;
   private MSerDeInfo serDeInfo;
   private List<StringbucketCols;
   private List<MOrdersortCols;
   private Map<StringStringparameters;
   
   public MStorageDescriptor() {}

  
  

Parameters:
cols
location
inputFormat
outputFormat
isCompressed
numBuckets
serDeInfo
bucketCols
sortOrder
parameters
 
   public MStorageDescriptor(List<MFieldSchemacolsString locationString inputFormat,
       String outputFormatboolean isCompressedint numBucketsMSerDeInfo serDeInfo,
       List<StringbucketColsList<MOrdersortOrderMap<StringStringparameters) {
     this. = cols;
     this. = location;
     this. = inputFormat;
     this. = outputFormat;
     this. = isCompressed;
     this. = numBuckets;
     this. = serDeInfo;
     this. = bucketCols;
     this. = sortOrder;
     this. = parameters;
   }


  

Returns:
the location
 
   public String getLocation() {
     return ;
   }

  

Parameters:
location the location to set
 
   public void setLocation(String location) {
     this. = location;
   }

  

Returns:
the isCompressed
 
   public boolean isCompressed() {
     return ;
   }

  

Parameters:
isCompressed the isCompressed to set
 
   public void setCompressed(boolean isCompressed) {
     this. = isCompressed;
   }

  

Returns:
the numBuckets
 
   public int getNumBuckets() {
     return ;
  }

  

Parameters:
numBuckets the numBuckets to set
  public void setNumBuckets(int numBuckets) {
    this. = numBuckets;
  }

  

Returns:
the bucketCols
  public List<StringgetBucketCols() {
    return ;
  }

  

Parameters:
bucketCols the bucketCols to set
  public void setBucketCols(List<StringbucketCols) {
    this. = bucketCols;
  }

  

Returns:
the parameters
  public Map<StringStringgetParameters() {
    return ;
  }

  

Parameters:
parameters the parameters to set
  public void setParameters(Map<StringStringparameters) {
    this. = parameters;
  }

  

Returns:
the inputFormat
  public String getInputFormat() {
    return ;
  }

  

Parameters:
inputFormat the inputFormat to set
  public void setInputFormat(String inputFormat) {
    this. = inputFormat;
  }

  

Returns:
the outputFormat
  public String getOutputFormat() {
    return ;
  }

  

Parameters:
outputFormat the outputFormat to set
  public void setOutputFormat(String outputFormat) {
    this. = outputFormat;
  }

  

Returns:
the cols
  public List<MFieldSchemagetCols() {
    return ;
  }

  

Parameters:
cols the cols to set
  public void setCols(List<MFieldSchemacols) {
    this. = cols;
  }

  

Returns:
the serDe
  public MSerDeInfo getSerDeInfo() {
    return ;
  }

  

Parameters:
serDe the serDe to set
  public void setSerDeInfo(MSerDeInfo serDe) {
    this. = serDe;
  }


  

Parameters:
sortOrder the sortOrder to set
  public void setSortCols(List<MOrdersortOrder) {
    this. = sortOrder;
  }


  

Returns:
the sortOrder
  public List<MOrdergetSortCols() {
    return ;
  }
New to GrepCode? Check out our FAQ X