| Package | Description |
|---|---|
| net.endrealm.realmdrive.factory | |
| net.endrealm.realmdrive.inst | |
| net.endrealm.realmdrive.interfaces | |
| net.endrealm.realmdrive.utils |
| Modifier and Type | Method and Description |
|---|---|
DriveObject |
DriveObjectFactory.createEmptyObject()
Instantiates a new empty
DriveObject |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleDriveObject |
| Modifier and Type | Method and Description |
|---|---|
DriveObject |
SimpleDriveObject.deepClone() |
DriveObject |
MongoBackend.findOne(Query queryDetails)
Reads one object matching the query parameters
|
DriveObject |
SimpleDriveObject.getAsObject() |
DriveObject |
SimpleElementArray.getAsObject() |
DriveObject |
SimplePrimitiveDriveElement.getAsObject() |
DriveObject |
SimpleElementArray.getAsObject(int num)
Retrieves an item from the list
|
DriveObject |
SimpleDriveObject.getAsObject(String key)
Retrieves an item from the list
|
DriveObject |
SimpleDriveReader.readObject(Query query)
Read the first object instance found by the specified parameters
|
DriveObject |
SimpleDriveObject.subtract(DriveElement driveElement) |
DriveObject |
SimpleConversionHandler.transform(Object object)
Transforms a basic object into a DriveObject.
|
| Modifier and Type | Method and Description |
|---|---|
List<DriveObject> |
MongoBackend.findAll(Query queryDetails)
Read all objects matching the query parameters
|
List<DriveObject> |
MongoBackend.findAll(Query queryDetails,
Pageable pageable) |
List<DriveObject> |
SimpleDriveReader.readAllObjects(Query query)
Read all object instances found by the specified parameters
|
List<DriveObject> |
SimpleDriveReader.readPagedObjects(Query query,
Pageable pageable) |
| Modifier and Type | Method and Description |
|---|---|
void |
MongoBackend.replace(DriveObject element,
Query query) |
void |
SimpleDriveWriter.replace(DriveObject element,
Query queryDetails) |
void |
SimpleDriveWriter.replaceAsync(DriveObject element,
Query queryDetails,
Runnable onFinish) |
<T> T |
SimpleConversionHandler.transform(DriveObject statisticsObject,
Class<T> clazz)
Transforms a stats object into a classes object.
|
<T> T |
SimpleConversionHandler.transform(DriveObject statisticsObject,
Class<T> clazz,
Object parent)
Transforms a stats object into a classes object.
|
Object |
SimpleConversionHandler.transformAutomatically(DriveObject statisticsObject)
Tries to automatically transform the statistics object into a registered one
|
void |
SimpleDriveWriter.write(DriveObject element) |
void |
SimpleDriveWriter.write(DriveObject element,
boolean overwrite,
Query queryDetails)
Write an entry to the backend.
|
void |
MongoBackend.write(DriveObject driveObject,
Query query) |
void |
SimpleDriveWriter.write(DriveObject element,
Query query) |
void |
SimpleDriveWriter.writeAsync(DriveObject element,
boolean overwrite,
Query queryDetails,
Runnable onFinish)
Write an entry to the backend.
|
void |
SimpleDriveWriter.writeAsync(DriveObject element,
Query query,
Runnable onFinish) |
void |
SimpleDriveWriter.writeAsync(DriveObject element,
Runnable onFinish) |
void |
MongoBackend.writeReplace(DriveObject element,
Query queryDetails)
Removes one element equal to the query details and adds the element in place
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleDriveReader.readAllObjectsAsync(Query query,
Consumer<List<DriveObject>> onResult)
Read all object instances found by the specified parameters
|
void |
SimpleDriveReader.readObjectAsync(Query query,
Consumer<DriveObject> onSuccess,
Runnable onFailure)
Read the first object instance found by the specified parameters
|
void |
SimpleDriveReader.readPagedObjectsAsync(Query query,
Pageable pageable,
Consumer<List<DriveObject>> onResult) |
| Modifier and Type | Method and Description |
|---|---|
DriveObject |
DriveObject.deepClone() |
DriveObject |
DriveBackend.findOne(Query queryDetails)
Reads one object matching the query parameters
|
DriveObject |
DriveElement.getAsObject() |
DriveObject |
DriveElementArray.getAsObject(int num)
Retrieves an item from the list
|
DriveObject |
DriveObject.getAsObject(String key)
Retrieves an item from the list
|
DriveObject |
DriveReader.readObject(Query query)
Read the first object instance found by the specified parameters
|
DriveObject |
DriveObject.subtract(DriveElement driveElement) |
DriveObject |
ConversionHandler.transform(Object object)
Transforms a basic object into a DriveObject.
|
| Modifier and Type | Method and Description |
|---|---|
List<DriveObject> |
DriveBackend.findAll(Query queryDetails)
Read all objects matching the query parameters
|
List<DriveObject> |
DriveBackend.findAll(Query queryDetails,
Pageable pageable)
Read all objects matching the query parameters
|
List<DriveObject> |
DriveReader.readAllObjects(Query query)
Read all object instances found by the specified parameters
|
List<DriveObject> |
DriveReader.readPagedObjects(Query query,
Pageable pageable)
Read all object instances found by the specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
void |
DriveBackend.replace(DriveObject element,
Query query)
Replaces the first element that matches the query
|
void |
DriveWriter.replace(DriveObject element,
Query queryDetails)
Deprecated.
|
void |
DriveWriter.replaceAsync(DriveObject element,
Query queryDetails,
Runnable onFinish)
Deprecated.
|
<T> T |
ConversionHandler.transform(DriveObject statisticsObject,
Class<T> clazz)
Transforms a stats object into a classes object.
|
Object |
ConversionHandler.transformAutomatically(DriveObject statisticsObject)
Tries to automatically transform the statistics object into a registered one
|
void |
DriveWriter.write(DriveObject element)
Write an entry to the backend.
|
void |
DriveWriter.write(DriveObject element,
boolean overwrite,
Query queryDetails)
Deprecated.
|
void |
DriveBackend.write(DriveObject driveObject,
Query query)
Writes an object to the database.
|
void |
DriveWriter.write(DriveObject element,
Query query)
Write an entry to the backend.
|
void |
DriveWriter.writeAsync(DriveObject element,
boolean overwrite,
Query queryDetails,
Runnable onFinish)
Deprecated.
|
void |
DriveWriter.writeAsync(DriveObject element,
Query query,
Runnable onFinish)
Write an entry to the backend.
|
void |
DriveWriter.writeAsync(DriveObject element,
Runnable onFinish)
Write an entry to the backend.
|
void |
DriveBackend.writeReplace(DriveObject element,
Query queryDetails)
Removes one element equal to the query details and adds the element in place
|
| Modifier and Type | Method and Description |
|---|---|
void |
DriveReader.readAllObjectsAsync(Query query,
Consumer<List<DriveObject>> onResult)
Read all object instances found by the specified parameters
|
void |
DriveReader.readObjectAsync(Query query,
Consumer<DriveObject> onSuccess,
Runnable onFailure)
Read the first object instance found by the specified parameters
|
void |
DriveReader.readPagedObjectsAsync(Query query,
Pageable pageable,
Consumer<List<DriveObject>> onResult)
Read all object instances found by the specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
static DriveObject |
BsonUtils.unStringify(org.bson.Document jsonObject,
DriveObjectFactory objectFactory)
Warning: If your project does not have Bson as a dependency, calling this will throw errors
Converts a Json document into a drive object
|
Copyright © 2020. All rights reserved.