Class ByteArrayIndex
- java.lang.Object
-
- org.teamapps.universaldb.index.binary.ByteArrayIndex
-
public class ByteArrayIndex extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ByteArrayIndex(java.io.File path, java.lang.String name)
-
Method Summary
Modifier and Type Method Description voidclose()static byte[]compress(byte[] data)static byte[]decompress(byte[] data)voiddrop()byte[]getByteArray(long index)voidremoveByteArray(long index)longsetByteArray(byte[] bytes)
-
-
-
Method Detail
-
getByteArray
public byte[] getByteArray(long index)
-
setByteArray
public long setByteArray(byte[] bytes)
-
removeByteArray
public void removeByteArray(long index)
-
compress
public static byte[] compress(byte[] data)
-
decompress
public static byte[] decompress(byte[] data)
-
close
public void close()
-
drop
public void drop()
-
-