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

com.gitee.yanfanvip.model.Row Maven / Gradle / Ivy

The newest version!
package com.gitee.yanfanvip.model;

import java.io.Serializable;
import java.util.Map;

public class Row implements Serializable{
	private static final long serialVersionUID = -6416943549864767651L;
	
	private String keyspaces;
	private String key;
	private byte[] value;
	private Map values;
	
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public byte[] getValue() {
		return value;
	}
	public void setValue(byte[] value) {
		this.value = value;
	}
	public String getKeyspaces() {
		return keyspaces;
	}
	public void setKeyspaces(String keyspaces) {
		this.keyspaces = keyspaces;
	}
	public Map getValues() {
		return values;
	}
	public void setValues(Map values) {
		this.values = values;
	}
	
	public Row() {}
	
	public Row(String keyspaces) {
		this.keyspaces = keyspaces;
	}
	public Row(String keyspaces, Map values){
		this.keyspaces = keyspaces;
		this.values = values;
	}
	public Row(String keyspaces, String key){
		this.keyspaces = keyspaces;
		this.key = key;
	}
	public Row(String keyspaces, String key, byte[] value){
		this.keyspaces = keyspaces;
		this.key = key;
		this.value = value;
	}
	@Override
	public String toString() {
		return "{keyspaces : " + keyspaces + " , key : " + key + "}";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy