Index
All Classes and Interfaces|All Packages
B
- basePath() - Method in record class de.oliver.jdb.JIndex
-
Returns the value of the
basePathrecord component.
C
- contains(String) - Method in class de.oliver.jdb.JDocument
-
Checks if the document contains a value associated with the given key.
- countDocuments(String) - Method in class de.oliver.jdb.JDB
-
Counts the number of documents in the specified directory path.
D
- de.oliver.jdb - package de.oliver.jdb
- delete(String) - Method in class de.oliver.jdb.JDB
-
Deletes the document(s) at the specified path.
E
- equals(Object) - Method in record class de.oliver.jdb.JIndex
-
Indicates whether some other object is "equal to" this one.
G
- get(String, Class<T>) - Method in class de.oliver.jdb.JDB
-
Retrieves a document from the specified path, deserializing it into the given class type.
- get(String) - Method in class de.oliver.jdb.JDocument
-
Retrieves a value from the document using the given key.
- getAll(String, Class<T>) - Method in class de.oliver.jdb.JDB
-
Retrieves all documents from the specified directory path, deserializing them into the given class type.
- getBoolean(String) - Method in class de.oliver.jdb.JDocument
-
Retrieves a boolean value associated with the given key.
- getByte(String) - Method in class de.oliver.jdb.JDocument
-
Retrieves a byte value associated with the given key.
- getDocument(String) - Method in class de.oliver.jdb.JDB
-
Retrieves a document from the specified path.
- getDouble(String) - Method in class de.oliver.jdb.JDocument
-
Retrieves a double value associated with the given key.
- getFloat(String) - Method in class de.oliver.jdb.JDocument
-
Retrieves a float value associated with the given key.
- getInt(String) - Method in class de.oliver.jdb.JDocument
-
Retrieves an integer value associated with the given key from the document.
- getKeys(String) - Method in class de.oliver.jdb.JDocument
-
Retrieves the set of keys from a map value associated with a given key in the document.
- getLong(String) - Method in class de.oliver.jdb.JDocument
-
Retrieves a long value associated with the given key.
- getShort(String) - Method in class de.oliver.jdb.JDocument
-
Retrieves a short value associated with the given key.
- getString(String) - Method in class de.oliver.jdb.JDocument
-
Retrieves a string value from the document using the given key.
- GSON - Static variable in class de.oliver.jdb.JDB
H
- hashCode() - Method in record class de.oliver.jdb.JIndex
-
Returns a hash code value for this object.
I
- indexDocument(String, String) - Method in class de.oliver.jdb.JDB
-
Indexes a document by mapping the original path to the index path.
- indexMap() - Method in record class de.oliver.jdb.JIndex
-
Returns the value of the
indexMaprecord component.
J
- JDB - Class in de.oliver.jdb
-
The JDB class provides a simple JSON document-based storage system in a specified directory.
- JDB(String) - Constructor for class de.oliver.jdb.JDB
-
Constructs a new JDB instance with the specified base path.
- JDocument - Class in de.oliver.jdb
-
Represents a document that holds a map of key-value pairs with support for nested keys.
- JDocument(Map<String, Object>) - Constructor for class de.oliver.jdb.JDocument
- JIndex - Record Class in de.oliver.jdb
- JIndex(String, String, Map<String, String>) - Constructor for record class de.oliver.jdb.JIndex
-
Creates an instance of a
JIndexrecord class.
L
- load(String, String) - Static method in record class de.oliver.jdb.JIndex
N
- name() - Method in record class de.oliver.jdb.JIndex
-
Returns the value of the
namerecord component.
S
- save() - Method in record class de.oliver.jdb.JIndex
- set(String, T) - Method in class de.oliver.jdb.JDB
-
Saves the given value as a document at the specified path.
- set(String, T, String...) - Method in class de.oliver.jdb.JDB
-
Saves the given value as a document at the specified path and indexes it under additional paths.
T
- toString() - Method in record class de.oliver.jdb.JIndex
-
Returns a string representation of this record class.
All Classes and Interfaces|All Packages