Index
All Classes and Interfaces|All Packages|Serialized Form
A
- abort(Executor) - Method in class org.sql2o.connectionsources.WrappedConnection
- AbstractCache<K,
V, - Class in org.sql2o.toolsE> -
just inherit and implement evaluate User: dimzon Date: 4/6/14 Time: 10:35 PM
- AbstractCache() - Constructor for class org.sql2o.tools.AbstractCache
- AbstractCache(Map<K, V>) - Constructor for class org.sql2o.tools.AbstractCache
- AbstractCommentParser - Class in org.sql2o.quirks.parameterparsing.impl
-
Created by lars on 22.09.2014.
- AbstractCommentParser() - Constructor for class org.sql2o.quirks.parameterparsing.impl.AbstractCommentParser
- AbstractDateConverter<E> - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into a
Date
. - AbstractDateConverter(Class<E>) - Constructor for class org.sql2o.converters.AbstractDateConverter
- addColumnMapping(String, String) - Method in class org.sql2o.Query
- addParameter(String, boolean) - Method in class org.sql2o.Query
- addParameter(String, int) - Method in class org.sql2o.Query
- addParameter(String, long) - Method in class org.sql2o.Query
- addParameter(String, InputStream) - Method in class org.sql2o.Query
- addParameter(String, Boolean) - Method in class org.sql2o.Query
- addParameter(String, Class<T>, T) - Method in class org.sql2o.Query
- addParameter(String, Integer) - Method in class org.sql2o.Query
- addParameter(String, Long) - Method in class org.sql2o.Query
- addParameter(String, Object) - Method in class org.sql2o.Query
- addParameter(String, Object...) - Method in class org.sql2o.Query
-
Set an array parameter.
For example: - addParameter(String, String) - Method in class org.sql2o.Query
- addParameter(String, Time) - Method in class org.sql2o.Query
- addParameter(String, Timestamp) - Method in class org.sql2o.Query
- addParameter(String, Collection<?>) - Method in class org.sql2o.Query
-
Set an array parameter.
SeeQuery.addParameter(String, Object...)
for details - addParameter(String, UUID) - Method in class org.sql2o.Query
- addToBatch() - Method in class org.sql2o.Query
-
Adds a set of parameters to this
Query
object's batch of commands. - addToBatchGetKeys(Class<A>) - Method in class org.sql2o.Query
-
Adds a set of parameters to this
Query
object's batch of commands and returns any generated keys. - asList() - Method in class org.sql2o.data.Table
- asMap() - Method in class org.sql2o.data.Row
-
View row as a simple map.
B
- beginTransaction() - Method in class org.sql2o.Sql2o
-
Begins a transaction with isolation level
Connection.TRANSACTION_READ_COMMITTED
. - beginTransaction(int) - Method in class org.sql2o.Sql2o
-
Begins a transaction with the given isolation level.
- beginTransaction(ConnectionSource) - Method in class org.sql2o.Sql2o
-
Begins a transaction with isolation level
Connection.TRANSACTION_READ_COMMITTED
. - beginTransaction(ConnectionSource, int) - Method in class org.sql2o.Sql2o
-
Begins a transaction with the given isolation level.
- BigDecimalConverter - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into a
BigDecimal
. - BigDecimalConverter() - Constructor for class org.sql2o.converters.BigDecimalConverter
- bind(Object) - Method in class org.sql2o.Query
- BooleanConverter - Class in org.sql2o.converters
-
Created with IntelliJ IDEA.
- BooleanConverter() - Constructor for class org.sql2o.converters.BooleanConverter
- ByteArrayConverter - Class in org.sql2o.converters
-
User: lars Date: 6/13/13 Time: 11:36 PM
- ByteArrayConverter() - Constructor for class org.sql2o.converters.ByteArrayConverter
- ByteConverter - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into a
Byte
. - ByteConverter(boolean) - Constructor for class org.sql2o.converters.ByteConverter
C
- canParse(char, String, int) - Method in interface org.sql2o.quirks.parameterparsing.impl.CharParser
- canParse(char, String, int) - Method in class org.sql2o.quirks.parameterparsing.impl.DefaultParser
- canParse(char, String, int) - Method in class org.sql2o.quirks.parameterparsing.impl.DoubleHyphensCommentParser
- canParse(char, String, int) - Method in class org.sql2o.quirks.parameterparsing.impl.ForwardSlashCommentParser
- canParse(char, String, int) - Method in class org.sql2o.quirks.parameterparsing.impl.ParameterParser
- canParse(char, String, int) - Method in class org.sql2o.quirks.parameterparsing.impl.QuoteParser
- CharParser - Interface in org.sql2o.quirks.parameterparsing.impl
-
Created by lars on 22.09.2014.
- ClassUtils - Class in org.sql2o.tools
- ClassUtils() - Constructor for class org.sql2o.tools.ClassUtils
- clearWarnings() - Method in class org.sql2o.connectionsources.WrappedConnection
- close() - Method in class org.sql2o.Connection
- close() - Method in class org.sql2o.connectionsources.WrappedConnection
- close() - Method in class org.sql2o.data.LazyTable
- close() - Method in class org.sql2o.Query
- close() - Method in interface org.sql2o.ResultSetIterable
- closeStatement(Statement) - Method in class org.sql2o.quirks.NoQuirks
- closeStatement(Statement) - Method in interface org.sql2o.quirks.Quirks
- Column - Class in org.sql2o.data
-
Represents a result set column
- Column(String, Integer, String) - Constructor for class org.sql2o.data.Column
- columns() - Method in class org.sql2o.data.LazyTable
- columns() - Method in class org.sql2o.data.Table
- commit() - Method in class org.sql2o.Connection
- commit() - Method in class org.sql2o.connectionsources.WrappedConnection
- commit(boolean) - Method in class org.sql2o.Connection
- Connection - Class in org.sql2o
-
Represents a connection to the database with a transaction.
- ConnectionSource - Interface in org.sql2o.connectionsources
-
An abstraction layer for providing jdbc connection to use from
Connection
Created by nickl on 09.01.17. - ConnectionSources - Class in org.sql2o.connectionsources
-
Predefined implementations of
ConnectionSource
Created by nickl on 09.01.17. - convert(Object) - Method in class org.sql2o.converters.AbstractDateConverter
- convert(Object) - Method in class org.sql2o.converters.BooleanConverter
- convert(Object) - Method in class org.sql2o.converters.ByteArrayConverter
- convert(Object) - Method in interface org.sql2o.converters.Converter
-
Conversion from SQL to Java.
- convert(Object) - Method in class org.sql2o.converters.InputStreamConverter
- convert(Object) - Method in class org.sql2o.converters.InstantConverter
- convert(Object) - Method in class org.sql2o.converters.joda.JodaDateTimeConverter
- convert(Object) - Method in class org.sql2o.converters.joda.JodaLocalDateConverter
- convert(Object) - Method in class org.sql2o.converters.joda.JodaLocalTimeConverter
- convert(Object) - Method in class org.sql2o.converters.LocalDateConverter
- convert(Object) - Method in class org.sql2o.converters.LocalDateTimeConverter
- convert(Object) - Method in class org.sql2o.converters.LocalTimeConverter
- convert(Object) - Method in class org.sql2o.converters.NumberConverter
- convert(Object) - Method in class org.sql2o.converters.OffsetDateTimeConverter
- convert(Object) - Method in class org.sql2o.converters.SqlTimeConverter
- convert(Object) - Method in class org.sql2o.converters.StringConverter
- convert(Object) - Method in class org.sql2o.converters.UUIDConverter
- convert(String) - Static method in class org.sql2o.tools.UnderscoreToCamelCase
- Convert - Class in org.sql2o.converters
-
Static class used to register new converters.
- Convert() - Constructor for class org.sql2o.converters.Convert
- Converter<T> - Interface in org.sql2o.converters
-
Represents a converter.
- ConverterException - Exception Class in org.sql2o.converters
-
Represents an exception thrown from a converter.
- ConverterException(String) - Constructor for exception class org.sql2o.converters.ConverterException
- ConverterException(String, Throwable) - Constructor for exception class org.sql2o.converters.ConverterException
- converterOf(Class<E>) - Method in class org.sql2o.quirks.NoQuirks
- converterOf(Class<E>) - Method in interface org.sql2o.quirks.Quirks
- converters - Variable in class org.sql2o.quirks.NoQuirks
- ConvertersProvider - Interface in org.sql2o.converters
-
User: dimzon Date: 4/24/14 Time: 12:53 AM
- convertNumberValue(Number) - Method in class org.sql2o.converters.BigDecimalConverter
- convertNumberValue(Number) - Method in class org.sql2o.converters.ByteConverter
- convertNumberValue(Number) - Method in class org.sql2o.converters.DoubleConverter
- convertNumberValue(Number) - Method in class org.sql2o.converters.FloatConverter
- convertNumberValue(Number) - Method in class org.sql2o.converters.IntegerConverter
- convertNumberValue(Number) - Method in class org.sql2o.converters.LongConverter
- convertNumberValue(Number) - Method in class org.sql2o.converters.NumberConverter
- convertNumberValue(Number) - Method in class org.sql2o.converters.ShortConverter
- convertStringValue(String) - Method in class org.sql2o.converters.BigDecimalConverter
- convertStringValue(String) - Method in class org.sql2o.converters.ByteConverter
- convertStringValue(String) - Method in class org.sql2o.converters.DoubleConverter
- convertStringValue(String) - Method in class org.sql2o.converters.FloatConverter
- convertStringValue(String) - Method in class org.sql2o.converters.IntegerConverter
- convertStringValue(String) - Method in class org.sql2o.converters.LongConverter
- convertStringValue(String) - Method in class org.sql2o.converters.NumberConverter
- convertStringValue(String) - Method in class org.sql2o.converters.ShortConverter
- createArrayOf(String, Object[]) - Method in class org.sql2o.connectionsources.WrappedConnection
- createBlob() - Method in class org.sql2o.connectionsources.WrappedConnection
- createClob() - Method in class org.sql2o.connectionsources.WrappedConnection
- createNClob() - Method in class org.sql2o.connectionsources.WrappedConnection
- createQuery(String) - Method in class org.sql2o.Connection
- createQuery(String) - Method in class org.sql2o.Sql2o
-
Deprecated.
- createQuery(String, boolean) - Method in class org.sql2o.Connection
- createQuery(String, boolean) - Method in class org.sql2o.Sql2o
-
Deprecated.create queries with
Connection
class instead, using try-with-resource blockstry (Connection con = sql2o.open()) { return sql2o.createQuery(query, name, returnGeneratedKeys).executeAndFetch(Pojo.class); }
- createQuery(String, String...) - Method in class org.sql2o.Connection
- createQueryWithParams(String, Object...) - Method in class org.sql2o.Connection
- createSQLXML() - Method in class org.sql2o.connectionsources.WrappedConnection
- createStatement() - Method in class org.sql2o.connectionsources.WrappedConnection
- createStatement(int, int) - Method in class org.sql2o.connectionsources.WrappedConnection
- createStatement(int, int, int) - Method in class org.sql2o.connectionsources.WrappedConnection
- createStruct(String, Object[]) - Method in class org.sql2o.connectionsources.WrappedConnection
D
- DataSourceConnectionSource - Class in org.sql2o.connectionsources
-
The default implementation of
ConnectionSource
, Simply delegates all calls to specifiedDataSource
Created by nickl on 09.01.17. - DataSourceConnectionSource(DataSource) - Constructor for class org.sql2o.connectionsources.DataSourceConnectionSource
-
Creates a ConnectionSource that gets connection from specified
DataSource
- DateConverter - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into a
Date
. - DateConverter() - Constructor for class org.sql2o.converters.DateConverter
- debug(String, Object) - Method in interface org.sql2o.logging.Logger
- debug(String, Object) - Method in class org.sql2o.logging.Slf4jLogger
- debug(String, Object) - Method in class org.sql2o.logging.SysOutLogger
- debug(String, Object[]) - Method in interface org.sql2o.logging.Logger
- debug(String, Object[]) - Method in class org.sql2o.logging.Slf4jLogger
- debug(String, Object[]) - Method in class org.sql2o.logging.SysOutLogger
- DefaultEnumConverterFactory - Class in org.sql2o.converters
-
Default implementation of
EnumConverterFactory
, used by sql2o to convert a value from the database into anEnum
. - DefaultEnumConverterFactory() - Constructor for class org.sql2o.converters.DefaultEnumConverterFactory
- DefaultParser - Class in org.sql2o.quirks.parameterparsing.impl
-
Created by lars on 22.09.2014.
- DefaultParser() - Constructor for class org.sql2o.quirks.parameterparsing.impl.DefaultParser
- DefaultResultSetHandlerFactory<T> - Class in org.sql2o
- DefaultResultSetHandlerFactory(PojoMetadata, Quirks) - Constructor for class org.sql2o.DefaultResultSetHandlerFactory
- DefaultResultSetHandlerFactoryBuilder - Class in org.sql2o
- DefaultResultSetHandlerFactoryBuilder() - Constructor for class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- DefaultSqlParameterParsingStrategy - Class in org.sql2o.quirks.parameterparsing.impl
-
Created by lars on 11.04.14.
- DefaultSqlParameterParsingStrategy() - Constructor for class org.sql2o.quirks.parameterparsing.impl.DefaultSqlParameterParsingStrategy
- DoubleConverter - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into a
Double
. - DoubleConverter(boolean) - Constructor for class org.sql2o.converters.DoubleConverter
- DoubleHyphensCommentParser - Class in org.sql2o.quirks.parameterparsing.impl
-
Created by lars on 22.09.2014.
- DoubleHyphensCommentParser() - Constructor for class org.sql2o.quirks.parameterparsing.impl.DoubleHyphensCommentParser
E
- EnumConverterFactory - Interface in org.sql2o.converters
-
Used by sql2o to convert a value from the database into an
Enum
. - equals(Object) - Method in class org.sql2o.reflection.PojoMetadata
- evaluate(K, E) - Method in class org.sql2o.tools.AbstractCache
- executeAndFetch(Class<T>) - Method in class org.sql2o.Query
- executeAndFetch(ResultSetHandler<T>) - Method in class org.sql2o.Query
- executeAndFetch(ResultSetHandlerFactory<T>) - Method in class org.sql2o.Query
- executeAndFetchFirst(Class<T>) - Method in class org.sql2o.Query
- executeAndFetchFirst(ResultSetHandler<T>) - Method in class org.sql2o.Query
- executeAndFetchFirst(ResultSetHandlerFactory<T>) - Method in class org.sql2o.Query
- executeAndFetchLazy(Class<T>) - Method in class org.sql2o.Query
-
Read a collection lazily.
- executeAndFetchLazy(ResultSetHandler<T>) - Method in class org.sql2o.Query
-
Read a collection lazily.
- executeAndFetchLazy(ResultSetHandlerFactory<T>) - Method in class org.sql2o.Query
-
Read a collection lazily.
- executeAndFetchTable() - Method in class org.sql2o.Query
- executeAndFetchTableLazy() - Method in class org.sql2o.Query
- executeAndFetchUnique(Class<T>) - Method in class org.sql2o.Query
- executeAndFetchUnique(ResultSetHandler<T>) - Method in class org.sql2o.Query
- executeAndFetchUnique(ResultSetHandlerFactory<T>) - Method in class org.sql2o.Query
- executeBatch() - Method in class org.sql2o.Query
- executeScalar() - Method in class org.sql2o.Query
- executeScalar(Class<V>) - Method in class org.sql2o.Query
- executeScalar(Converter<V>) - Method in class org.sql2o.Query
- executeScalarList(Class<T>) - Method in class org.sql2o.Query
- executeUpdate() - Method in class org.sql2o.Query
F
- FactoryFacade - Class in org.sql2o.reflection
- FactoryFacade(FieldGetterFactory, MethodGetterFactory, FieldSetterFactory, MethodSetterFactory, ObjectConstructorFactory) - Constructor for class org.sql2o.reflection.FactoryFacade
- FeatureDetector - Class in org.sql2o.tools
-
Detects whether optional sql2o features are available.
- FieldGetter - Class in org.sql2o.reflection
-
used internally to get property values directly from the field.
- FieldGetter(Field) - Constructor for class org.sql2o.reflection.FieldGetter
- FieldGetterFactory - Interface in org.sql2o.reflection
- FieldSetter - Class in org.sql2o.reflection
-
used internally to set property values directly into the field.
- FieldSetter(Field) - Constructor for class org.sql2o.reflection.FieldSetter
- FieldSetterFactory - Interface in org.sql2o.reflection
-
Created with IntelliJ IDEA.
- fill(Map<Class<?>, Converter<?>>) - Method in interface org.sql2o.converters.ConvertersProvider
- FloatConverter - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into a
Float
. - FloatConverter(boolean) - Constructor for class org.sql2o.converters.FloatConverter
- forObject(Object) - Static method in class org.sql2o.quirks.QuirksDetector
- forURL(String) - Static method in class org.sql2o.quirks.QuirksDetector
- ForwardSlashCommentParser - Class in org.sql2o.quirks.parameterparsing.impl
-
Created by lars on 22.09.2014.
- ForwardSlashCommentParser() - Constructor for class org.sql2o.quirks.parameterparsing.impl.ForwardSlashCommentParser
- fromMilliseconds(long) - Method in class org.sql2o.converters.AbstractDateConverter
- fromMilliseconds(long) - Method in class org.sql2o.converters.DateConverter
G
- GenericDatasource - Class in org.sql2o
-
Used internally by sql2o, if the
Sql2o(String, String, String)
constructor overload. - GenericDatasource(String, String, String) - Constructor for class org.sql2o.GenericDatasource
- GenericDatasource(String, Properties) - Constructor for class org.sql2o.GenericDatasource
- get(Object) - Method in class org.sql2o.reflection.PojoIntrospector.ReadableProperty
- get(K, E) - Method in class org.sql2o.tools.AbstractCache
- getAutoCommit() - Method in class org.sql2o.connectionsources.WrappedConnection
- getBatchResult() - Method in class org.sql2o.Connection
- getBigDecimal(int) - Method in class org.sql2o.data.Row
- getBigDecimal(String) - Method in class org.sql2o.data.Row
- getBoolean(int) - Method in class org.sql2o.data.Row
- getBoolean(String) - Method in class org.sql2o.data.Row
- getByte(int) - Method in class org.sql2o.data.Row
- getByte(String) - Method in class org.sql2o.data.Row
- getCatalog() - Method in class org.sql2o.connectionsources.WrappedConnection
- getCharParsers(Map<String, List<Integer>>) - Method in class org.sql2o.quirks.parameterparsing.impl.DefaultSqlParameterParsingStrategy
- getClientInfo() - Method in class org.sql2o.connectionsources.WrappedConnection
- getClientInfo(String) - Method in class org.sql2o.connectionsources.WrappedConnection
- getColumnMappings() - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- getColumnMappings() - Method in class org.sql2o.Query
-
column mapping
- getColumnMappings() - Method in class org.sql2o.reflection.PojoMetadata
- getColumnMappings() - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- getColumnName(int) - Method in class org.sql2o.ResultSetIteratorBase
- getColumnName(ResultSetMetaData, int) - Method in class org.sql2o.quirks.NoQuirks
- getColumnName(ResultSetMetaData, int) - Method in interface org.sql2o.quirks.Quirks
- getConnection() - Method in interface org.sql2o.connectionsources.ConnectionSource
- getConnection() - Method in class org.sql2o.connectionsources.DataSourceConnectionSource
- getConnection() - Method in class org.sql2o.GenericDatasource
- getConnection() - Method in class org.sql2o.Query
- getConnection(String, String) - Method in class org.sql2o.GenericDatasource
- getConnectionSource() - Method in class org.sql2o.Sql2o
-
Gets the
ConnectionSource
that Sql2o uses internally to acquire database connections. - getConverter(Class) - Static method in class org.sql2o.converters.Convert
-
Deprecated.
- getConverterIfExists(Class<E>) - Static method in class org.sql2o.converters.Convert
- getCurrentBatchRecords() - Method in class org.sql2o.Query
- getDataSource() - Method in class org.sql2o.connectionsources.DataSourceConnectionSource
- getDataSource() - Method in class org.sql2o.Sql2o
-
Deprecated.use
Sql2o.getConnectionSource()
as more general connection provider - getDate(int) - Method in class org.sql2o.data.Row
- getDate(String) - Method in class org.sql2o.data.Row
- getDefaultColumnMappings() - Method in class org.sql2o.Sql2o
-
Gets the default column mappings Map.
- getDouble(int) - Method in class org.sql2o.data.Row
- getDouble(String) - Method in class org.sql2o.data.Row
- getFloat(int) - Method in class org.sql2o.data.Row
- getFloat(String) - Method in class org.sql2o.data.Row
- getHoldability() - Method in class org.sql2o.connectionsources.WrappedConnection
- getIndex() - Method in class org.sql2o.data.Column
- getInstance() - Static method in class org.sql2o.reflection.FactoryFacade
- getInteger(int) - Method in class org.sql2o.data.Row
- getInteger(String) - Method in class org.sql2o.data.Row
- getJdbcConnection() - Method in class org.sql2o.Connection
- getKey() - Method in class org.sql2o.Connection
- getKey(Class) - Method in class org.sql2o.Connection
- getKeys() - Method in class org.sql2o.Connection
- getKeys(Class<V>) - Method in class org.sql2o.Connection
- getLogger(Class) - Static method in class org.sql2o.logging.LocalLoggerFactory
- getLoginTimeout() - Method in class org.sql2o.GenericDatasource
- getLogWriter() - Method in class org.sql2o.GenericDatasource
- getLong(int) - Method in class org.sql2o.data.Row
- getLong(String) - Method in class org.sql2o.data.Row
- getMaxBatchRecords() - Method in class org.sql2o.Query
- getMetaData() - Method in class org.sql2o.connectionsources.WrappedConnection
- getName() - Method in class org.sql2o.data.Column
- getName() - Method in class org.sql2o.data.LazyTable
- getName() - Method in class org.sql2o.data.Table
- getName() - Method in class org.sql2o.Query
- getNetworkTimeout() - Method in class org.sql2o.connectionsources.WrappedConnection
- getObject() - Method in class org.sql2o.reflection.Pojo
- getObject(int) - Method in class org.sql2o.data.Row
- getObject(int, Class<V>) - Method in class org.sql2o.data.Row
- getObject(String) - Method in class org.sql2o.data.Row
- getObject(String, Class<V>) - Method in class org.sql2o.data.Row
- getObjectConstructor() - Method in class org.sql2o.reflection.PojoMetadata
- getParamNameToIdxMap() - Method in class org.sql2o.Query
- getParentLogger() - Method in class org.sql2o.GenericDatasource
- getPassword() - Method in class org.sql2o.GenericDatasource
- getProperty(Object) - Method in class org.sql2o.reflection.FieldGetter
- getProperty(Object) - Method in interface org.sql2o.reflection.Getter
- getProperty(Object) - Method in class org.sql2o.reflection.MethodGetter
- getPropertyGetter(String) - Method in class org.sql2o.reflection.PojoMetadata
- getPropertyGetterIfExists(String) - Method in class org.sql2o.reflection.PojoMetadata
- getPropertySetter(String) - Method in class org.sql2o.reflection.PojoMetadata
- getPropertySetterIfExists(String) - Method in class org.sql2o.reflection.PojoMetadata
- getQuirks() - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- getQuirks() - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- getQuirks() - Method in class org.sql2o.Sql2o
- getResult() - Method in class org.sql2o.Connection
- getResultSetHandlerFactoryBuilder() - Method in class org.sql2o.Query
- getRSVal(ResultSet, int) - Method in class org.sql2o.quirks.NoQuirks
- getRSVal(ResultSet, int) - Method in interface org.sql2o.quirks.Quirks
- getRSVal(ResultSet, int) - Static method in class org.sql2o.tools.ResultSetUtils
-
Deprecated.
- getSchema() - Method in class org.sql2o.connectionsources.WrappedConnection
- getShort(int) - Method in class org.sql2o.data.Row
- getShort(String) - Method in class org.sql2o.data.Row
- getSql2o() - Method in class org.sql2o.Connection
- getSqlParameterParsingStrategy() - Method in class org.sql2o.quirks.NoQuirks
- getSqlParameterParsingStrategy() - Method in interface org.sql2o.quirks.Quirks
- getString(int) - Method in class org.sql2o.data.Row
- getString(String) - Method in class org.sql2o.data.Row
- Getter - Interface in org.sql2o.reflection
-
The Getter interface is used by sql2o to get property values when doing automatic column to property mapping
- getTransactionIsolation() - Method in class org.sql2o.connectionsources.WrappedConnection
- getType() - Method in class org.sql2o.data.Column
- getType() - Method in class org.sql2o.reflection.FieldGetter
- getType() - Method in class org.sql2o.reflection.FieldSetter
- getType() - Method in interface org.sql2o.reflection.Getter
- getType() - Method in class org.sql2o.reflection.MethodGetter
- getType() - Method in class org.sql2o.reflection.MethodSetter
- getType() - Method in class org.sql2o.reflection.PojoMetadata
- getType() - Method in interface org.sql2o.reflection.Setter
- getTypeDescription() - Method in class org.sql2o.converters.BigDecimalConverter
- getTypeDescription() - Method in class org.sql2o.converters.ByteConverter
- getTypeDescription() - Method in class org.sql2o.converters.DoubleConverter
- getTypeDescription() - Method in class org.sql2o.converters.FloatConverter
- getTypeDescription() - Method in class org.sql2o.converters.IntegerConverter
- getTypeDescription() - Method in class org.sql2o.converters.LongConverter
- getTypeDescription() - Method in class org.sql2o.converters.NumberConverter
- getTypeDescription() - Method in class org.sql2o.converters.ShortConverter
- getTypeMap() - Method in class org.sql2o.connectionsources.WrappedConnection
- getUrl() - Method in class org.sql2o.GenericDatasource
- getUser() - Method in class org.sql2o.GenericDatasource
- getValueOfProperty(String, Object) - Method in class org.sql2o.reflection.PojoMetadata
- getWarnings() - Method in class org.sql2o.connectionsources.WrappedConnection
H
- handle(ResultSet) - Method in interface org.sql2o.ResultSetHandler
- hashCode() - Method in class org.sql2o.reflection.PojoMetadata
- hasNext() - Method in class org.sql2o.ResultSetIteratorBase
I
- init() - Method in class org.sql2o.quirks.parameterparsing.impl.AbstractCommentParser
- init() - Method in class org.sql2o.quirks.parameterparsing.impl.ForwardSlashCommentParser
- InputStreamConverter - Class in org.sql2o.converters
-
Created with IntelliJ IDEA.
- InputStreamConverter() - Constructor for class org.sql2o.converters.InputStreamConverter
- instance - Static variable in class org.sql2o.converters.DateConverter
- instance - Static variable in class org.sql2o.logging.SysOutLogger
- InstantConverter - Class in org.sql2o.converters
- InstantConverter() - Constructor for class org.sql2o.converters.InstantConverter
- IntegerConverter - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into an
Integer
. - IntegerConverter(boolean) - Constructor for class org.sql2o.converters.IntegerConverter
- IOUtils - Class in org.sql2o.tools
-
User: lars Date: 6/14/13 Time: 12:02 AM
- IOUtils() - Constructor for class org.sql2o.tools.IOUtils
- isAutoCloseConnection() - Method in interface org.sql2o.ResultSetIterable
- isAutoDeriveColumnNames() - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- isAutoDeriveColumnNames() - Method in class org.sql2o.Query
- isAutoDeriveColumnNames() - Method in class org.sql2o.reflection.PojoMetadata
- isAutoDeriveColumnNames() - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- isCacheUnderscoreToCamelcaseEnabled() - Static method in class org.sql2o.tools.FeatureDetector
- isCaseSensitive - Variable in class org.sql2o.ResultSetIteratorBase
- isCaseSensitive() - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- isCaseSensitive() - Method in class org.sql2o.Query
- isCaseSensitive() - Method in class org.sql2o.reflection.PojoMetadata
- isCaseSensitive() - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- isClosed() - Method in class org.sql2o.connectionsources.WrappedConnection
- isDefaultCaseSensitive() - Method in class org.sql2o.Sql2o
-
Gets value indicating if this instance of Sql2o is case sensitive when mapping between columns names and property names.
- isEndComment(char) - Method in class org.sql2o.quirks.parameterparsing.impl.AbstractCommentParser
- isEndComment(char) - Method in class org.sql2o.quirks.parameterparsing.impl.DoubleHyphensCommentParser
- isEndComment(char) - Method in class org.sql2o.quirks.parameterparsing.impl.ForwardSlashCommentParser
- isExplicitExecuteBatchRequired() - Method in class org.sql2o.Query
- isJodaTimeAvailable() - Static method in class org.sql2o.tools.FeatureDetector
- isOracleAvailable() - Static method in class org.sql2o.tools.FeatureDetector
- isPresent(String) - Static method in class org.sql2o.tools.ClassUtils
-
Check whether the
Class
identified by the supplied name is present. - isReadOnly() - Method in class org.sql2o.connectionsources.WrappedConnection
- isRollbackOnClose() - Method in class org.sql2o.Connection
- isRollbackOnException() - Method in class org.sql2o.Connection
- isSlf4jAvailable() - Static method in class org.sql2o.tools.FeatureDetector
- isThrowOnMappingError() - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- isThrowOnMappingError() - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- isThrowOnMappingFailure() - Method in class org.sql2o.Query
- isUsableForClass(String) - Method in interface org.sql2o.quirks.QuirksProvider
- isUsableForUrl(String) - Method in interface org.sql2o.quirks.QuirksProvider
- isValid(int) - Method in class org.sql2o.connectionsources.WrappedConnection
- isWrapperFor(Class<?>) - Method in class org.sql2o.connectionsources.WrappedConnection
- isWrapperFor(Class<?>) - Method in class org.sql2o.GenericDatasource
J
- JndiDataSource - Class in org.sql2o
-
Created by lars on 16.09.2014.
- JndiDataSource() - Constructor for class org.sql2o.JndiDataSource
- JodaDateTimeConverter - Class in org.sql2o.converters.joda
-
Used by sql2o to convert a value from the database into a
DateTime
instance. - JodaDateTimeConverter() - Constructor for class org.sql2o.converters.joda.JodaDateTimeConverter
- JodaDateTimeConverter(DateTimeZone) - Constructor for class org.sql2o.converters.joda.JodaDateTimeConverter
- JodaLocalDateConverter - Class in org.sql2o.converters.joda
-
Created by lars on 01.05.14.
- JodaLocalDateConverter() - Constructor for class org.sql2o.converters.joda.JodaLocalDateConverter
- JodaLocalTimeConverter - Class in org.sql2o.converters.joda
-
Created by lars on 12/18/13.
- JodaLocalTimeConverter() - Constructor for class org.sql2o.converters.joda.JodaLocalTimeConverter
- join(Connection) - Static method in class org.sql2o.connectionsources.ConnectionSources
-
A ConnectionSource that will wrap externally managed connection with proxy that will omit
Connection.close()
orConnection.commit()
calls.
L
- LazyTable - Class in org.sql2o.data
- LazyTable() - Constructor for class org.sql2o.data.LazyTable
- LINE_SEPARATOR - Static variable in class org.sql2o.logging.SysOutLogger
- LocalDateConverter - Class in org.sql2o.converters
- LocalDateConverter() - Constructor for class org.sql2o.converters.LocalDateConverter
- LocalDateTimeConverter - Class in org.sql2o.converters
- LocalDateTimeConverter() - Constructor for class org.sql2o.converters.LocalDateTimeConverter
- LocalLoggerFactory - Class in org.sql2o.logging
-
Created by lars on 2/9/14.
- LocalLoggerFactory() - Constructor for class org.sql2o.logging.LocalLoggerFactory
- LocalTimeConverter - Class in org.sql2o.converters
- LocalTimeConverter() - Constructor for class org.sql2o.converters.LocalTimeConverter
- Logger - Interface in org.sql2o.logging
-
Created by lars on 2/9/14.
- LongConverter - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into a
Long
. - LongConverter(boolean) - Constructor for class org.sql2o.converters.LongConverter
M
- meta - Variable in class org.sql2o.ResultSetIteratorBase
- MethodGetter - Class in org.sql2o.reflection
-
used internally to get property values via its getter method.
- MethodGetter(Method) - Constructor for class org.sql2o.reflection.MethodGetter
- MethodGetterFactory - Interface in org.sql2o.reflection
- MethodSetter - Class in org.sql2o.reflection
-
used internally to set property values via its setter method.
- MethodSetter(Method) - Constructor for class org.sql2o.reflection.MethodSetter
- MethodSetterFactory - Interface in org.sql2o.reflection
-
Created with IntelliJ IDEA.
N
- name - Variable in class org.sql2o.reflection.PojoIntrospector.ReadableProperty
- nativeSQL(String) - Method in class org.sql2o.connectionsources.WrappedConnection
- newConstructor(Class<?>) - Method in class org.sql2o.reflection.FactoryFacade
- newConstructor(Class<?>) - Method in interface org.sql2o.reflection.ObjectConstructorFactory
- newConstructor(Class<?>) - Method in class org.sql2o.reflection.ReflectionObjectConstructorFactory
- newConverter(Class<E>) - Method in class org.sql2o.converters.DefaultEnumConverterFactory
- newConverter(Class<E>) - Method in interface org.sql2o.converters.EnumConverterFactory
- newFactory(Class<E>) - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- newFactory(Class<T>) - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- newGetter(Field) - Method in class org.sql2o.reflection.FactoryFacade
- newGetter(Field) - Method in interface org.sql2o.reflection.FieldGetterFactory
- newGetter(Field) - Method in class org.sql2o.reflection.ReflectionFieldGetterFactory
- newGetter(Method) - Method in class org.sql2o.reflection.FactoryFacade
- newGetter(Method) - Method in interface org.sql2o.reflection.MethodGetterFactory
- newGetter(Method) - Method in class org.sql2o.reflection.ReflectionMethodGetterFactory
- newInstance() - Method in interface org.sql2o.reflection.ObjectConstructor
- newResultSetHandler(ResultSetMetaData) - Method in class org.sql2o.DefaultResultSetHandlerFactory
- newResultSetHandler(ResultSetMetaData) - Method in interface org.sql2o.ResultSetHandlerFactory
- newSetter(Field) - Method in class org.sql2o.reflection.FactoryFacade
- newSetter(Field) - Method in interface org.sql2o.reflection.FieldSetterFactory
- newSetter(Field) - Method in class org.sql2o.reflection.ReflectionFieldSetterFactory
- newSetter(Method) - Method in class org.sql2o.reflection.FactoryFacade
- newSetter(Method) - Method in interface org.sql2o.reflection.MethodSetterFactory
- newSetter(Method) - Method in class org.sql2o.reflection.ReflectionMethodSetterFactory
- next() - Method in class org.sql2o.ResultSetIteratorBase
- NoQuirks - Class in org.sql2o.quirks
- NoQuirks() - Constructor for class org.sql2o.quirks.NoQuirks
- NoQuirks(Map<Class, Converter>) - Constructor for class org.sql2o.quirks.NoQuirks
- NumberConverter<V> - Class in org.sql2o.converters
-
Base class for numeric converters.
- NumberConverter(boolean) - Constructor for class org.sql2o.converters.NumberConverter
O
- ObjectConstructor - Interface in org.sql2o.reflection
-
Created with IntelliJ IDEA.
- ObjectConstructorFactory - Interface in org.sql2o.reflection
-
Created with IntelliJ IDEA.
- OffsetDateTimeConverter - Class in org.sql2o.converters
- OffsetDateTimeConverter() - Constructor for class org.sql2o.converters.OffsetDateTimeConverter
- open() - Method in class org.sql2o.Sql2o
-
Opens a connection to the database
- open(ConnectionSource) - Method in class org.sql2o.Sql2o
-
Opens a connection to the database
- org.sql2o - package org.sql2o
-
Provides the main api for sql2o.
- org.sql2o.connectionsources - package org.sql2o.connectionsources
- org.sql2o.converters - package org.sql2o.converters
-
Provides all converters used by sql2o.
- org.sql2o.converters.joda - package org.sql2o.converters.joda
- org.sql2o.data - package org.sql2o.data
-
Provides the model used by sql2o to represent a raw result set.
- org.sql2o.logging - package org.sql2o.logging
- org.sql2o.quirks - package org.sql2o.quirks
- org.sql2o.quirks.parameterparsing - package org.sql2o.quirks.parameterparsing
- org.sql2o.quirks.parameterparsing.impl - package org.sql2o.quirks.parameterparsing.impl
- org.sql2o.reflection - package org.sql2o.reflection
-
Provides the internal functionality used by sql2o to accomplish the automatic row to property mapping.
- org.sql2o.tools - package org.sql2o.tools
-
internal tools.
P
- ParameterParser - Class in org.sql2o.quirks.parameterparsing.impl
-
Created by lars on 22.09.2014.
- ParameterParser(Map<String, List<Integer>>) - Constructor for class org.sql2o.quirks.parameterparsing.impl.ParameterParser
- parse(char, int, StringBuilder, String, int) - Method in class org.sql2o.quirks.parameterparsing.impl.AbstractCommentParser
- parse(char, int, StringBuilder, String, int) - Method in interface org.sql2o.quirks.parameterparsing.impl.CharParser
- parse(char, int, StringBuilder, String, int) - Method in class org.sql2o.quirks.parameterparsing.impl.DefaultParser
- parse(char, int, StringBuilder, String, int) - Method in class org.sql2o.quirks.parameterparsing.impl.ParameterParser
- parse(char, int, StringBuilder, String, int) - Method in class org.sql2o.quirks.parameterparsing.impl.QuoteParser
- parseSql(String, Map<String, List<Integer>>) - Method in class org.sql2o.quirks.parameterparsing.impl.DefaultSqlParameterParsingStrategy
- parseSql(String, Map<String, List<Integer>>) - Method in interface org.sql2o.quirks.parameterparsing.SqlParameterParsingStrategy
- Pojo - Class in org.sql2o.reflection
-
Used internally to represent a plain old java object.
- Pojo(PojoMetadata, boolean) - Constructor for class org.sql2o.reflection.Pojo
- Pojo(PojoMetadata, boolean, Object) - Constructor for class org.sql2o.reflection.Pojo
- PojoIntrospector - Class in org.sql2o.reflection
-
User: dimzon Date: 4/9/14 Time: 1:10 AM
- PojoIntrospector() - Constructor for class org.sql2o.reflection.PojoIntrospector
- PojoIntrospector.ReadableProperty - Class in org.sql2o.reflection
- PojoMetadata - Class in org.sql2o.reflection
-
Stores metadata for a POJO.
- PojoMetadata(Class, boolean, boolean, Map<String, String>, boolean) - Constructor for class org.sql2o.reflection.PojoMetadata
- PojoResultSetIterator<T> - Class in org.sql2o
-
Iterator for a
ResultSet
. - PojoResultSetIterator(ResultSet, boolean, Quirks, ResultSetHandler<T>) - Constructor for class org.sql2o.PojoResultSetIterator
- PojoResultSetIterator(ResultSet, boolean, Quirks, ResultSetHandlerFactory<T>) - Constructor for class org.sql2o.PojoResultSetIterator
- prepareCall(String) - Method in class org.sql2o.connectionsources.WrappedConnection
- prepareCall(String, int, int) - Method in class org.sql2o.connectionsources.WrappedConnection
- prepareCall(String, int, int, int) - Method in class org.sql2o.connectionsources.WrappedConnection
- prepareStatement(String) - Method in class org.sql2o.connectionsources.WrappedConnection
- prepareStatement(String, int) - Method in class org.sql2o.connectionsources.WrappedConnection
- prepareStatement(String, int[]) - Method in class org.sql2o.connectionsources.WrappedConnection
- prepareStatement(String, int, int) - Method in class org.sql2o.connectionsources.WrappedConnection
- prepareStatement(String, int, int, int) - Method in class org.sql2o.connectionsources.WrappedConnection
- prepareStatement(String, String[]) - Method in class org.sql2o.connectionsources.WrappedConnection
- provide() - Method in interface org.sql2o.quirks.QuirksProvider
Q
- Query - Class in org.sql2o
-
Represents a sql2o statement.
- Query(Connection, String, boolean) - Constructor for class org.sql2o.Query
- Query(Connection, String, String[]) - Constructor for class org.sql2o.Query
- quirks - Variable in class org.sql2o.ResultSetIteratorBase
- Quirks - Interface in org.sql2o.quirks
-
Interface for JDBC driver specific quirks.
- QuirksDetector - Class in org.sql2o.quirks
-
Automatically detects which quirks implementation to use.
- QuirksDetector() - Constructor for class org.sql2o.quirks.QuirksDetector
- QuirksProvider - Interface in org.sql2o.quirks
- QuoteParser - Class in org.sql2o.quirks.parameterparsing.impl
-
Created by lars on 22.09.2014.
- QuoteParser() - Constructor for class org.sql2o.quirks.parameterparsing.impl.QuoteParser
R
- readableProperties(Class<?>) - Static method in class org.sql2o.reflection.PojoIntrospector
- readNext() - Method in class org.sql2o.data.TableResultSetIterator
- readNext() - Method in class org.sql2o.PojoResultSetIterator
- readNext() - Method in class org.sql2o.ResultSetIteratorBase
- ReflectionFieldGetterFactory - Class in org.sql2o.reflection
- ReflectionFieldGetterFactory() - Constructor for class org.sql2o.reflection.ReflectionFieldGetterFactory
- ReflectionFieldSetterFactory - Class in org.sql2o.reflection
-
Created with IntelliJ IDEA.
- ReflectionFieldSetterFactory() - Constructor for class org.sql2o.reflection.ReflectionFieldSetterFactory
- ReflectionMethodGetterFactory - Class in org.sql2o.reflection
- ReflectionMethodGetterFactory() - Constructor for class org.sql2o.reflection.ReflectionMethodGetterFactory
- ReflectionMethodSetterFactory - Class in org.sql2o.reflection
-
Created with IntelliJ IDEA.
- ReflectionMethodSetterFactory() - Constructor for class org.sql2o.reflection.ReflectionMethodSetterFactory
- ReflectionObjectConstructorFactory - Class in org.sql2o.reflection
- ReflectionObjectConstructorFactory() - Constructor for class org.sql2o.reflection.ReflectionObjectConstructorFactory
- registerConverter(Class, Converter) - Static method in class org.sql2o.converters.Convert
-
Deprecated.
- registerEnumConverter(EnumConverterFactory) - Static method in class org.sql2o.converters.Convert
- releaseSavepoint(Savepoint) - Method in class org.sql2o.connectionsources.WrappedConnection
- remove() - Method in class org.sql2o.ResultSetIteratorBase
- ResultSetHandler<T> - Interface in org.sql2o
-
User: dimzon Date: 4/7/14 Time: 12:01 AM
- ResultSetHandlerFactory<T> - Interface in org.sql2o
-
User: dimzon Date: 4/7/14 Time: 12:02 AM
- ResultSetHandlerFactoryBuilder - Interface in org.sql2o
-
Created with IntelliJ IDEA.
- ResultSetIterable<T> - Interface in org.sql2o
-
Iterable
ResultSet
. - ResultSetIteratorBase<T> - Class in org.sql2o
-
Iterator for a
ResultSet
. - ResultSetIteratorBase(ResultSet, boolean, Quirks) - Constructor for class org.sql2o.ResultSetIteratorBase
- ResultSetUtils - Class in org.sql2o.tools
-
Utilities for
ResultSet
. - ResultSetUtils() - Constructor for class org.sql2o.tools.ResultSetUtils
- returnGeneratedKeysByDefault() - Method in class org.sql2o.quirks.NoQuirks
- returnGeneratedKeysByDefault() - Method in interface org.sql2o.quirks.Quirks
- rollback() - Method in class org.sql2o.Connection
- rollback() - Method in class org.sql2o.connectionsources.WrappedConnection
- rollback(boolean) - Method in class org.sql2o.Connection
- rollback(Savepoint) - Method in class org.sql2o.connectionsources.WrappedConnection
- Row - Class in org.sql2o.data
-
Represents a result set row.
- Row(Map<String, Integer>, int, boolean, Quirks) - Constructor for class org.sql2o.data.Row
- rows() - Method in class org.sql2o.data.LazyTable
- rows() - Method in class org.sql2o.data.Table
- rs - Variable in class org.sql2o.ResultSetIteratorBase
- run(Connection, Object) - Method in interface org.sql2o.StatementRunnable
- run(Connection, Object) - Method in interface org.sql2o.StatementRunnableWithResult
- runInTransaction(StatementRunnable) - Method in class org.sql2o.Sql2o
-
Calls the
StatementRunnable.run(Connection, Object)
method on theStatementRunnable
parameter. - runInTransaction(StatementRunnable, Object) - Method in class org.sql2o.Sql2o
-
Calls the
StatementRunnable.run(Connection, Object)
method on theStatementRunnable
parameter. - runInTransaction(StatementRunnable, Object, int) - Method in class org.sql2o.Sql2o
-
Calls the
StatementRunnable.run(Connection, Object)
method on theStatementRunnable
parameter. - runInTransaction(StatementRunnableWithResult<V>) - Method in class org.sql2o.Sql2o
- runInTransaction(StatementRunnableWithResult<V>, Object) - Method in class org.sql2o.Sql2o
- runInTransaction(StatementRunnableWithResult<V>, Object, int) - Method in class org.sql2o.Sql2o
S
- setAutoCloseConnection(boolean) - Method in interface org.sql2o.ResultSetIterable
- setAutoCommit(boolean) - Method in class org.sql2o.connectionsources.WrappedConnection
- setAutoDeriveColumnNames(boolean) - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- setAutoDeriveColumnNames(boolean) - Method in class org.sql2o.Query
- setAutoDeriveColumnNames(boolean) - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- setCacheUnderscoreToCamelcaseEnabled(boolean) - Static method in class org.sql2o.tools.FeatureDetector
-
Turn caching of underscore to camelcase on or off.
- setCaseSensitive(boolean) - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- setCaseSensitive(boolean) - Method in class org.sql2o.Query
- setCaseSensitive(boolean) - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- setCatalog(String) - Method in class org.sql2o.connectionsources.WrappedConnection
- setClientInfo(String, String) - Method in class org.sql2o.connectionsources.WrappedConnection
- setClientInfo(Properties) - Method in class org.sql2o.connectionsources.WrappedConnection
- setColumnMappings(Map<String, String>) - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- setColumnMappings(Map<String, String>) - Method in class org.sql2o.Query
- setColumnMappings(Map<String, String>) - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- setConnectionSource(ConnectionSource) - Method in class org.sql2o.Sql2o
-
Sets the
ConnectionSource
that Sql2o uses internally to acquire database connections. - setDefaultCaseSensitive(boolean) - Method in class org.sql2o.Sql2o
-
Sets a value indicating if this instance of Sql2o is case sensitive when mapping between columns names and property names.
- setDefaultColumnMappings(Map<String, String>) - Method in class org.sql2o.Sql2o
-
Sets the default column mappings Map.
- setHoldability(int) - Method in class org.sql2o.connectionsources.WrappedConnection
- setLoginTimeout(int) - Method in class org.sql2o.GenericDatasource
- setLogWriter(PrintWriter) - Method in class org.sql2o.GenericDatasource
- setMaxBatchRecords(int) - Method in class org.sql2o.Query
-
Sets the number of batched commands this Query allows to be added before implicitly calling
executeBatch()
fromaddToBatch()
. - setName(String) - Method in class org.sql2o.Query
- setNetworkTimeout(Executor, int) - Method in class org.sql2o.connectionsources.WrappedConnection
- setParameter(PreparedStatement, int, boolean) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, boolean) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, int) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, int) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, long) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, long) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, InputStream) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, InputStream) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, Boolean) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, Boolean) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, Integer) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, Integer) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, Long) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, Long) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, Object) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, Object) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, String) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, String) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, Time) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, Time) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, Timestamp) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, Timestamp) - Method in interface org.sql2o.quirks.Quirks
- setParameter(PreparedStatement, int, UUID) - Method in class org.sql2o.quirks.NoQuirks
- setParameter(PreparedStatement, int, UUID) - Method in interface org.sql2o.quirks.Quirks
- setProperty(Object, Object) - Method in class org.sql2o.reflection.FieldSetter
- setProperty(Object, Object) - Method in class org.sql2o.reflection.MethodSetter
- setProperty(Object, Object) - Method in interface org.sql2o.reflection.Setter
- setProperty(String, Object, Quirks) - Method in class org.sql2o.reflection.Pojo
- setQuirks(Quirks) - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- setQuirks(Quirks) - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- setReadOnly(boolean) - Method in class org.sql2o.connectionsources.WrappedConnection
- setResultSetHandlerFactoryBuilder(ResultSetHandlerFactoryBuilder) - Method in class org.sql2o.Query
- setRollbackOnClose(boolean) - Method in class org.sql2o.Connection
- setRollbackOnException(boolean) - Method in class org.sql2o.Connection
- setRows(ResultSetIterable<Row>) - Method in class org.sql2o.data.LazyTable
- setSavepoint() - Method in class org.sql2o.connectionsources.WrappedConnection
- setSavepoint(String) - Method in class org.sql2o.connectionsources.WrappedConnection
- setSchema(String) - Method in class org.sql2o.connectionsources.WrappedConnection
- Setter - Interface in org.sql2o.reflection
-
The Setter interface is used by sql2o to set property values when doing automatic column to property mapping
- setTransactionIsolation(int) - Method in class org.sql2o.connectionsources.WrappedConnection
- setTypeMap(Map<String, Class<?>>) - Method in class org.sql2o.connectionsources.WrappedConnection
- ShortConverter - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into a
Short
. - ShortConverter(boolean) - Constructor for class org.sql2o.converters.ShortConverter
- Slf4jLogger - Class in org.sql2o.logging
-
Created by lars on 2/9/14.
- Slf4jLogger(Logger) - Constructor for class org.sql2o.logging.Slf4jLogger
- Sql2o - Class in org.sql2o
-
Sql2o is the main class for the sql2o library.
- Sql2o(String) - Constructor for class org.sql2o.Sql2o
- Sql2o(String, String, String) - Constructor for class org.sql2o.Sql2o
-
Creates a new instance of the Sql2o class.
- Sql2o(String, String, String, Quirks) - Constructor for class org.sql2o.Sql2o
-
Created a new instance of the Sql2o class.
- Sql2o(DataSource) - Constructor for class org.sql2o.Sql2o
-
Creates a new instance of the Sql2o class, which uses the given DataSource to acquire connections to the database.
- Sql2o(DataSource, Quirks) - Constructor for class org.sql2o.Sql2o
-
Creates a new instance of the Sql2o class, which uses the given DataSource to acquire connections to the database.
- Sql2oException - Exception Class in org.sql2o
-
Represents an exception thrown by Sql2o.
- Sql2oException() - Constructor for exception class org.sql2o.Sql2oException
- Sql2oException(String) - Constructor for exception class org.sql2o.Sql2oException
- Sql2oException(String, Throwable) - Constructor for exception class org.sql2o.Sql2oException
- Sql2oException(Throwable) - Constructor for exception class org.sql2o.Sql2oException
- SqlParameterParsingStrategy - Interface in org.sql2o.quirks.parameterparsing
-
Created by lars on 11.04.14.
- SqlTimeConverter - Class in org.sql2o.converters
- SqlTimeConverter() - Constructor for class org.sql2o.converters.SqlTimeConverter
- StatementRunnable - Interface in org.sql2o
-
Represents a method with a
Connection
and an optional argument. - StatementRunnableWithResult<V> - Interface in org.sql2o
-
Represents a method with a
Connection
and an optional argument. - StringConverter - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into a
String
. - StringConverter() - Constructor for class org.sql2o.converters.StringConverter
- SysOutLogger - Class in org.sql2o.logging
-
Created by lars on 2/9/14.
- SysOutLogger() - Constructor for class org.sql2o.logging.SysOutLogger
T
- Table - Class in org.sql2o.data
-
Represents an offline result set with columns and rows and data.
- Table(String, List<Row>, List<Column>) - Constructor for class org.sql2o.data.Table
- TableResultSetIterator - Class in org.sql2o.data
- TableResultSetIterator(ResultSet, boolean, Quirks, LazyTable) - Constructor for class org.sql2o.data.TableResultSetIterator
- throwIfNull(Class<E>, Converter<E>) - Static method in class org.sql2o.converters.Convert
- throwOnMappingError(boolean) - Method in class org.sql2o.DefaultResultSetHandlerFactoryBuilder
- throwOnMappingError(boolean) - Method in interface org.sql2o.ResultSetHandlerFactoryBuilder
- throwOnMappingFailure - Variable in class org.sql2o.reflection.PojoMetadata
- throwOnMappingFailure(boolean) - Method in class org.sql2o.Query
- toByteArray(InputStream) - Static method in class org.sql2o.tools.IOUtils
- toDatabaseParam(Date) - Method in class org.sql2o.converters.AbstractDateConverter
- toDatabaseParam(DateTime) - Method in class org.sql2o.converters.joda.JodaDateTimeConverter
- toDatabaseParam(LocalDate) - Method in class org.sql2o.converters.joda.JodaLocalDateConverter
- toDatabaseParam(LocalTime) - Method in class org.sql2o.converters.joda.JodaLocalTimeConverter
- toDatabaseParam(T) - Method in interface org.sql2o.converters.Converter
-
Conversion from Java to SQL.
- toDatabaseParam(BigDecimal) - Method in class org.sql2o.converters.BigDecimalConverter
- toDatabaseParam(Boolean) - Method in class org.sql2o.converters.BooleanConverter
- toDatabaseParam(byte[]) - Method in class org.sql2o.converters.ByteArrayConverter
- toDatabaseParam(Byte) - Method in class org.sql2o.converters.ByteConverter
- toDatabaseParam(Double) - Method in class org.sql2o.converters.DoubleConverter
- toDatabaseParam(Float) - Method in class org.sql2o.converters.FloatConverter
- toDatabaseParam(ByteArrayInputStream) - Method in class org.sql2o.converters.InputStreamConverter
- toDatabaseParam(Instant) - Method in class org.sql2o.converters.InstantConverter
- toDatabaseParam(Integer) - Method in class org.sql2o.converters.IntegerConverter
- toDatabaseParam(LocalDate) - Method in class org.sql2o.converters.LocalDateConverter
- toDatabaseParam(LocalDateTime) - Method in class org.sql2o.converters.LocalDateTimeConverter
- toDatabaseParam(LocalTime) - Method in class org.sql2o.converters.LocalTimeConverter
- toDatabaseParam(Long) - Method in class org.sql2o.converters.LongConverter
- toDatabaseParam(V) - Method in class org.sql2o.converters.NumberConverter
- toDatabaseParam(OffsetDateTime) - Method in class org.sql2o.converters.OffsetDateTimeConverter
- toDatabaseParam(Short) - Method in class org.sql2o.converters.ShortConverter
- toDatabaseParam(Time) - Method in class org.sql2o.converters.SqlTimeConverter
- toDatabaseParam(String) - Method in class org.sql2o.converters.StringConverter
- toDatabaseParam(UUID) - Method in class org.sql2o.converters.UUIDConverter
- toString() - Method in class org.sql2o.data.Column
- toString() - Method in class org.sql2o.Query
- toString(Reader) - Static method in class org.sql2o.tools.IOUtils
- type - Variable in class org.sql2o.reflection.PojoIntrospector.ReadableProperty
U
- UnderscoreToCamelCase - Class in org.sql2o.tools
-
Takes a string formatted like: 'my_string_variable' and returns it as: 'myStringVariable'
- UnderscoreToCamelCase() - Constructor for class org.sql2o.tools.UnderscoreToCamelCase
- unwrap(Class<T>) - Method in class org.sql2o.connectionsources.WrappedConnection
- unwrap(Class<T>) - Method in class org.sql2o.GenericDatasource
- UUIDConverter - Class in org.sql2o.converters
-
Used by sql2o to convert a value from the database into a
UUID
. - UUIDConverter() - Constructor for class org.sql2o.converters.UUIDConverter
W
- warn(String) - Method in interface org.sql2o.logging.Logger
- warn(String) - Method in class org.sql2o.logging.Slf4jLogger
- warn(String) - Method in class org.sql2o.logging.SysOutLogger
- warn(String, Throwable) - Method in interface org.sql2o.logging.Logger
- warn(String, Throwable) - Method in class org.sql2o.logging.Slf4jLogger
- warn(String, Throwable) - Method in class org.sql2o.logging.SysOutLogger
- withConnection(StatementRunnable) - Method in class org.sql2o.Sql2o
-
Invokes the run method on the
StatementRunnableWithResult
instance. - withConnection(StatementRunnable, Object) - Method in class org.sql2o.Sql2o
-
Invokes the run method on the
StatementRunnableWithResult
instance. - withConnection(StatementRunnableWithResult<V>) - Method in class org.sql2o.Sql2o
-
Invokes the run method on the
StatementRunnableWithResult
instance. - withConnection(StatementRunnableWithResult<V>, Object) - Method in class org.sql2o.Sql2o
-
Invokes the run method on the
StatementRunnableWithResult
instance. - withParams(Object...) - Method in class org.sql2o.Query
- WrappedConnection - Class in org.sql2o.connectionsources
-
Simple
wrapper
Created by nickl on 09.01.17. - WrappedConnection(Connection) - Constructor for class org.sql2o.connectionsources.WrappedConnection
All Classes and Interfaces|All Packages|Serialized Form
Connection
class instead, using try-with-resource blockstry (Connection con = sql2o.open()) { return sql2o.createQuery(query, name).executeAndFetch(Pojo.class); }