view src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/store/impl/TreeNodeAttributes.java @ 151:d9fbddf77bf6

add class Index
author one
date Sat, 22 Nov 2014 14:46:44 +0900
parents 3071b1a471fd
children 0854f9a9e81d
line wrap: on
line source

package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl;

import java.nio.ByteBuffer;

import fj.data.List;
import fj.data.TreeMap;
import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Attributes;
import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either;
import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error;

public interface TreeNodeAttributes extends Attributes
{
	public Either<Error,TreeNode> delete(String key);
	public Either<Error,TreeNode> put(String key,ByteBuffer value);
	public TreeMap<String,ByteBuffer> getAttributesAsRawMap();
	public List<String> getKeys(); 
}