org.apache.hadoop.hive.metastore.model.MSerDeInfo Maven / Gradle / Ivy
/*
* 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.Map;
public class MSerDeInfo {
private String name;
private String serializationLib;
private Map parameters;
private String description;
private String serializerClass;
private String deserializerClass;
private int serdeType;
/**
*
* @param name
* @param serializationLib
* @param parameters
* @param description
* @param serializerClass
* @param deserializerClass
* @param serdeType
*/
public MSerDeInfo(String name, String serializationLib, Map parameters,
String description, String serializerClass, String deserializerClass,
int serdeType) {
this.name = name;
this.serializationLib = serializationLib;
this.parameters = parameters;
this.description = description;
this.serializerClass = serializerClass;
this.deserializerClass = deserializerClass;
this.serdeType = serdeType;
}
/**
* @return the serializationLib
*/
public String getSerializationLib() {
return serializationLib;
}
/**
* @param serializationLib the serializationLib to set
*/
public void setSerializationLib(String serializationLib) {
this.serializationLib = serializationLib;
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* @return the parameters
*/
public Map getParameters() {
return parameters;
}
/**
* @param parameters the parameters to set
*/
public void setParameters(Map parameters) {
this.parameters = parameters;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getSerializerClass() {
return serializerClass;
}
public void setSerializerClass(String serializerClass) {
this.serializerClass = serializerClass;
}
public String getDeserializerClass() {
return deserializerClass;
}
public void setDeserializerClass(String deserializerClass) {
this.deserializerClass = deserializerClass;
}
public int getSerdeType() {
return serdeType;
}
public void setSerdeType(int serdeType) {
this.serdeType = serdeType;
}
}