JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
D
E
G
I
N
P
T
A
AbstractDatabaseManager
<
ENTRY
,
DBO
,
DAO
extends
InsertDao
<
DBO
>,
RESPONSE
> - Class in
net.ashwork.upvote.database.manager
An abstract implementation of
AbstractInputManager
for a database.
AbstractDatabaseManager(DAO, Function<ENTRY, DBO>, IntFunction<RESPONSE>, Function<Throwable, RESPONSE>)
- Constructor for class net.ashwork.upvote.database.manager.
AbstractDatabaseManager
A simple constructor.
D
dao
- Variable in class net.ashwork.upvote.database.manager.
AbstractDatabaseManager
DatabaseHelper
- Class in
net.ashwork.upvote.database.util
A utility class to handle interactions with a database.
DatabaseHelper()
- Constructor for class net.ashwork.upvote.database.util.
DatabaseHelper
DatabaseReputationManager
<
USER
,
REPUTATION
,
TIME
,
ENTRY
extends net.ashwork.upvote.domain.ReputationEntry<
USER
,
REPUTATION
,
TIME
>,
DBO
,
DAO
extends
InsertDao
<
DBO
>,
RESPONSE
> - Class in
net.ashwork.upvote.database.manager
An implementation of
ReputationManager
for a database.
DatabaseReputationManager(DAO, Function<ENTRY, DBO>, IntFunction<RESPONSE>, Function<Throwable, RESPONSE>)
- Constructor for class net.ashwork.upvote.database.manager.
DatabaseReputationManager
A simple constructor.
DatabaseVoteManager
<
USER
,
ITEM
,
VOTE
,
TIME
,
ENTRY
extends net.ashwork.upvote.domain.VoteEntry<
USER
,
ITEM
,
VOTE
,
TIME
>,
DBO
,
DAO
extends
InsertDao
<
DBO
> &
GetDao
<
DBO
>,
RESPONSE
> - Class in
net.ashwork.upvote.database.manager
An implementation of
VoteManager
for a database.
DatabaseVoteManager(DAO, Function<ENTRY, DBO>, TallyAlgorithm<DBO, RESPONSE>, IntFunction<RESPONSE>, Function<Throwable, RESPONSE>)
- Constructor for class net.ashwork.upvote.database.manager.
DatabaseVoteManager
A simple constructor.
DatabaseWeightedTallyAlgorithm
<
ENTRY
,
WEIGHT
,
DAO
extends
InsertDao
<
WEIGHT
> &
GetDao
<
WEIGHT
>,
RESPONSE
> - Class in
net.ashwork.upvote.database.domain.algorithm
An algorithm used to tally all or a specific subset of entries with some weighted association and return some response about the tallied results.
DatabaseWeightedTallyAlgorithm(DAO, Supplier<RESPONSE>, Function<Throwable, RESPONSE>, WeightedTallyAlgorithm<ENTRY, WEIGHT, List<WEIGHT>>)
- Constructor for class net.ashwork.upvote.database.domain.algorithm.
DatabaseWeightedTallyAlgorithm
A simple constructor.
E
ExceptionHelper
- Class in
net.ashwork.upvote.database.util
A utility class to handle methods throwing unwanted exception data.
ExceptionHelper()
- Constructor for class net.ashwork.upvote.database.util.
ExceptionHelper
execute(List<ENTRY>)
- Method in class net.ashwork.upvote.database.domain.algorithm.
DatabaseWeightedTallyAlgorithm
execute(List<ENTRY>, List<WEIGHT>)
- Method in class net.ashwork.upvote.database.domain.algorithm.
DatabaseWeightedTallyAlgorithm
G
get()
- Method in interface net.ashwork.upvote.database.util.
ThrowingSupplier
Gets a result or throws a throwable.
getAll()
- Method in interface net.ashwork.upvote.database.domain.dao.
GetDao
Gets all entries within the table.
GetDao
<
DBO
> - Interface in
net.ashwork.upvote.database.domain.dao
A domain access object for grabbing data from a table.
getOrDefault(ThrowingSupplier<T>, Supplier<T>)
- Static method in class net.ashwork.upvote.database.util.
ExceptionHelper
Gets a result or defaults if a throwable is thrown.
getOrDefault(ThrowingSupplier<T>, Function<Throwable, T>)
- Static method in class net.ashwork.upvote.database.util.
ExceptionHelper
Gets a result or defaults if a throwable is thrown.
I
insert(DBO)
- Method in interface net.ashwork.upvote.database.domain.dao.
InsertDao
Inserts a single entry into the table.
insertAll(List<DBO>)
- Method in interface net.ashwork.upvote.database.domain.dao.
InsertDao
Inserts a list of entries into the table.
InsertDao
<
DBO
> - Interface in
net.ashwork.upvote.database.domain.dao
A domain access object for inserting data into the table.
N
net.ashwork.upvote.database.domain.algorithm
- package net.ashwork.upvote.database.domain.algorithm
net.ashwork.upvote.database.domain.dao
- package net.ashwork.upvote.database.domain.dao
net.ashwork.upvote.database.manager
- package net.ashwork.upvote.database.manager
net.ashwork.upvote.database.util
- package net.ashwork.upvote.database.util
P
persistSuccess
- Variable in class net.ashwork.upvote.database.manager.
AbstractDatabaseManager
persistToDatabase(DAO, DBO, IntFunction<RESPONSE>, Function<Throwable, RESPONSE>)
- Static method in class net.ashwork.upvote.database.util.
DatabaseHelper
Inserts an entry into a table and returns some response pertaining to whether the insertion was successful or not.
persistToDatabase(DAO, List<DBO>, Supplier<RESPONSE>, Function<Throwable, RESPONSE>)
- Static method in class net.ashwork.upvote.database.util.
DatabaseHelper
Inserts multiple entries into a table and returns some response pertaining to whether the insertions were successful or not.
putEntry(ENTRY)
- Method in class net.ashwork.upvote.database.manager.
AbstractDatabaseManager
T
tally()
- Method in class net.ashwork.upvote.database.manager.
DatabaseVoteManager
throwingError
- Variable in class net.ashwork.upvote.database.manager.
AbstractDatabaseManager
ThrowingSupplier
<
T
> - Interface in
net.ashwork.upvote.database.util
Represents a supplier of a result which may throw a throwable.
transformer
- Variable in class net.ashwork.upvote.database.manager.
AbstractDatabaseManager
A
D
E
G
I
N
P
T
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes