Class BlockEntryAtomicStore
java.lang.Object
org.teamapps.universaldb.index.buffer.AbstractResizingAtomicStore
org.teamapps.universaldb.index.buffer.AbstractBlockEntryAtomicStore
org.teamapps.universaldb.index.buffer.BlockEntryAtomicStore
public class BlockEntryAtomicStore extends AbstractBlockEntryAtomicStore
-
Field Summary
Fields inherited from class org.teamapps.universaldb.index.buffer.AbstractResizingAtomicStore
byteOrder, MAX_FILE_SIZE, MIN_FILE_SIZE -
Constructor Summary
Constructors Constructor Description BlockEntryAtomicStore(java.io.File path, java.lang.String name) -
Method Summary
Modifier and Type Method Description byte[]getBytes(int id)java.lang.StringgetText(int id)voidremoveBytes(int id)voidremoveText(int id)voidsetBytes(int id, byte[] bytes)voidsetText(int id, java.lang.String text)Methods inherited from class org.teamapps.universaldb.index.buffer.AbstractBlockEntryAtomicStore
drop, getBlockLength, getBlockPosition, getFreeSlot, getFreeSpacePosition, isEmpty, removeEntry, setBlockPosition, setFreeSpacePositionMethods inherited from class org.teamapps.universaldb.index.buffer.AbstractResizingAtomicStore
close, ensureCapacity, ensureCapacity, findNextBlockPosition, flush, getBuffer, getBufferIndex, getBuffers, getMaximumId, getName, getOffset, getOffset, getPath, getTotalCapacity, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
BlockEntryAtomicStore
public BlockEntryAtomicStore(java.io.File path, java.lang.String name)
-
-
Method Details
-
setBytes
public void setBytes(int id, byte[] bytes) -
getBytes
public byte[] getBytes(int id) -
removeBytes
public void removeBytes(int id) -
setText
public void setText(int id, java.lang.String text) -
getText
public java.lang.String getText(int id) -
removeText
public void removeText(int id)
-