Mercurial > hg > Members > tatsuki > bench > jungle-core
view src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/jungle/query/UpdateQuery.java @ 141:3071b1a471fd
add getKeys
author | one |
---|---|
date | Tue, 11 Nov 2014 18:57:52 +0900 |
parents | 5b7e45464bb8 |
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()); } }