All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.splout.db.qnode.beans.DeployRequest Maven / Gradle / Ivy

Go to download

Splout is a read only, horizontally scalable SQL database that plays well with Hadoop.

There is a newer version: 0.3.0
Show newest version
package com.splout.db.qnode.beans;

/*
 * #%L
 * Splout SQL commons
 * %%
 * Copyright (C) 2012 Datasalt Systems S.L.
 * %%
 * Licensed 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.
 * #L%
 */

import java.util.List;

import com.splout.db.common.BaseBean;
import com.splout.db.common.PartitionEntry;
import com.splout.db.common.ReplicationEntry;

/**
 * Bean that is serialized as JSON and sent to the QNodes for requesting a deploy. The deploy method accepts a list of such beans. Each bean refers to the deplooyment of one tablespace.
 */
public class DeployRequest extends BaseBean {

	String tablespace;
	String data_uri;
	List initStatements;
	List partitionMap;
	List replicationMap;

	// ----------------- //
	public String getTablespace() {
		return tablespace;
	}

	public void setTablespace(String table_partition) {
		this.tablespace = table_partition;
	}

	public String getData_uri() {
		return data_uri;
	}

	public void setData_uri(String data_uri) {
		this.data_uri = data_uri;
	}

	public List getPartitionMap() {
		return partitionMap;
	}

	public void setPartitionMap(List partitionMap) {
		this.partitionMap = partitionMap;
	}

	public List getReplicationMap() {
		return replicationMap;
	}

	public void setReplicationMap(List replicationMap) {
		this.replicationMap = replicationMap;
	}

	public List getInitStatements() {
  	return initStatements;
  }

	public void setInitStatements(List initStatements) {
  	this.initStatements = initStatements;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy