- get(String, String) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the value for key
or defaultString
if not found.
- get(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the value for key
or null if not found.
- get(Object, K) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the value for key
or defaultValue
if not found.
- get(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- get(Object, K) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- get(Object) - Method in class com.linkedin.paldb.impl.StorageCache
-
Gets the value in the cache for key
or null if not found.
- get(byte[]) - Method in class com.linkedin.paldb.impl.StorageReader
-
- getArray(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the object array value for key
or null if not found.
- getArray(Object, K[]) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the object array value for key
or defaultValue
if not found.
- getArray(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getArray(Object, K[]) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getBoolean(String, boolean) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the boolean value for key
or defaultValue
if not found.
- getBoolean(String) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the boolean value key
.
- getBoolean(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the boolean value for key
.
- getBoolean(Object, boolean) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the boolean value for key
or defaultValue
if not found.
- getBoolean(Object, boolean) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getBoolean(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getBooleanArray(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the boolean array value for key
.
- getBooleanArray(Object, boolean[]) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the boolean array value for key
or defaultValue
if not found.
- getBooleanArray(Object, boolean[]) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getBooleanArray(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getBuf() - Method in class com.linkedin.paldb.utils.DataInputOutput
-
- getByte(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the byte value for key
.
- getByte(Object, byte) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the byte value for key
or defaultValue
if not found.
- getByte(Object, byte) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getByte(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getByteArray(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the byte array value for key
.
- getByteArray(Object, byte[]) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the byte array value for key
or defaultValue
if not found.
- getByteArray(Object, byte[]) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getByteArray(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getBytes() - Method in enum com.linkedin.paldb.utils.FormatVersion
-
Return the byte representation of this format version.
- getChar(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the char value for key
.
- getChar(Object, char) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the char value for key
or defaultValue
if not found.
- getChar(Object, char) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getChar(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getCharArray(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the char array value for key
.
- getCharArray(Object, char[]) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the char array value for key
or defaultValue
if not found.
- getCharArray(Object, char[]) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getCharArray(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getClass(String) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the class value key
.
- getConfiguration() - Method in interface com.linkedin.paldb.api.StoreReader
-
Returns the reader's configuration.
- getConfiguration() - Method in interface com.linkedin.paldb.api.StoreWriter
-
Return the writer configuration.
- getConfiguration() - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getConfiguration() - Method in class com.linkedin.paldb.impl.WriterImpl
-
- getDouble(String, double) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the double value for key
or defaultValue
if not found.
- getDouble(String) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the double value key
.
- getDouble(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the double value for key
.
- getDouble(Object, double) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the double value for key
or defaultValue
if not found.
- getDouble(Object, double) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getDouble(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getDoubleArray(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the double array value for key
.
- getDoubleArray(Object, double[]) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the double array value for key
or defaultValue
if not found.
- getDoubleArray(Object, double[]) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getDoubleArray(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getFile() - Method in interface com.linkedin.paldb.api.StoreReader
-
Returns the store file.
- getFile() - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getFloat(String, float) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the float value for key
or defaultValue
if not found.
- getFloat(String) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the float value key
.
- getFloat(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the float value for key
.
- getFloat(Object, float) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the float value for key
or defaultValue
if not found.
- getFloat(Object, float) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getFloat(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getFloatArray(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the float array value for key
.
- getFloatArray(Object, float[]) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the float array value for key
or defaultValue
if not found.
- getFloatArray(Object, float[]) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getFloatArray(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getInt(String, int) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the int value for key
or defaultValue
if not found.
- getInt(String) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the int value key
.
- getInt(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the int value for key
.
- getInt(Object, int) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the int value for key
or defaultValue
if not found.
- getInt(Object, int) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getInt(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getIntArray(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the int array value for key
.
- getIntArray(Object, int[]) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the int array value for key
or defaultValue
if not found.
- getIntArray(Object, int[]) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getIntArray(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getKeyCount() - Method in class com.linkedin.paldb.impl.StorageReader
-
- getLatestVersion() - Static method in enum com.linkedin.paldb.utils.FormatVersion
-
Return the latest version of the format.
- getList(String, List<String>) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the string list value for key
or defaultValue
if not found.
- getList(String) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the string list value key
.
- getLong(String, long) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the long value for key
or defaultValue
if not found.
- getLong(String) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the long value key
.
- getLong(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the long value for key
.
- getLong(Object, long) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the long value for key
or defaultValue
if not found.
- getLong(Object, long) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getLong(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getLongArray(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the long array value for key
.
- getLongArray(Object, long[]) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the long array value for key
or defaultValue
if not found.
- getLongArray(Object, long[]) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getLongArray(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getPos() - Method in class com.linkedin.paldb.utils.DataInputOutput
-
- getPrefixBytes() - Static method in enum com.linkedin.paldb.utils.FormatVersion
-
Returns the byte representation of the version prefix.
- getSerializer(Class) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the serializer for the given class or null if not found.
- getSerializer(Class) - Method in class com.linkedin.paldb.impl.Serializers
-
Get the serializer instance associated with cls
or null if not found.
- getSerializers() - Method in class com.linkedin.paldb.api.Configuration
-
- getShort(String, short) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the short value for key
or defaultValue
if not found.
- getShort(String) - Method in class com.linkedin.paldb.api.Configuration
-
Gets the short value key
.
- getShort(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the short value for key
.
- getShort(Object, short) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the short value for key
or defaultValue
if not found.
- getShort(Object, short) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getShort(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getShortArray(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the short array value for key
.
- getShortArray(Object, short[]) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the short array value for key
or defaultValue
if not found.
- getShortArray(Object, short[]) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getShortArray(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getString(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the string value for key
or null if not found.
- getString(Object, String) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the string value for key
or defaultValue
if not found.
- getString(Object, String) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getString(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getStringArray(Object) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the string array value for key
or null if not found.
- getStringArray(Object, String[]) - Method in interface com.linkedin.paldb.api.StoreReader
-
Gets the string array value for key
or defaultValue
if not found.
- getStringArray(Object, String[]) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getStringArray(Object) - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- getWeight(K) - Method in interface com.linkedin.paldb.api.Serializer
-
Returns the estimate number of bytes used to hold instance
in memory.
- getWeight() - Method in class com.linkedin.paldb.impl.StorageCache
-
Gets the cache current weight.
- serializeKey(Object) - Method in class com.linkedin.paldb.impl.StorageSerialization
-
Serializes the key object and returns it as a byte array.
- serializeKey(Object, DataOutput) - Method in class com.linkedin.paldb.impl.StorageSerialization
-
Serializes the key and writes it into dataOutput
.
- Serializer<K> - Interface in com.linkedin.paldb.api
-
Custom serializer for arbitrary Java classes.
- serializers - Variable in class com.linkedin.paldb.api.Configuration
-
- Serializers - Class in com.linkedin.paldb.impl
-
Manages the custom serializers.
- Serializers() - Constructor for class com.linkedin.paldb.impl.Serializers
-
Default constructor.
- serializeValue(Object) - Method in class com.linkedin.paldb.impl.StorageSerialization
-
Serializes the value object and returns it as a byte array.
- serializeValue(Object, DataOutput) - Method in class com.linkedin.paldb.impl.StorageSerialization
-
Serializes the value and writes it into dataOutput
.
- set(String, String) - Method in class com.linkedin.paldb.api.Configuration
-
Sets the value for key
.
- setMaxWeight(long) - Method in class com.linkedin.paldb.impl.StorageCache
-
Sets the max weight in the cache.
- size() - Method in interface com.linkedin.paldb.api.StoreReader
-
Returns the number of keys in the store.
- size() - Method in class com.linkedin.paldb.impl.ReaderImpl
-
- size() - Method in class com.linkedin.paldb.impl.StorageCache
-
Gets the cache size.
- skip(long) - Method in class com.linkedin.paldb.utils.DataInputOutput
-
- skipBytes(int) - Method in class com.linkedin.paldb.utils.DataInputOutput
-
- StorageCache - Class in com.linkedin.paldb.impl
-
LRU cache configured on the desired size in memory.
- StorageReader - Class in com.linkedin.paldb.impl
-
Internal read implementation.
- StorageSerialization - Class in com.linkedin.paldb.impl
-
Internal serialization implementation.
- StorageSerialization(Configuration) - Constructor for class com.linkedin.paldb.impl.StorageSerialization
-
Default constructor with configuration.
- StorageWriter - Class in com.linkedin.paldb.impl
-
Internal write implementation.
- StoreImpl - Class in com.linkedin.paldb.impl
-
Static implementation factory.
- StoreReader - Interface in com.linkedin.paldb.api
-
Main interface to read data from a PalDB store.
- StoreWriter - Interface in com.linkedin.paldb.api
-
Main interface to write data to a PalDB store.