public class FSTLongOffheapMap<V> extends FSTSerializedOffheapMap<Long,V>
FSTBinaryOffheapMap.KeyValIter
buffer, coder, tmpVal
alloc, bytezOffset, CORE_HEADER_LEN, CUSTOM_FILEHEADER_LEN, customHeader, FILE_HEADER_LEN, freeList, GB, index, KEY_OFFSET_IN_HEADER, keyLen, mappedFile, MB, memory, mutationCount, numElem
Constructor and Description |
---|
FSTLongOffheapMap(long sizeBytes,
int numberOfElems) |
FSTLongOffheapMap(long sizeBytes,
int numberOfElems,
FSTCoder coder) |
FSTLongOffheapMap(String mappedFile,
long sizeMemBytes,
int numberOfElems) |
FSTLongOffheapMap(String mappedFile,
long sizeMemBytes,
int numberOfElems,
FSTCoder coder) |
Modifier and Type | Method and Description |
---|---|
ByteSource |
encodeKey(Long key) |
decodeValue, encodeValue, getCoder, getEntryLengthForContentLength
get, put, remove, values
addEntry, addToFreeList, binaryKeys, binaryValues, decElems, dumpIndexStats, finalize, free, getBinary, getCapacityMB, getContentLenFromHeader, getCustomFileHeader, getFileName, getFreeMem, getHeaderLen, getLenFromHeader, getSize, getUsedMem, incElems, init, initFromFile, printBinaryKey, putBinary, removeBinary, removeEntry, resizeStore, setEntry, writeEntryHeader
public FSTLongOffheapMap(long sizeBytes, int numberOfElems, FSTCoder coder)
public FSTLongOffheapMap(String mappedFile, long sizeMemBytes, int numberOfElems, FSTCoder coder) throws Exception
Exception
public FSTLongOffheapMap(long sizeBytes, int numberOfElems)
public ByteSource encodeKey(Long key)
encodeKey
in class FSTCodedOffheapMap<Long,V>
Copyright © 2017. All rights reserved.