view src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/jungle/query/UpdateQuery.java @ 108:69bbf08894aa

move
author one
date Fri, 12 Sep 2014 21:53:52 +0900
parents c297f0015d9e
children
line wrap: on
line source

package jp.ac.u_ryukyu.ie.cr.tatsuki.jungle.query;

import java.nio.ByteBuffer;


public class UpdateQuery extends SearchQuery /*implements Query*/ {

	
	private String updateAttribute;
	
	public UpdateQuery(String key, String attribute , String updateAttribute){
		super(null);
		this.updateAttribute = updateAttribute;
	}

	public ByteBuffer getUpdateAttribute(){
		updateAttribute.getBytes();
		return ByteBuffer.wrap(updateAttribute.getBytes());
	}
}