comparison src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/jungle/store/index/PutAttributeIndex.java @ 105:78ef456c98a0

add Query Status but has error
author one
date Fri, 12 Sep 2014 19:47:25 +0900
parents bed3afd5c2e2
children 5b7e45464bb8
comparison
equal deleted inserted replaced
104:f9a0e7069811 105:78ef456c98a0
13 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; 13 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either;
14 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; 14 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error;
15 15
16 public class PutAttributeIndex extends PutAttribute { 16 public class PutAttributeIndex extends PutAttribute {
17 17
18 private final String key;
19 private final ByteBuffer value;
20 private TreeMap<String,List<TreeNode>> index; 18 private TreeMap<String,List<TreeNode>> index;
19
21 public PutAttributeIndex(String _key,ByteBuffer _value, TreeMap<String,List<TreeNode>>index) 20 public PutAttributeIndex(String _key,ByteBuffer _value, TreeMap<String,List<TreeNode>>index)
22 { 21 {
23 super(_key, _value); 22 super(_key, _value);
24 key = _key;
25 value = _value;
26 this.index = index; 23 this.index = index;
27 } 24 }
28 25
29 @Override 26 @Override
30 public Either<Error, Logging> edit(TreeNode _e) { 27 public Either<Error, Logging> edit(TreeNode _e) {