A B C D E F G H I K L M O P R S T U V 
All Classes All Packages

A

add(Object) - Method in class ax.antpick.k2hash.K2hashKeyQueue
Inserts an element into the tail of this queue.
add(Object) - Method in class ax.antpick.k2hash.K2hashQueue
Inserts an element into the tail of this queue.
addAttributePluginLib(String) - Method in class ax.antpick.k2hash.K2hash
Adds a shared library that handles an attribute.
addDecryptionPassword(String) - Method in class ax.antpick.k2hash.K2hash
Adds a passphrase to decrypt a value.
addSubkey(String, String) - Method in class ax.antpick.k2hash.K2hash
Adds a subkey to a key.
addSubkeys(String, String[]) - Method in class ax.antpick.k2hash.K2hash
Adds subkeys to a key.
ax.antpick.k2hash - package ax.antpick.k2hash
 

B

beginTx(String) - Method in class ax.antpick.k2hash.K2hash
Starts a transaction.
beginTx(String, String, String, long) - Method in class ax.antpick.k2hash.K2hash
Starts a transaction logging.

C

clear() - Method in class ax.antpick.k2hash.K2hashKeyQueue
Removes all of the elements from this collection (optional operation).
clear() - Method in class ax.antpick.k2hash.K2hashQueue
Removes all of the elements from this collection (optional operation).
CLibrary - Interface in ax.antpick.k2hash
This JNA interface provides functions in the C library.
close() - Method in class ax.antpick.k2hash.K2hash
Closes a k2h file.
close() - Method in class ax.antpick.k2hash.K2hashKeyQueue
Free KeyQueueHandle
close() - Method in class ax.antpick.k2hash.K2hashQueue
Free KeyQueueHandle
count() - Method in class ax.antpick.k2hash.K2hashKeyQueue
Returns the number of queue.
count() - Method in class ax.antpick.k2hash.K2hashQueue
Returns the number of queue.
create(String) - Static method in class ax.antpick.k2hash.K2hash
Creates a k2hash file.
create(String, int, int, int, int) - Static method in class ax.antpick.k2hash.K2hash
Creates a k2hash file.

D

DEFAULT - ax.antpick.k2hash.K2hash.OPEN_MODE
Read and write access to a k2hash file.
DEFAULT_ATTRPACK - Static variable in class ax.antpick.k2hash.K2hashKeyQueue
Default K2hashAttrPack array is null.
DEFAULT_ATTRPACK - Static variable in class ax.antpick.k2hash.K2hashQueue
Default K2hashAttrPack array is null.
DEFAULT_ATTRPACK_SIZE - Static variable in class ax.antpick.k2hash.K2hashKeyQueue
Default size of a K2hashAttrPack array is 0.
DEFAULT_ATTRPACK_SIZE - Static variable in class ax.antpick.k2hash.K2hashQueue
Default size of a K2hashAttrPack array is 0.
DEFAULT_CMASK_BITS - Static variable in class ax.antpick.k2hash.K2hash
Default key collision mask bits.
DEFAULT_EXPIRATION_DURATION - Static variable in class ax.antpick.k2hash.K2hashKeyQueue
Default data expiration duration is 0.
DEFAULT_EXPIRATION_DURATION - Static variable in class ax.antpick.k2hash.K2hashQueue
Default data expiration duration is 0.
DEFAULT_FIFO - Static variable in class ax.antpick.k2hash.K2hashKeyQueue
Default FIFO is true.
DEFAULT_FIFO - Static variable in class ax.antpick.k2hash.K2hashQueue
Default FIFO is true.
DEFAULT_IS_FULLMAP - Static variable in class ax.antpick.k2hash.K2hash
The library maps the whole file to memory using mmap.
DEFAULT_IS_READONLY - Static variable in class ax.antpick.k2hash.K2hash
The library opens a k2hash file with read only access.
DEFAULT_IS_REMOVE_FILE - Static variable in class ax.antpick.k2hash.K2hash
The library doesn't remove a k2hash file when no process has attached it.
DEFAULT_MASK_BITS - Static variable in class ax.antpick.k2hash.K2hash
Default key mask bits.
DEFAULT_MAX_ELEMENT - Static variable in class ax.antpick.k2hash.K2hash
Default maximum elements of a collision key.
DEFAULT_PAGE_SIZE - Static variable in class ax.antpick.k2hash.K2hash
Default page size.
DEFAULT_PASS - Static variable in class ax.antpick.k2hash.K2hashKeyQueue
Default passphrase string is null.
DEFAULT_PASS - Static variable in class ax.antpick.k2hash.K2hashQueue
Default passphrase string is null.
DEFAULT_POSITION - Static variable in class ax.antpick.k2hash.K2hashKeyQueue
Default position of a peek operation is 0.
DEFAULT_POSITION - Static variable in class ax.antpick.k2hash.K2hashQueue
Default position of a peek operation is 0.
DEFAULT_PREFIX - Static variable in class ax.antpick.k2hash.K2hashKeyQueue
Default prefix string is null.
DEFAULT_PREFIX - Static variable in class ax.antpick.k2hash.K2hashQueue
Default prefix string is null.
dumpToFile(String) - Method in class ax.antpick.k2hash.K2hash
Dumps k2hash data to a file.
dumpToFile(String, boolean) - Method in class ax.antpick.k2hash.K2hash
Dumps data to a file.

E

element() - Method in class ax.antpick.k2hash.K2hashKeyQueue
Finds and gets a object from the head of this queue.
element() - Method in class ax.antpick.k2hash.K2hashQueue
Finds and gets a object from the head of this queue.
element(int) - Method in class ax.antpick.k2hash.K2hashKeyQueue
Finds and gets a object from the head of this queue.
element(int) - Method in class ax.antpick.k2hash.K2hashQueue
Finds and gets a object from the head of this queue.
ELEMENT - ax.antpick.k2hash.K2hash.STATS_DUMP_LEVEL
Dump headers, hash tables, sub hash tables and elements.
enableEncryption(boolean) - Method in class ax.antpick.k2hash.K2hash
Enables a feature to encrypt a value.
enableHistory(boolean) - Method in class ax.antpick.k2hash.K2hash
Enables a feature to record a key modification history.
enableMtime(boolean) - Method in class ax.antpick.k2hash.K2hash
Enables a feature to record value modification time.

F

FIELDS - Static variable in class ax.antpick.k2hash.K2hashAttrPack
Fields of K2hashAttrPack.
free(Pointer) - Method in interface ax.antpick.k2hash.CLibrary
Frees the memory space pointed to by ptr

G

getAttribute(String, String) - Method in class ax.antpick.k2hash.K2hash
Gets an attribute of a key.
getAttributes(String) - Method in class ax.antpick.k2hash.K2hash
Gets attributes of a key.
getCLibrary() - Static method in class ax.antpick.k2hash.K2hash
Creates a C Library instance.
getenv(String) - Method in interface ax.antpick.k2hash.CLibrary
Gets the value of an enviroment.
getFieldOrder() - Method in class ax.antpick.k2hash.K2hashAttrPack
Returns fields in the same order with the K2hash C API K2hashAttrPack structure.
getHandle() - Method in class ax.antpick.k2hash.K2hash
Returns a k2hash data handle.
getLibrary() - Static method in class ax.antpick.k2hash.K2hash
Creates a K2hashLibrary instance.
getQueueHandle() - Method in class ax.antpick.k2hash.K2hashKeyQueue
Returns a K2hashKeyQueue handle.
getQueueHandle() - Method in class ax.antpick.k2hash.K2hashQueue
Returns a K2hashQueue handle.
getSubkeys(String) - Method in class ax.antpick.k2hash.K2hash
Gets keys of subkeys of a key.
getTxFileFd() - Method in class ax.antpick.k2hash.K2hash
Gets a transaction log file descriptor.
getTxPoolSize() - Method in class ax.antpick.k2hash.K2hash
Gets the number of transaction thread pool.
getValue(byte[], String) - Method in class ax.antpick.k2hash.K2hash
Gets the value of a key in binary format.
getValue(String) - Method in class ax.antpick.k2hash.K2hash
Gets the value of a key.
getValue(String, String) - Method in class ax.antpick.k2hash.K2hash
Gets the value of a key.

H

HASH_TABLE - ax.antpick.k2hash.K2hash.STATS_DUMP_LEVEL
Dump headers and hash tables.
HEADER - ax.antpick.k2hash.K2hash.STATS_DUMP_LEVEL
Dump headers.

I

isEmpty() - Method in class ax.antpick.k2hash.K2hashKeyQueue
Returns true if, and only if, queue size is 0.
isEmpty() - Method in class ax.antpick.k2hash.K2hashQueue
Returns true if, and only if, queue size is 0.

K

K2H_INVALID_HANDLE - Static variable in class ax.antpick.k2hash.K2hash
Default k2hash data handle.
K2H_INVALID_HANDLE - Static variable in class ax.antpick.k2hash.K2hashKeyQueue
Default k2hash data handle.
K2H_INVALID_HANDLE - Static variable in class ax.antpick.k2hash.K2hashQueue
Default k2hash data handle.
K2hash - Class in ax.antpick.k2hash
The class K2hash encapsulates the K2hashLibrary class and represents a K2hash key-value store.
K2hash.OPEN_MODE - Enum in ax.antpick.k2hash
Defines access modes used to open a file.
K2hash.STATS_DUMP_LEVEL - Enum in ax.antpick.k2hash
Defines levels used to dump a k2hash data.
K2hashAttrPack - Class in ax.antpick.k2hash
Information about an attribute of a key.
K2hashAttrPack() - Constructor for class ax.antpick.k2hash.K2hashAttrPack
Constructor of a K2hash attribute.
K2hashKeyQueue - Class in ax.antpick.k2hash
Queue holds keys of k2hash database in a FIFO (first-in-first-out) manner.
K2hashQueue - Class in ax.antpick.k2hash
Queue holds elements in a FIFO (first-in-first-out) manner.
keylength - Variable in class ax.antpick.k2hash.K2hashAttrPack
The length of an attribute key.

L

loadFromFile(String) - Method in class ax.antpick.k2hash.K2hash
Loads data from a file.
loadFromFile(String, boolean) - Method in class ax.antpick.k2hash.K2hash
Loads data from a file.

M

MEM - ax.antpick.k2hash.K2hash.OPEN_MODE
Read and write access to memory.

O

of(long) - Static method in class ax.antpick.k2hash.K2hashKeyQueue
Constructs a K2hashKeyQueue instance.
of(long) - Static method in class ax.antpick.k2hash.K2hashQueue
Constructs a K2hashQueue instance.
of(long, boolean) - Static method in class ax.antpick.k2hash.K2hashKeyQueue
Constructs a K2hashKeyQueue instance.
of(long, boolean, String) - Static method in class ax.antpick.k2hash.K2hashKeyQueue
Constructs a K2hashKeyQueue instance.
of(long, boolean, String) - Static method in class ax.antpick.k2hash.K2hashQueue
Constructs a K2hashQueue instance.
of(long, boolean, String, String, long) - Static method in class ax.antpick.k2hash.K2hashKeyQueue
Constructs a K2hashKeyQueue instance.
of(long, boolean, String, String, long) - Static method in class ax.antpick.k2hash.K2hashQueue
Constructs a K2hashQueue instance.
of(String) - Static method in class ax.antpick.k2hash.K2hash
Creates a k2hash instance.
of(String, K2hash.OPEN_MODE) - Static method in class ax.antpick.k2hash.K2hash
Creates a k2hash instance.
offer(Object) - Method in class ax.antpick.k2hash.K2hashKeyQueue
Inserts an element into the tail of this queue.
offer(Object) - Method in class ax.antpick.k2hash.K2hashQueue
Inserts an element into the tail of this queue.

P

PAGE - ax.antpick.k2hash.K2hash.STATS_DUMP_LEVEL
Dump headers, hash tables, sub hash tables, elements and pages.
peek() - Method in class ax.antpick.k2hash.K2hashKeyQueue
Finds and gets a object at the head of this queue.
peek() - Method in class ax.antpick.k2hash.K2hashQueue
Finds and gets a object at the head of this queue.
peek(int) - Method in class ax.antpick.k2hash.K2hashKeyQueue
Finds and gets a object from the head of this queue.
peek(int) - Method in class ax.antpick.k2hash.K2hashQueue
Finds and gets a object from the head of this queue.
pkey - Variable in class ax.antpick.k2hash.K2hashAttrPack
An attribute key.
poll() - Method in class ax.antpick.k2hash.K2hashKeyQueue
Finds and gets a object from the head of this queue.
poll() - Method in class ax.antpick.k2hash.K2hashQueue
Finds and gets a object from the head of this queue.
print() - Method in class ax.antpick.k2hash.K2hashKeyQueue
Print the objects in this queue.
print() - Method in class ax.antpick.k2hash.K2hashQueue
Print the objects in this queue.
printAttributePlugins() - Method in class ax.antpick.k2hash.K2hash
Prints attribute plugins to stderr.
printAttributes() - Method in class ax.antpick.k2hash.K2hash
Prints attributes to stderr.
printDataStats() - Method in class ax.antpick.k2hash.K2hash
Prints data statistics.
printTableStats(K2hash.STATS_DUMP_LEVEL) - Method in class ax.antpick.k2hash.K2hash
Prints k2hash key table information.
pval - Variable in class ax.antpick.k2hash.K2hashAttrPack
An attribute value.

R

RDONLY - ax.antpick.k2hash.K2hash.OPEN_MODE
Read only access to a k2hash file.
RDWR - ax.antpick.k2hash.K2hash.OPEN_MODE
Read and write access to a k2hash file.
remove() - Method in class ax.antpick.k2hash.K2hashKeyQueue
Finds and removes the object at the top of this queue and returns the object.
remove() - Method in class ax.antpick.k2hash.K2hashQueue
Finds and removes the object at the top of this queue and returns the object.
remove(Object) - Method in class ax.antpick.k2hash.K2hashKeyQueue
Removes the object(key) at the top of this queue and the object(value) outside of this queue This remove method is derived from the Collection interface.
remove(String) - Method in class ax.antpick.k2hash.K2hash
Removes a key.
remove(String, boolean) - Method in class ax.antpick.k2hash.K2hash
Removes a key.
remove(String, String) - Method in class ax.antpick.k2hash.K2hash
Removes a key from a subkey list and removes the subkey itself.
removeList(long) - Method in class ax.antpick.k2hash.K2hashKeyQueue
Removes the objects from this queue.
removeList(long) - Method in class ax.antpick.k2hash.K2hashQueue
Removes objects from this queue.
rename(String, String) - Method in class ax.antpick.k2hash.K2hash
Renames a key with a new key.

S

setAttribute(String, String, String) - Method in class ax.antpick.k2hash.K2hash
Sets an attribute of a key.
setDefaultEncryptionPassword(String) - Method in class ax.antpick.k2hash.K2hash
Sets the default encryption passphrase.
setEncryptionPasswordFile(String) - Method in class ax.antpick.k2hash.K2hash
Sets the data encryption password file.
setenv(String, String, int) - Method in interface ax.antpick.k2hash.CLibrary
Adds an enviroments
setExpirationDuration(int, TimeUnit) - Method in class ax.antpick.k2hash.K2hash
Sets the duration to expire a value.
setSubkey(String, String) - Method in class ax.antpick.k2hash.K2hash
Sets a subkey of a key.
setSubkeys(String, String[]) - Method in class ax.antpick.k2hash.K2hash
Sets subkeys.
setTxPoolSize(int) - Method in class ax.antpick.k2hash.K2hash
Sets the number of transaction thread pool.
setValue(String, String) - Method in class ax.antpick.k2hash.K2hash
Sets a key with a value.
setValue(String, String, String, long, TimeUnit) - Method in class ax.antpick.k2hash.K2hash
Sets a key with a value.
stopTx() - Method in class ax.antpick.k2hash.K2hash
Stops a transaction logging.
SUB_HASH_TABLE - ax.antpick.k2hash.K2hash.STATS_DUMP_LEVEL
Dump headers, hash tables and sub hash tables.

T

TMPFILE - ax.antpick.k2hash.K2hash.OPEN_MODE
Read and write access to a temporary file.
toString() - Method in class ax.antpick.k2hash.K2hash
Returns full of members as a string.
toString() - Method in class ax.antpick.k2hash.K2hashKeyQueue
 
toString() - Method in class ax.antpick.k2hash.K2hashQueue
 

U

unsetenv(String) - Method in interface ax.antpick.k2hash.CLibrary
Deletes an variable name from the environment.

V

vallength - Variable in class ax.antpick.k2hash.K2hashAttrPack
The length of an attribute value.
valueOf(String) - Static method in enum ax.antpick.k2hash.K2hash.OPEN_MODE
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ax.antpick.k2hash.K2hash.STATS_DUMP_LEVEL
Returns the enum constant of this type with the specified name.
values() - Static method in enum ax.antpick.k2hash.K2hash.OPEN_MODE
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ax.antpick.k2hash.K2hash.STATS_DUMP_LEVEL
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in class ax.antpick.k2hash.K2hash
Prints version information.
A B C D E F G H I K L M O P R S T U V 
All Classes All Packages