Package xyz.srnyx.annoyingapi.storage
Interface StorageMethod.DialectFunction
- Enclosing class:
StorageMethod
public static interface StorageMethod.DialectFunction
A function to create a new
Dialect-
Method Summary
Modifier and TypeMethodDescription@NotNull Dialectapply(@NotNull DataManager dataManager) Apply the function to create a newDialect
-
Method Details
-
apply
@NotNull @NotNull Dialect apply(@NotNull @NotNull DataManager dataManager) throws ConnectionException Apply the function to create a newDialect- Parameters:
dataManager- theDataManagerto use for the dialect- Returns:
- the new
Dialect - Throws:
ConnectionException- if the connection to the database fails for any reason (SQL only)
-