Index

A C D E F G I J K L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractRDBMSAdapter - Class in de.thomas_oster.lazysql
A class representing support for an RDBMS.
AbstractRDBMSAdapter() - Constructor for class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
AbstractRDBMSAdapter.FullyQualifiedName - Class in de.thomas_oster.lazysql
 
AbstractRDBMSAdapter.NotSupportedException - Exception in de.thomas_oster.lazysql
 
AbstractRDBMSAdapter.Procedure - Class in de.thomas_oster.lazysql
 
addJsonAnnotations - Variable in class de.thomas_oster.lazysql.DbConfig
 
addJsonAnnotations() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLConfig
If set, the getters generated make the first letter uppercase if not, they are created
Argument - Class in de.thomas_oster.lazysql
 
Argument(String, TypeName) - Constructor for class de.thomas_oster.lazysql.Argument
 
Argument(String, Type) - Constructor for class de.thomas_oster.lazysql.Argument
 
Argument(VariableElement) - Constructor for class de.thomas_oster.lazysql.Argument
 
Argument.Direction - Enum Class in de.thomas_oster.lazysql
 
Argument.MismatchException - Exception in de.thomas_oster.lazysql
 
Argument.ParsingException - Exception in de.thomas_oster.lazysql
 
ArgumentListCache - Class in de.thomas_oster.lazysql
 
ArgumentListCache(File) - Constructor for class de.thomas_oster.lazysql.ArgumentListCache
 
AutoComplete - Class in de.thomas_oster.lazysql
 
AutoComplete() - Constructor for class de.thomas_oster.lazysql.AutoComplete
 

C

cachefile - Variable in class de.thomas_oster.lazysql.DbConfig
 
cacheFilePath() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLConfig
If set, all DB Queris will be cached to that file
checkIfAllArgumentsAreUsed(String, List<Argument>, Element) - Method in class de.thomas_oster.lazysql.LazySQLProcessor
Prüft ob alle Parameter in der SQL Query vorkommen und gibt sonst eine Fehlermeldung an dem Element aus
checkSQLSyntax(Connection, String, List<Argument>) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
checkSQLSyntax(Connection, String, List<Argument>) - Method in class de.thomas_oster.lazysql.MssqlAdapter
 
checkSQLSyntax(Connection, String, List<Argument>) - Method in class de.thomas_oster.lazysql.MysqlAdapter
 
checkSQLSyntax(Connection, String, List<Argument>) - Method in class de.thomas_oster.lazysql.OracleAdapter
 
checkSQLSyntax(Connection, String, List<Argument>) - Method in class de.thomas_oster.lazysql.UnknownRDBMSAdapter
 
compareWithoutOrder(Collection<Argument>, Collection<Argument>) - Static method in class de.thomas_oster.lazysql.Argument
 
ConfigException(Exception) - Constructor for exception de.thomas_oster.lazysql.DbConfig.ConfigException
 
ConfigException(String) - Constructor for exception de.thomas_oster.lazysql.DbConfig.ConfigException
 
customDatabaseDriver() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLConfig
If set, we try to register this driver before connecting to the db.Not necessary for all supported JDBC drivers
customDriver - Variable in class de.thomas_oster.lazysql.DbConfig
 

D

DbConfig - Class in de.thomas_oster.lazysql
 
DbConfig() - Constructor for class de.thomas_oster.lazysql.DbConfig
 
DbConfig.ConfigException - Exception in de.thomas_oster.lazysql
 
dbpassword - Variable in class de.thomas_oster.lazysql.DbConfig
 
DbQueryTyper - Class in de.thomas_oster.lazysql
 
dburl - Variable in class de.thomas_oster.lazysql.DbConfig
 
dburl() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLConfig
URL for JDBC Connection (only used during compilation) e.g.
dbuser - Variable in class de.thomas_oster.lazysql.DbConfig
 
de.thomas_oster.lazysql - package de.thomas_oster.lazysql
 
de.thomas_oster.lazysql.annotations - package de.thomas_oster.lazysql.annotations
 
DEBUG_TO_FILE - Static variable in class de.thomas_oster.lazysql.LazySQLProcessor
 
debugLog(String) - Static method in class de.thomas_oster.lazysql.LazySQLProcessor
 
DebugMessager - Class in de.thomas_oster.lazysql
 
DebugMessager(Messager) - Constructor for class de.thomas_oster.lazysql.DebugMessager
 
dependencyInjection - Variable in class de.thomas_oster.lazysql.DbConfig
 
dependencyInjection() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLConfig
If set, we use @Inject for injecting the datasource in the generated classes
doNotGenerateClass() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLSelect
If set, this class will not be generated.
dynamicWhereClause() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLSelect
 
dynamicWhereClause() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpdate
 

E

ElementException - Exception in de.thomas_oster.lazysql
Exception which should be shown to the user of the Annotation Processon on an element which is causing it
ElementException(String) - Constructor for exception de.thomas_oster.lazysql.ElementException
 

F

fetchSize() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLSelect
If greater than 0 sets the fetch size
file() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLConfig
Path to a JSON file with config parameters
fromConfigAnnotation(LazySQLConfig) - Static method in class de.thomas_oster.lazysql.DbConfig
 
fromConfigFile(File) - Static method in class de.thomas_oster.lazysql.DbConfig
 
fromConfigFile(String) - Static method in class de.thomas_oster.lazysql.DbConfig
 
fromEnvironment() - Static method in class de.thomas_oster.lazysql.DbConfig
 
fromSpringBootConfig(String) - Static method in class de.thomas_oster.lazysql.DbConfig
 
fromTypeListString(String) - Static method in class de.thomas_oster.lazysql.Argument
Liest einen String wie zB "String variable1, Integer variable 2" usw ein
fromVariableElements(List<? extends VariableElement>) - Static method in class de.thomas_oster.lazysql.Argument
 
FullyQualifiedName() - Constructor for class de.thomas_oster.lazysql.AbstractRDBMSAdapter.FullyQualifiedName
 

G

get() - Method in class de.thomas_oster.lazysql.Lazy
Calculates the value and caches the result if no Exception occurs.
get() - Method in interface de.thomas_oster.lazysql.Lazy.Supplier
 
get(String, Lazy.Supplier<List<Argument>, Exception>) - Method in class de.thomas_oster.lazysql.ArgumentListCache
 
getAdapterByDbUri(String, String) - Static method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getColumnType(int, String, int) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
Maps the SQL Column type to java class.
getColumnType(int, String, int) - Method in class de.thomas_oster.lazysql.MssqlAdapter
 
getCompletions(LazySQLProcessor, Element, AnnotationMirror, ExecutableElement, String) - Static method in class de.thomas_oster.lazysql.AutoComplete
 
getCompletions(Element, AnnotationMirror, ExecutableElement, String) - Method in class de.thomas_oster.lazysql.LazySQLProcessor
 
getFqn(String) - Method in class de.thomas_oster.lazysql.DbQueryTyper
 
getInsertableTableColumns(String, String) - Method in class de.thomas_oster.lazysql.DbQueryTyper
 
getInsertableTableColumns(Connection, String, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getInsertableTableColumns(Connection, String, String, String, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getProcedures(String, Lazy.Supplier<List<AbstractRDBMSAdapter.Procedure>, Exception>) - Method in class de.thomas_oster.lazysql.ArgumentListCache
 
getSchemas(String) - Method in class de.thomas_oster.lazysql.DbQueryTyper
 
getSchemas(Connection, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getSchemas(Connection, String, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getSimpleName(TypeName) - Static method in class de.thomas_oster.lazysql.TypeHelper
 
getSimpleName(String) - Static method in class de.thomas_oster.lazysql.TypeHelper
 
getSqlQueryType(String, List<Argument>) - Method in class de.thomas_oster.lazysql.DbQueryTyper
Let's the db analyze an SQL query and throws an exception or returns a map containing the names and types of the resulting rows
getSqlQueryType(Connection, String, List<Argument>) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
Let's the db analyze an SQL query and throws an exception or returns a map containing the names and types of the resulting rows
getSqlQueryType(Connection, String, List<Argument>) - Method in class de.thomas_oster.lazysql.MssqlAdapter
 
getSqlQueryType(Connection, String, List<Argument>) - Method in class de.thomas_oster.lazysql.MysqlAdapter
 
getSqlQueryType(Connection, String, List<Argument>) - Method in class de.thomas_oster.lazysql.OracleAdapter
 
getSqlQueryType(Connection, String, List<Argument>) - Method in class de.thomas_oster.lazysql.UnknownRDBMSAdapter
 
getStoredProcedureParameters(String) - Method in class de.thomas_oster.lazysql.DbQueryTyper
 
getStoredProcedureParameters(Connection, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getStoredProcedureParameters(Connection, String) - Method in class de.thomas_oster.lazysql.OracleAdapter
 
getStoredProcedureParameters(Connection, String, String, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getStoredProcedures(String) - Method in class de.thomas_oster.lazysql.DbQueryTyper
 
getStoredProcedures(String, String, String) - Method in class de.thomas_oster.lazysql.DbQueryTyper
 
getStoredProcedures(Connection, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getStoredProcedures(Connection, String) - Method in class de.thomas_oster.lazysql.OracleAdapter
 
getStoredProcedures(Connection, String, String, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getStoredProcedures(Connection, String, String, String) - Method in class de.thomas_oster.lazysql.MssqlAdapter
 
getStrings(String, Lazy.Supplier<List<String>, Exception>) - Method in class de.thomas_oster.lazysql.ArgumentListCache
 
getSupportedSourceVersion() - Method in class de.thomas_oster.lazysql.LazySQLProcessor
 
getTableColumns(String, String) - Method in class de.thomas_oster.lazysql.DbQueryTyper
 
getTableColumns(Connection, String, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getTableColumns(Connection, String, String) - Method in class de.thomas_oster.lazysql.OracleAdapter
 
getTableColumns(Connection, String, String, String, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getTables(String) - Method in class de.thomas_oster.lazysql.DbQueryTyper
 
getTables(String, String, String) - Method in class de.thomas_oster.lazysql.DbQueryTyper
 
getTables(Connection, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getTables(Connection, String, String, String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
getValue() - Method in class de.thomas_oster.lazysql.Lazy
Alias for get() for supporting JavaBean Style
global() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLConfig
wether this configuration is only for the annotated class (false) or for the whole project.

I

IN - Enum constant in enum class de.thomas_oster.lazysql.Argument.Direction
 
init(ProcessingEnvironment) - Method in class de.thomas_oster.lazysql.LazySQLProcessor
 
INOUT - Enum constant in enum class de.thomas_oster.lazysql.Argument.Direction
 

J

JiltProcessor - Class in de.thomas_oster.lazysql
This is for including the JiltAnnotationProcessor in the Service section of the jar
JiltProcessor() - Constructor for class de.thomas_oster.lazysql.JiltProcessor
 

K

keys() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpsert
The keys which are used to compare which rows should be updated (those are not updated obviously, but inserted if no match was found

L

Lazy<T,E extends Throwable> - Class in de.thomas_oster.lazysql
Class for a Thread-Safe LazyEvaluated supplier which can throw exceptions
Lazy(Lazy.Supplier<T, E>) - Constructor for class de.thomas_oster.lazysql.Lazy
 
Lazy.Supplier<T,E extends Throwable> - Interface in de.thomas_oster.lazysql
 
LazySQLConfig - Annotation Interface in de.thomas_oster.lazysql.annotations
 
LazySQLExec - Annotation Interface in de.thomas_oster.lazysql.annotations
 
LazySQLInsert - Annotation Interface in de.thomas_oster.lazysql.annotations
 
LazySQLProcessor - Class in de.thomas_oster.lazysql
 
LazySQLProcessor() - Constructor for class de.thomas_oster.lazysql.LazySQLProcessor
 
LazySQLSelect - Annotation Interface in de.thomas_oster.lazysql.annotations
 
LazySQLStoredProcedure - Annotation Interface in de.thomas_oster.lazysql.annotations
 
LazySQLUpdate - Annotation Interface in de.thomas_oster.lazysql.annotations
 
LazySQLUpsert - Annotation Interface in de.thomas_oster.lazysql.annotations
 

M

methodName() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLExec
 
methodName() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLInsert
 
methodName() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLSelect
 
methodName() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLStoredProcedure
 
methodName() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpdate
 
methodName() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpsert
The name of the method in the LazyDb class.
MismatchException(String) - Constructor for exception de.thomas_oster.lazysql.Argument.MismatchException
 
MssqlAdapter - Class in de.thomas_oster.lazysql
 
MssqlAdapter() - Constructor for class de.thomas_oster.lazysql.MssqlAdapter
 
MysqlAdapter - Class in de.thomas_oster.lazysql
 
MysqlAdapter() - Constructor for class de.thomas_oster.lazysql.MysqlAdapter
 

N

NotSupportedException(String) - Constructor for exception de.thomas_oster.lazysql.AbstractRDBMSAdapter.NotSupportedException
 

O

of(Lazy.Supplier<T, E>) - Static method in class de.thomas_oster.lazysql.Lazy
 
onlyUpdate() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpsert
If specified, only the fields specified are updated (still everything is inserted).
OracleAdapter - Class in de.thomas_oster.lazysql
 
OracleAdapter() - Constructor for class de.thomas_oster.lazysql.OracleAdapter
 
OUT - Enum constant in enum class de.thomas_oster.lazysql.Argument.Direction
 

P

params() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLExec
 
params() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLInsert
 
params() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLSelect
 
params() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLStoredProcedure
 
params() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpdate
 
params() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpsert
The params of the method.
ParsingException(String, Exception) - Constructor for exception de.thomas_oster.lazysql.Argument.ParsingException
 
password() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLConfig
password for the database connection
printMessage(Diagnostic.Kind, CharSequence) - Method in class de.thomas_oster.lazysql.DebugMessager
 
printMessage(Diagnostic.Kind, CharSequence, Element) - Method in class de.thomas_oster.lazysql.DebugMessager
 
printMessage(Diagnostic.Kind, CharSequence, Element, AnnotationMirror) - Method in class de.thomas_oster.lazysql.DebugMessager
 
printMessage(Diagnostic.Kind, CharSequence, Element, AnnotationMirror, AnnotationValue) - Method in class de.thomas_oster.lazysql.DebugMessager
 
Procedure() - Constructor for class de.thomas_oster.lazysql.AbstractRDBMSAdapter.Procedure
 
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class de.thomas_oster.lazysql.LazySQLProcessor
 

R

readFromDisk() - Method in class de.thomas_oster.lazysql.ArgumentListCache
 
replaceArgumentsAndListOrder(String, List<Argument>, List<Argument>) - Method in class de.thomas_oster.lazysql.LazySQLProcessor
Replaces all :Argument strings in the SQL query with ?, checks if they are present in the excpectedArguments and put them (possible multiple times) into argumentsInQueryOrder
reset() - Method in class de.thomas_oster.lazysql.Lazy
 
returnClassName() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLSelect
If set, this class will be generated as return type.
returnFirstOrNull() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLSelect
If set, the mehtod will not return a list, but the first result or nothing
returns() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLSelect
 
Returns - Annotation Interface in de.thomas_oster.lazysql.annotations
 

S

saveToDisk() - Method in class de.thomas_oster.lazysql.ArgumentListCache
 
stringFromType(TypeName) - Static method in class de.thomas_oster.lazysql.TypeHelper
 

T

table() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpsert
The table where you want to update/insert
toString() - Method in class de.thomas_oster.lazysql.Argument
 
toTypeListString(Collection<Argument>) - Static method in class de.thomas_oster.lazysql.Argument
 
tryToLoadDriver(String) - Method in class de.thomas_oster.lazysql.AbstractRDBMSAdapter
 
typeFromString(String) - Static method in class de.thomas_oster.lazysql.TypeHelper
 
TypeHelper - Class in de.thomas_oster.lazysql
 
TypeHelper() - Constructor for class de.thomas_oster.lazysql.TypeHelper
 
TypeHelper.UnknownTypeException - Exception in de.thomas_oster.lazysql
 

U

UnknownRDBMSAdapter - Class in de.thomas_oster.lazysql
 
UnknownRDBMSAdapter(String) - Constructor for class de.thomas_oster.lazysql.UnknownRDBMSAdapter
 
UnknownTypeException(String) - Constructor for exception de.thomas_oster.lazysql.TypeHelper.UnknownTypeException
 
useObjectAsInput() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLExec
 
useObjectAsInput() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLInsert
 
useObjectAsInput() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLSelect
 
useObjectAsInput() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLStoredProcedure
 
useObjectAsInput() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpdate
 
useObjectAsInput() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpsert
If true (default) we use a single object containing all properties as input (with typesafe builder).
user() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLConfig
Username for the database connection

V

value() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLExec
 
value() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLInsert
 
value() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLSelect
 
value() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLStoredProcedure
 
value() - Element in annotation interface de.thomas_oster.lazysql.annotations.LazySQLUpdate
 
value() - Element in annotation interface de.thomas_oster.lazysql.annotations.Returns
 
valueOf(String) - Static method in enum class de.thomas_oster.lazysql.Argument.Direction
Returns the enum constant of this class with the specified name.
values() - Static method in enum class de.thomas_oster.lazysql.Argument.Direction
Returns an array containing the constants of this enum class, in the order they are declared.
A C D E F G I J K L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form