A C E F G I J O P S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- apply(ResultSet) - Method in interface com.github.princesslana.somedb.OneDB.RowMapper
-
Run the mapper for the provided ResultSet.
C
- com.github.princesslana.somedb - package com.github.princesslana.somedb
-
Package for SomeDB.
- Config - Class in com.github.princesslana.somedb
-
Configuration information for a database.
- Config() - Constructor for class com.github.princesslana.somedb.Config
-
Construct a Config with the default values.
E
- EnableJooqCodeGen - Annotation Type in com.github.princesslana.somedb
-
Add to any class to enable jooq code generation.
- execute(String, Object...) - Method in class com.github.princesslana.somedb.OneDB
-
Execute an SQL statement.
- execute(String, Object...) - Static method in class com.github.princesslana.somedb.TheDB
-
Execute an SQL statement.
F
- fromEnv(String) - Static method in class com.github.princesslana.somedb.Config
-
Constructs a Config based upon the system environment.
G
- getDataPath() - Method in class com.github.princesslana.somedb.Config
-
Get the folder where data will be stored.
- getDbName() - Method in class com.github.princesslana.somedb.Config
-
Get the name to use for the database.
- getSupportedSourceVersion() - Method in class com.github.princesslana.somedb.JooqCodeGenAnnotationProcessor
I
- init(ProcessingEnvironment) - Method in class com.github.princesslana.somedb.JooqCodeGenAnnotationProcessor
- initialize() - Method in class com.github.princesslana.somedb.OneDB
-
Initialize this database.
- initialize(Config) - Static method in class com.github.princesslana.somedb.TheDB
-
Initializes for use with a db with the provided Config.
- initialize(String) - Static method in class com.github.princesslana.somedb.TheDB
-
Initializes for use with a db with the provided name.
J
- jdbi() - Method in class com.github.princesslana.somedb.OneDB
-
Provides access to the Jdbi instance.
- jdbi() - Static method in class com.github.princesslana.somedb.TheDB
-
Provides access to the Jdbi instance.
- jooq() - Method in class com.github.princesslana.somedb.OneDB
-
Entrypoint for using the Jooq DSL.
- jooq() - Static method in class com.github.princesslana.somedb.TheDB
-
Entrypoint for using the Jooq DSL.
- JooqCodeGenAnnotationProcessor - Class in com.github.princesslana.somedb
-
Process the EnableJooqCodeGen annotation and run code gen for Jooq.
- JooqCodeGenAnnotationProcessor() - Constructor for class com.github.princesslana.somedb.JooqCodeGenAnnotationProcessor
O
- OneDB - Class in com.github.princesslana.somedb
-
A single database.
- OneDB(Config) - Constructor for class com.github.princesslana.somedb.OneDB
-
Creates a database with the provided config.
- OneDB(String) - Constructor for class com.github.princesslana.somedb.OneDB
-
Creates a database with the given name, reading the Config from the system environment.
- OneDB.RowMapper<T> - Interface in com.github.princesslana.somedb
-
Functional interface for mapping from a ResultSet to T.
- open() - Method in class com.github.princesslana.somedb.OneDB
-
Open a Handle to this database.
- open() - Static method in class com.github.princesslana.somedb.TheDB
-
Open a Handle to this database.
P
- packageName() - Method in annotation type com.github.princesslana.somedb.EnableJooqCodeGen
-
Name of the package for generated files.
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.github.princesslana.somedb.JooqCodeGenAnnotationProcessor
S
- select(OneDB.RowMapper<T>, String, Object...) - Method in class com.github.princesslana.somedb.OneDB
-
Run an SQL query.
- select(OneDB.RowMapper<T>, String, Object...) - Static method in class com.github.princesslana.somedb.TheDB
-
Run an SQL query.
T
- TheDB - Class in com.github.princesslana.somedb
-
Provides a static/singleton interface to a single database.
U
- useHandle(HandleConsumer<X>) - Method in class com.github.princesslana.somedb.OneDB
-
Use a Jdbi Handle.
- useHandle(HandleConsumer<X>) - Static method in class com.github.princesslana.somedb.TheDB
-
Use a Jdbi Handle.
W
- withDataPath(String, String...) - Method in class com.github.princesslana.somedb.Config
-
Construct a copy of this Config with the given data path.
- withDataPath(Path) - Method in class com.github.princesslana.somedb.Config
-
Construct a copy of this Config with the given data path.
- withDbName(String) - Method in class com.github.princesslana.somedb.Config
-
Construct a copy of this Config with the given db name.
- withHandle(HandleCallback<R, X>) - Method in class com.github.princesslana.somedb.OneDB
-
Execute a callback with a Jdbi Handle.
- withHandle(HandleCallback<R, X>) - Static method in class com.github.princesslana.somedb.TheDB
-
Execute a callback with a Jdbi Handle.
All Classes All Packages