Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

addCheck(String, String) - Method in class com.github.susom.database.Schema.Table
 
addColumn(String) - Method in class com.github.susom.database.Schema.Table
 
addForeignKey(String, String...) - Method in class com.github.susom.database.Schema.Table
 
addIndex(String, String...) - Method in class com.github.susom.database.Schema.Table
 
addParameters(PreparedStatement, Object[]) - Method in class com.github.susom.database.StatementAdaptor
 
addPrefix(String) - Method in interface com.github.susom.database.ConfigFrom
 
addPrefix(String) - Method in class com.github.susom.database.ConfigFromImpl
 
addPrimaryKey(String, String...) - Method in class com.github.susom.database.Schema.Table
 
addRow(Object...) - Method in class com.github.susom.database.RowStub
 
addSequence(String) - Method in class com.github.susom.database.Schema
 
addTable(String) - Method in class com.github.susom.database.Schema
 
addTableFromRow(String, Row) - Method in class com.github.susom.database.Schema
 
addUnique(String, String...) - Method in class com.github.susom.database.Schema.Table
 
allowConnectionAccess() - Method in interface com.github.susom.database.Options
Control whether the Database object will allow calls to underlyingConnection().
allowConnectionAccess() - Method in class com.github.susom.database.OptionsDefault
 
allowConnectionAccess() - Method in class com.github.susom.database.OptionsOverride
 
allowTransactionControl() - Method in interface com.github.susom.database.Options
Control whether the Database object will allow calls to commitNow() and rollbackNow().
allowTransactionControl() - Method in class com.github.susom.database.OptionsDefault
 
allowTransactionControl() - Method in class com.github.susom.database.OptionsOverride
 
append(String) - Method in class com.github.susom.database.Sql
 
append(boolean) - Method in class com.github.susom.database.Sql
 
append(int) - Method in class com.github.susom.database.Sql
 
append(long) - Method in class com.github.susom.database.Sql
 
append(float) - Method in class com.github.susom.database.Sql
 
append(double) - Method in class com.github.susom.database.Sql
 
appendQuestionMarks(int) - Method in class com.github.susom.database.Sql
 
apply(String) - Method in interface com.github.susom.database.Config
apply(SqlSelect) - Method in class com.github.susom.database.Sql
 
apply(SqlInsert) - Method in class com.github.susom.database.Sql
 
apply(SqlUpdate) - Method in class com.github.susom.database.Sql
 
apply(SqlSelect) - Method in class com.github.susom.database.SqlArgs
 
apply(SqlInsert) - Method in class com.github.susom.database.SqlArgs
 
apply(SqlUpdate) - Method in class com.github.susom.database.SqlArgs
 
apply(SqlInsert.Apply) - Method in interface com.github.susom.database.SqlInsert
 
apply(SqlInsert) - Method in interface com.github.susom.database.SqlInsert.Apply
 
apply(SqlInsert.Apply) - Method in class com.github.susom.database.SqlInsertImpl
 
apply(SqlSelect.Apply) - Method in interface com.github.susom.database.SqlSelect
 
apply(SqlSelect) - Method in interface com.github.susom.database.SqlSelect.Apply
 
apply(SqlSelect.Apply) - Method in class com.github.susom.database.SqlSelectImpl
 
apply(SqlUpdate.Apply) - Method in interface com.github.susom.database.SqlUpdate
 
apply(SqlUpdate) - Method in interface com.github.susom.database.SqlUpdate.Apply
 
apply(SqlUpdate.Apply) - Method in class com.github.susom.database.SqlUpdateImpl
 
argBigDecimal(BigDecimal) - Method in class com.github.susom.database.Sql
 
argBigDecimal(String, BigDecimal) - Method in class com.github.susom.database.Sql
 
argBigDecimal(BigDecimal) - Method in class com.github.susom.database.SqlArgs
 
argBigDecimal(String, BigDecimal) - Method in class com.github.susom.database.SqlArgs
 
argBigDecimal(BigDecimal) - Method in interface com.github.susom.database.SqlInsert
 
argBigDecimal(String, BigDecimal) - Method in interface com.github.susom.database.SqlInsert
 
argBigDecimal(BigDecimal) - Method in class com.github.susom.database.SqlInsertImpl
 
argBigDecimal(String, BigDecimal) - Method in class com.github.susom.database.SqlInsertImpl
 
argBigDecimal(BigDecimal) - Method in interface com.github.susom.database.SqlSelect
 
argBigDecimal(String, BigDecimal) - Method in interface com.github.susom.database.SqlSelect
 
argBigDecimal(BigDecimal) - Method in class com.github.susom.database.SqlSelectImpl
 
argBigDecimal(String, BigDecimal) - Method in class com.github.susom.database.SqlSelectImpl
 
argBigDecimal(BigDecimal) - Method in interface com.github.susom.database.SqlUpdate
 
argBigDecimal(String, BigDecimal) - Method in interface com.github.susom.database.SqlUpdate
 
argBigDecimal(BigDecimal) - Method in class com.github.susom.database.SqlUpdateImpl
 
argBigDecimal(String, BigDecimal) - Method in class com.github.susom.database.SqlUpdateImpl
 
argBlobBytes(byte[]) - Method in class com.github.susom.database.Sql
 
argBlobBytes(String, byte[]) - Method in class com.github.susom.database.Sql
 
argBlobBytes(byte[]) - Method in class com.github.susom.database.SqlArgs
 
argBlobBytes(String, byte[]) - Method in class com.github.susom.database.SqlArgs
 
argBlobBytes(byte[]) - Method in interface com.github.susom.database.SqlInsert
 
argBlobBytes(String, byte[]) - Method in interface com.github.susom.database.SqlInsert
 
argBlobBytes(byte[]) - Method in class com.github.susom.database.SqlInsertImpl
 
argBlobBytes(String, byte[]) - Method in class com.github.susom.database.SqlInsertImpl
 
argBlobBytes(byte[]) - Method in interface com.github.susom.database.SqlUpdate
 
argBlobBytes(String, byte[]) - Method in interface com.github.susom.database.SqlUpdate
 
argBlobBytes(byte[]) - Method in class com.github.susom.database.SqlUpdateImpl
 
argBlobBytes(String, byte[]) - Method in class com.github.susom.database.SqlUpdateImpl
 
argBlobInputStream(InputStream) - Method in class com.github.susom.database.Sql
 
argBlobInputStream(String, InputStream) - Method in class com.github.susom.database.Sql
 
argBlobInputStream(InputStream) - Method in class com.github.susom.database.SqlArgs
 
argBlobInputStream(String, InputStream) - Method in class com.github.susom.database.SqlArgs
 
argBlobStream(InputStream) - Method in interface com.github.susom.database.SqlInsert
 
argBlobStream(String, InputStream) - Method in interface com.github.susom.database.SqlInsert
 
argBlobStream(InputStream) - Method in class com.github.susom.database.SqlInsertImpl
 
argBlobStream(String, InputStream) - Method in class com.github.susom.database.SqlInsertImpl
 
argBlobStream(InputStream) - Method in interface com.github.susom.database.SqlUpdate
 
argBlobStream(String, InputStream) - Method in interface com.github.susom.database.SqlUpdate
 
argBlobStream(InputStream) - Method in class com.github.susom.database.SqlUpdateImpl
 
argBlobStream(String, InputStream) - Method in class com.github.susom.database.SqlUpdateImpl
 
argBoolean(Boolean) - Method in class com.github.susom.database.Sql
 
argBoolean(String, Boolean) - Method in class com.github.susom.database.Sql
 
argBoolean(Boolean) - Method in class com.github.susom.database.SqlArgs
 
argBoolean(String, Boolean) - Method in class com.github.susom.database.SqlArgs
 
argBoolean(Boolean) - Method in interface com.github.susom.database.SqlInsert
 
argBoolean(String, Boolean) - Method in interface com.github.susom.database.SqlInsert
 
argBoolean(Boolean) - Method in class com.github.susom.database.SqlInsertImpl
 
argBoolean(String, Boolean) - Method in class com.github.susom.database.SqlInsertImpl
 
argBoolean(Boolean) - Method in interface com.github.susom.database.SqlSelect
 
argBoolean(String, Boolean) - Method in interface com.github.susom.database.SqlSelect
 
argBoolean(Boolean) - Method in class com.github.susom.database.SqlSelectImpl
 
argBoolean(String, Boolean) - Method in class com.github.susom.database.SqlSelectImpl
 
argBoolean(Boolean) - Method in interface com.github.susom.database.SqlUpdate
 
argBoolean(String, Boolean) - Method in interface com.github.susom.database.SqlUpdate
 
argBoolean(Boolean) - Method in class com.github.susom.database.SqlUpdateImpl
 
argBoolean(String, Boolean) - Method in class com.github.susom.database.SqlUpdateImpl
 
argClobReader(Reader) - Method in class com.github.susom.database.Sql
 
argClobReader(String, Reader) - Method in class com.github.susom.database.Sql
 
argClobReader(Reader) - Method in class com.github.susom.database.SqlArgs
 
argClobReader(String, Reader) - Method in class com.github.susom.database.SqlArgs
 
argClobReader(Reader) - Method in interface com.github.susom.database.SqlInsert
 
argClobReader(String, Reader) - Method in interface com.github.susom.database.SqlInsert
 
argClobReader(Reader) - Method in class com.github.susom.database.SqlInsertImpl
 
argClobReader(String, Reader) - Method in class com.github.susom.database.SqlInsertImpl
 
argClobReader(Reader) - Method in interface com.github.susom.database.SqlUpdate
 
argClobReader(String, Reader) - Method in interface com.github.susom.database.SqlUpdate
 
argClobReader(Reader) - Method in class com.github.susom.database.SqlUpdateImpl
 
argClobReader(String, Reader) - Method in class com.github.susom.database.SqlUpdateImpl
 
argClobString(String) - Method in class com.github.susom.database.Sql
 
argClobString(String, String) - Method in class com.github.susom.database.Sql
 
argClobString(String) - Method in class com.github.susom.database.SqlArgs
 
argClobString(String, String) - Method in class com.github.susom.database.SqlArgs
 
argClobString(String) - Method in interface com.github.susom.database.SqlInsert
 
argClobString(String, String) - Method in interface com.github.susom.database.SqlInsert
 
argClobString(String) - Method in class com.github.susom.database.SqlInsertImpl
 
argClobString(String, String) - Method in class com.github.susom.database.SqlInsertImpl
 
argClobString(String) - Method in interface com.github.susom.database.SqlUpdate
 
argClobString(String, String) - Method in interface com.github.susom.database.SqlUpdate
 
argClobString(String) - Method in class com.github.susom.database.SqlUpdateImpl
 
argClobString(String, String) - Method in class com.github.susom.database.SqlUpdateImpl
 
argCount() - Method in class com.github.susom.database.Sql
 
argCount() - Method in class com.github.susom.database.SqlArgs
 
argDate(Date) - Method in class com.github.susom.database.Sql
 
argDate(String, Date) - Method in class com.github.susom.database.Sql
 
argDate(Date) - Method in class com.github.susom.database.SqlArgs
 
argDate(String, Date) - Method in class com.github.susom.database.SqlArgs
 
argDate(Date) - Method in interface com.github.susom.database.SqlInsert
 
argDate(String, Date) - Method in interface com.github.susom.database.SqlInsert
 
argDate(Date) - Method in class com.github.susom.database.SqlInsertImpl
 
argDate(String, Date) - Method in class com.github.susom.database.SqlInsertImpl
 
argDate(Date) - Method in interface com.github.susom.database.SqlSelect
 
argDate(String, Date) - Method in interface com.github.susom.database.SqlSelect
 
argDate(Date) - Method in class com.github.susom.database.SqlSelectImpl
 
argDate(String, Date) - Method in class com.github.susom.database.SqlSelectImpl
 
argDate(Date) - Method in interface com.github.susom.database.SqlUpdate
 
argDate(String, Date) - Method in interface com.github.susom.database.SqlUpdate
 
argDate(Date) - Method in class com.github.susom.database.SqlUpdateImpl
 
argDate(String, Date) - Method in class com.github.susom.database.SqlUpdateImpl
 
argDateNowPerApp() - Method in class com.github.susom.database.Sql
 
argDateNowPerApp(String) - Method in class com.github.susom.database.Sql
 
argDateNowPerApp() - Method in class com.github.susom.database.SqlArgs
 
argDateNowPerApp(String) - Method in class com.github.susom.database.SqlArgs
 
argDateNowPerApp() - Method in interface com.github.susom.database.SqlInsert
 
argDateNowPerApp(String) - Method in interface com.github.susom.database.SqlInsert
 
argDateNowPerApp() - Method in class com.github.susom.database.SqlInsertImpl
 
argDateNowPerApp(String) - Method in class com.github.susom.database.SqlInsertImpl
 
argDateNowPerApp() - Method in interface com.github.susom.database.SqlSelect
 
argDateNowPerApp(String) - Method in interface com.github.susom.database.SqlSelect
 
argDateNowPerApp() - Method in class com.github.susom.database.SqlSelectImpl
 
argDateNowPerApp(String) - Method in class com.github.susom.database.SqlSelectImpl
 
argDateNowPerApp() - Method in interface com.github.susom.database.SqlUpdate
 
argDateNowPerApp(String) - Method in interface com.github.susom.database.SqlUpdate
 
argDateNowPerApp() - Method in class com.github.susom.database.SqlUpdateImpl
 
argDateNowPerApp(String) - Method in class com.github.susom.database.SqlUpdateImpl
 
argDateNowPerDb() - Method in class com.github.susom.database.Sql
 
argDateNowPerDb(String) - Method in class com.github.susom.database.Sql
 
argDateNowPerDb() - Method in class com.github.susom.database.SqlArgs
 
argDateNowPerDb(String) - Method in class com.github.susom.database.SqlArgs
 
argDateNowPerDb() - Method in interface com.github.susom.database.SqlInsert
 
argDateNowPerDb(String) - Method in interface com.github.susom.database.SqlInsert
 
argDateNowPerDb() - Method in class com.github.susom.database.SqlInsertImpl
 
argDateNowPerDb(String) - Method in class com.github.susom.database.SqlInsertImpl
 
argDateNowPerDb() - Method in interface com.github.susom.database.SqlSelect
 
argDateNowPerDb(String) - Method in interface com.github.susom.database.SqlSelect
 
argDateNowPerDb() - Method in class com.github.susom.database.SqlSelectImpl
 
argDateNowPerDb(String) - Method in class com.github.susom.database.SqlSelectImpl
 
argDateNowPerDb() - Method in interface com.github.susom.database.SqlUpdate
 
argDateNowPerDb(String) - Method in interface com.github.susom.database.SqlUpdate
 
argDateNowPerDb() - Method in class com.github.susom.database.SqlUpdateImpl
 
argDateNowPerDb(String) - Method in class com.github.susom.database.SqlUpdateImpl
 
argDouble(Double) - Method in class com.github.susom.database.Sql
 
argDouble(String, Double) - Method in class com.github.susom.database.Sql
 
argDouble(Double) - Method in class com.github.susom.database.SqlArgs
 
argDouble(String, Double) - Method in class com.github.susom.database.SqlArgs
 
argDouble(Double) - Method in interface com.github.susom.database.SqlInsert
 
argDouble(String, Double) - Method in interface com.github.susom.database.SqlInsert
 
argDouble(Double) - Method in class com.github.susom.database.SqlInsertImpl
 
argDouble(String, Double) - Method in class com.github.susom.database.SqlInsertImpl
 
argDouble(Double) - Method in interface com.github.susom.database.SqlSelect
 
argDouble(String, Double) - Method in interface com.github.susom.database.SqlSelect
 
argDouble(Double) - Method in class com.github.susom.database.SqlSelectImpl
 
argDouble(String, Double) - Method in class com.github.susom.database.SqlSelectImpl
 
argDouble(Double) - Method in interface com.github.susom.database.SqlUpdate
 
argDouble(String, Double) - Method in interface com.github.susom.database.SqlUpdate
 
argDouble(Double) - Method in class com.github.susom.database.SqlUpdateImpl
 
argDouble(String, Double) - Method in class com.github.susom.database.SqlUpdateImpl
 
argFloat(Float) - Method in class com.github.susom.database.Sql
 
argFloat(String, Float) - Method in class com.github.susom.database.Sql
 
argFloat(Float) - Method in class com.github.susom.database.SqlArgs
 
argFloat(String, Float) - Method in class com.github.susom.database.SqlArgs
 
argFloat(Float) - Method in interface com.github.susom.database.SqlInsert
 
argFloat(String, Float) - Method in interface com.github.susom.database.SqlInsert
 
argFloat(Float) - Method in class com.github.susom.database.SqlInsertImpl
 
argFloat(String, Float) - Method in class com.github.susom.database.SqlInsertImpl
 
argFloat(Float) - Method in interface com.github.susom.database.SqlSelect
 
argFloat(String, Float) - Method in interface com.github.susom.database.SqlSelect
 
argFloat(Float) - Method in class com.github.susom.database.SqlSelectImpl
 
argFloat(String, Float) - Method in class com.github.susom.database.SqlSelectImpl
 
argFloat(Float) - Method in interface com.github.susom.database.SqlUpdate
 
argFloat(String, Float) - Method in interface com.github.susom.database.SqlUpdate
 
argFloat(Float) - Method in class com.github.susom.database.SqlUpdateImpl
 
argFloat(String, Float) - Method in class com.github.susom.database.SqlUpdateImpl
 
argInteger(Integer) - Method in class com.github.susom.database.Sql
 
argInteger(String, Integer) - Method in class com.github.susom.database.Sql
 
argInteger(Integer) - Method in class com.github.susom.database.SqlArgs
 
argInteger(String, Integer) - Method in class com.github.susom.database.SqlArgs
 
argInteger(Integer) - Method in interface com.github.susom.database.SqlInsert
 
argInteger(String, Integer) - Method in interface com.github.susom.database.SqlInsert
 
argInteger(Integer) - Method in class com.github.susom.database.SqlInsertImpl
 
argInteger(String, Integer) - Method in class com.github.susom.database.SqlInsertImpl
 
argInteger(Integer) - Method in interface com.github.susom.database.SqlSelect
 
argInteger(String, Integer) - Method in interface com.github.susom.database.SqlSelect
 
argInteger(Integer) - Method in class com.github.susom.database.SqlSelectImpl
 
argInteger(String, Integer) - Method in class com.github.susom.database.SqlSelectImpl
 
argInteger(Integer) - Method in interface com.github.susom.database.SqlUpdate
 
argInteger(String, Integer) - Method in interface com.github.susom.database.SqlUpdate
 
argInteger(Integer) - Method in class com.github.susom.database.SqlUpdateImpl
 
argInteger(String, Integer) - Method in class com.github.susom.database.SqlUpdateImpl
 
argLocalDate(LocalDate) - Method in class com.github.susom.database.SqlArgs
 
argLocalDate(String, LocalDate) - Method in class com.github.susom.database.SqlArgs
 
argLocalDate(LocalDate) - Method in interface com.github.susom.database.SqlInsert
 
argLocalDate(String, LocalDate) - Method in interface com.github.susom.database.SqlInsert
 
argLocalDate(String, LocalDate) - Method in class com.github.susom.database.SqlInsertImpl
 
argLocalDate(LocalDate) - Method in class com.github.susom.database.SqlInsertImpl
 
argLocalDate(LocalDate) - Method in interface com.github.susom.database.SqlSelect
 
argLocalDate(String, LocalDate) - Method in interface com.github.susom.database.SqlSelect
 
argLocalDate(LocalDate) - Method in class com.github.susom.database.SqlSelectImpl
 
argLocalDate(String, LocalDate) - Method in class com.github.susom.database.SqlSelectImpl
 
argLocalDate(LocalDate) - Method in interface com.github.susom.database.SqlUpdate
 
argLocalDate(String, LocalDate) - Method in interface com.github.susom.database.SqlUpdate
 
argLocalDate(LocalDate) - Method in class com.github.susom.database.SqlUpdateImpl
 
argLocalDate(String, LocalDate) - Method in class com.github.susom.database.SqlUpdateImpl
 
argLong(Long) - Method in class com.github.susom.database.Sql
 
argLong(String, Long) - Method in class com.github.susom.database.Sql
 
argLong(Long) - Method in class com.github.susom.database.SqlArgs
 
argLong(String, Long) - Method in class com.github.susom.database.SqlArgs
 
argLong(Long) - Method in interface com.github.susom.database.SqlInsert
 
argLong(String, Long) - Method in interface com.github.susom.database.SqlInsert
 
argLong(Long) - Method in class com.github.susom.database.SqlInsertImpl
 
argLong(String, Long) - Method in class com.github.susom.database.SqlInsertImpl
 
argLong(Long) - Method in interface com.github.susom.database.SqlSelect
 
argLong(String, Long) - Method in interface com.github.susom.database.SqlSelect
 
argLong(Long) - Method in class com.github.susom.database.SqlSelectImpl
 
argLong(String, Long) - Method in class com.github.susom.database.SqlSelectImpl
 
argLong(Long) - Method in interface com.github.susom.database.SqlUpdate
 
argLong(String, Long) - Method in interface com.github.susom.database.SqlUpdate
 
argLong(Long) - Method in class com.github.susom.database.SqlUpdateImpl
 
argLong(String, Long) - Method in class com.github.susom.database.SqlUpdateImpl
 
argPkLong(Long) - Method in interface com.github.susom.database.SqlInsert
 
argPkLong(String, Long) - Method in interface com.github.susom.database.SqlInsert
 
argPkLong(String, Long) - Method in class com.github.susom.database.SqlInsertImpl
 
argPkLong(Long) - Method in class com.github.susom.database.SqlInsertImpl
 
argPkSeq(String) - Method in interface com.github.susom.database.SqlInsert
 
argPkSeq(String, String) - Method in interface com.github.susom.database.SqlInsert
Use this method to populate the primary key value (assumed to be type Long) from a sequence in the database.
argPkSeq(String) - Method in class com.github.susom.database.SqlInsertImpl
 
argPkSeq(String, String) - Method in class com.github.susom.database.SqlInsertImpl
 
argString(String) - Method in class com.github.susom.database.Sql
 
argString(String, String) - Method in class com.github.susom.database.Sql
 
argString(String) - Method in class com.github.susom.database.SqlArgs
 
argString(String, String) - Method in class com.github.susom.database.SqlArgs
 
argString(String) - Method in interface com.github.susom.database.SqlInsert
 
argString(String, String) - Method in interface com.github.susom.database.SqlInsert
 
argString(String) - Method in class com.github.susom.database.SqlInsertImpl
 
argString(String, String) - Method in class com.github.susom.database.SqlInsertImpl
 
argString(String) - Method in interface com.github.susom.database.SqlSelect
 
argString(String, String) - Method in interface com.github.susom.database.SqlSelect
 
argString(String) - Method in class com.github.susom.database.SqlSelectImpl
 
argString(String, String) - Method in class com.github.susom.database.SqlSelectImpl
 
argString(String) - Method in interface com.github.susom.database.SqlUpdate
 
argString(String, String) - Method in interface com.github.susom.database.SqlUpdate
 
argString(String) - Method in class com.github.susom.database.SqlUpdateImpl
 
argString(String, String) - Method in class com.github.susom.database.SqlUpdateImpl
 
asBigDecimal(int, int) - Method in class com.github.susom.database.Schema.Table.Column
 
asBlob() - Method in class com.github.susom.database.Schema.Table.Column
 
asBoolean() - Method in class com.github.susom.database.Schema.Table.Column
Create a boolean column, usually char(1) to hold values 'Y' or 'N'.
asBoolean(String) - Method in class com.github.susom.database.Schema.Table.Column
Create a boolean column, usually char(1) to hold values 'Y' or 'N'.
asClob() - Method in class com.github.susom.database.Schema.Table.Column
 
asDate() - Method in class com.github.susom.database.Schema.Table.Column
 
asDouble() - Method in class com.github.susom.database.Schema.Table.Column
 
asFloat() - Method in class com.github.susom.database.Schema.Table.Column
 
asInteger() - Method in class com.github.susom.database.Schema.Table.Column
 
asLocalDate() - Method in class com.github.susom.database.Schema.Table.Column
 
asLong() - Method in class com.github.susom.database.Schema.Table.Column
 
assertTimeSynchronized(long, long) - Method in interface com.github.susom.database.Database
Check the JVM time (and timezone) against the database and log a warning or throw an error if they are too far apart.
assertTimeSynchronized() - Method in interface com.github.susom.database.Database
Convenience method, same as Database.assertTimeSynchronized(long, long) with millisToWarn=10000 and millisToError=30000.
assertTimeSynchronized(long, long) - Method in class com.github.susom.database.DatabaseImpl
 
assertTimeSynchronized() - Method in class com.github.susom.database.DatabaseImpl
 
asString(int) - Method in class com.github.susom.database.Schema.Table.Column
 
asStringFixed(int) - Method in class com.github.susom.database.Schema.Table.Column
 

B

batch() - Method in class com.github.susom.database.Sql
 
batch() - Method in interface com.github.susom.database.SqlInsert
Call this between setting rows of parameters for a SQL statement.
batch() - Method in class com.github.susom.database.SqlInsertImpl
 
Builder(Row) - Constructor for class com.github.susom.database.SqlArgs.Builder
 

C

cache(int) - Method in class com.github.susom.database.Schema.Sequence
 
calendarForTimestamps() - Method in interface com.github.susom.database.Options
This calendar will be used for conversions when storing and retrieving timestamps from the database.
calendarForTimestamps() - Method in class com.github.susom.database.OptionsDefault
 
calendarForTimestamps() - Method in class com.github.susom.database.OptionsOverride
 
Check(String, String) - Constructor for class com.github.susom.database.Schema.Table.Check
 
check(String, String) - Method in class com.github.susom.database.Schema.Table.Column
 
checkpoint(String, Object...) - Method in class com.github.susom.database.Metric
Set a mark for timing.
close() - Method in interface com.github.susom.database.DatabaseProvider.Builder
 
close() - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
 
closeQuietly(ResultSet, Logger) - Method in class com.github.susom.database.StatementAdaptor
 
closeQuietly(Statement, Logger) - Method in class com.github.susom.database.StatementAdaptor
 
Column(String) - Constructor for class com.github.susom.database.Schema.Table.Column
 
com.github.susom.database - package com.github.susom.database
 
commitAndClose() - Method in class com.github.susom.database.DatabaseProvider
 
commitAndClose() - Method in class com.github.susom.database.DatabaseProviderVertx
 
commitNow() - Method in interface com.github.susom.database.Database
Cause the underlying connection to commit its transaction immediately.
commitNow() - Method in class com.github.susom.database.DatabaseImpl
 
Config - Interface in com.github.susom.database
Entry point for getting configuration parameters.
config(Config) - Method in interface com.github.susom.database.ConfigFrom
 
config(Supplier<Config>) - Method in interface com.github.susom.database.ConfigFrom
 
config(Config) - Method in class com.github.susom.database.ConfigFromImpl
 
config(Supplier<Config>) - Method in class com.github.susom.database.ConfigFromImpl
 
ConfigFrom - Interface in com.github.susom.database
Pull configuration properties from various sources and filter/manipulate them.
ConfigFromImpl - Class in com.github.susom.database
Access configuration properties from a variety of standard sources, and provide some basic filtering and mapping of property keys.
ConfigFromImpl() - Constructor for class com.github.susom.database.ConfigFromImpl
 
ConfigFromImpl(Config) - Constructor for class com.github.susom.database.ConfigFromImpl
 
ConfigImpl - Class in com.github.susom.database
This class handles all of the type conversions, default values, etc.
ConfigImpl(Function<String, String>, String) - Constructor for class com.github.susom.database.ConfigImpl
 
ConfigInvalidException - Exception in com.github.susom.database
Indicates that a configuration value is present but not in a usable format.
ConfigInvalidException(String) - Constructor for exception com.github.susom.database.ConfigInvalidException
 
ConfigInvalidException(Throwable) - Constructor for exception com.github.susom.database.ConfigInvalidException
 
ConfigInvalidException(String, Throwable) - Constructor for exception com.github.susom.database.ConfigInvalidException
 
ConfigMissingException - Exception in com.github.susom.database
Indicates that a configuration value is required but was not present.
ConfigMissingException(String) - Constructor for exception com.github.susom.database.ConfigMissingException
 
ConfigMissingException(Throwable) - Constructor for exception com.github.susom.database.ConfigMissingException
 
ConfigMissingException(String, Throwable) - Constructor for exception com.github.susom.database.ConfigMissingException
 
ConstraintViolationException - Exception in com.github.susom.database
This exception will be thrown when a condition arises that violates a stated invariant regarding the database.
ConstraintViolationException(String) - Constructor for exception com.github.susom.database.ConstraintViolationException
 
ConstraintViolationException(Throwable) - Constructor for exception com.github.susom.database.ConstraintViolationException
 
ConstraintViolationException(String, Throwable) - Constructor for exception com.github.susom.database.ConstraintViolationException
 
create() - Method in interface com.github.susom.database.DatabaseProvider.Builder
WARNING: You should try to avoid using this method.
create() - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
WARNING: You should try to avoid using this method.
createPool(Config) - Static method in class com.github.susom.database.DatabaseProvider
 
currentDate() - Method in interface com.github.susom.database.Options
The value returned by this method will be used for argDateNowPerApp() calls.
currentDate() - Method in class com.github.susom.database.OptionsDefault
 
currentDate() - Method in class com.github.susom.database.OptionsOverride
 
custom(Function<String, String>) - Method in interface com.github.susom.database.ConfigFrom
 
custom(Function<String, String>) - Method in class com.github.susom.database.ConfigFromImpl
 
customTableClause(Flavor, String) - Method in class com.github.susom.database.Schema.Table
 
cycle() - Method in class com.github.susom.database.Schema.Sequence
 

D

Database - Interface in com.github.susom.database
Primary class for accessing a relational (SQL) database.
DatabaseException - Exception in com.github.susom.database
Indicates something went wrong accessing the database.
DatabaseException(String) - Constructor for exception com.github.susom.database.DatabaseException
 
DatabaseException(Throwable) - Constructor for exception com.github.susom.database.DatabaseException
 
DatabaseException(String, Throwable) - Constructor for exception com.github.susom.database.DatabaseException
 
DatabaseImpl - Class in com.github.susom.database
Primary class for accessing a relational (SQL) database.
DatabaseImpl(Connection, Options) - Constructor for class com.github.susom.database.DatabaseImpl
 
DatabaseImpl(DatabaseMock, Flavor) - Constructor for class com.github.susom.database.DatabaseImpl
 
DatabaseImpl(DatabaseMock, Options) - Constructor for class com.github.susom.database.DatabaseImpl
 
DatabaseMock - Interface in com.github.susom.database
Convenience class to intercept calls to Connection and return stubbed results for testing purposes.
DatabaseProvider - Class in com.github.susom.database
This is a lazy provider for Database instances.
DatabaseProvider(Supplier<Connection>, Options) - Constructor for class com.github.susom.database.DatabaseProvider
 
DatabaseProvider.Builder - Interface in com.github.susom.database
This builder is immutable, so setting various options does not affect the previous instance.
DatabaseProvider.Pool - Class in com.github.susom.database
 
DatabaseProviderVertx - Class in com.github.susom.database
This is a lazy provider for Database instances.
DatabaseProviderVertx(WorkerExecutor, Supplier<Connection>, Options) - Constructor for class com.github.susom.database.DatabaseProviderVertx
 
DatabaseProviderVertx.Builder - Interface in com.github.susom.database
This builder is immutable, so setting various options does not affect the previous instance.
dataSource - Variable in class com.github.susom.database.DatabaseProvider.Pool
 
dateAsSqlFunction(Date, Calendar) - Method in enum com.github.susom.database.Flavor
Return a SQL function representing the specified date.
DbCode - Interface in com.github.susom.database
A block of runnable code using a transacted Database.
DbCodeTx - Interface in com.github.susom.database
A block of runnable code using a transacted Database.
DbCodeTyped<T> - Interface in com.github.susom.database
A block of runnable code using a transacted Database.
DbCodeTypedTx<T> - Interface in com.github.susom.database
A block of runnable code using a transacted Database.
dbTimeMillis() - Method in enum com.github.susom.database.Flavor
 
ddl(String) - Method in interface com.github.susom.database.Database
Create a DDL (schema modifying) statement for further manipulation and execution.
ddl(String) - Method in class com.github.susom.database.DatabaseImpl
 
Ddl - Interface in com.github.susom.database
Interface for executing a chunk of DDL within the database.
DdlImpl - Class in com.github.susom.database
This is the key class for configuring (query parameters) and executing a database query.
DdlImpl(Connection, String, Options) - Constructor for class com.github.susom.database.DdlImpl
 
DebugSql - Class in com.github.susom.database
Convenience class to substitute real values into a database query for debugging, logging, etc.
DebugSql() - Constructor for class com.github.susom.database.DebugSql
 
defaultPropertyFiles() - Method in interface com.github.susom.database.ConfigFrom
Adds a set of properties files to read from, which can be overridden by a system property "properties".
defaultPropertyFiles(String, String...) - Method in interface com.github.susom.database.ConfigFrom
Adds a set of properties files to read from, which can be overridden by a specified system property.
defaultPropertyFiles(String, CharsetDecoder, String...) - Method in interface com.github.susom.database.ConfigFrom
Adds a set of properties files to read from, which can be overridden by a specified system property.
defaultPropertyFiles() - Method in class com.github.susom.database.ConfigFromImpl
 
defaultPropertyFiles(String, String...) - Method in class com.github.susom.database.ConfigFromImpl
 
defaultPropertyFiles(String, CharsetDecoder, String...) - Method in class com.github.susom.database.ConfigFromImpl
 
deleteCharAt(int) - Method in class com.github.susom.database.Sql
 
derby(String) - Method in class com.github.susom.database.When
 
done(String, Object...) - Method in class com.github.susom.database.Metric
Set a final mark for timing and stop the timer.
done() - Method in class com.github.susom.database.Metric
Indicate we are done (stop the timer).
driverForJdbcUrl(String) - Static method in enum com.github.susom.database.Flavor
 
dropSequenceQuietly(String) - Method in interface com.github.susom.database.Database
Convenience method to deal with mutually incompatible syntax for this.
dropSequenceQuietly(String) - Method in class com.github.susom.database.DatabaseImpl
 
dropTableQuietly(String) - Method in interface com.github.susom.database.Database
Convenience method to deal with dropping tables that may or may not exist.
dropTableQuietly(String) - Method in class com.github.susom.database.DatabaseImpl
 

E

elapsedMillis() - Method in class com.github.susom.database.Metric
Find out how many milliseconds have elapsed since this timer was started.
elapsedNanos() - Method in class com.github.susom.database.Metric
Find out how many nanoseconds have elapsed since this timer was started.
env() - Method in interface com.github.susom.database.ConfigFrom
 
env() - Method in class com.github.susom.database.ConfigFromImpl
 
equals(Object) - Method in class com.github.susom.database.SqlArgs
 
exceptionMessage(String, Object[], String, Options) - Static method in class com.github.susom.database.DebugSql
 
excludeKeys(String...) - Method in interface com.github.susom.database.ConfigFrom
 
excludeKeys(String...) - Method in class com.github.susom.database.ConfigFromImpl
 
excludePrefix(String...) - Method in interface com.github.susom.database.ConfigFrom
 
excludePrefix(String...) - Method in class com.github.susom.database.ConfigFromImpl
 
excludeRegex(String) - Method in interface com.github.susom.database.ConfigFrom
 
excludeRegex(String) - Method in class com.github.susom.database.ConfigFromImpl
 
execute() - Method in interface com.github.susom.database.Ddl
Execute the DDL statement.
execute() - Method in class com.github.susom.database.DdlImpl
 
execute(Supplier<Database>) - Method in class com.github.susom.database.Schema
 
executeBlocking(Vertx, Handler<Future<T>>, Handler<AsyncResult<T>>) - Static method in class com.github.susom.database.VertxUtil
Equivalent to Vertx.executeBlocking(Handler, Handler), but preserves the MDC correctly.
executeBlocking(Vertx, Handler<Future<T>>, boolean, Handler<AsyncResult<T>>) - Static method in class com.github.susom.database.VertxUtil
Equivalent to Vertx.executeBlocking(Handler, boolean, Handler), but preserves the MDC correctly.
executeBlocking(WorkerExecutor, Handler<Future<T>>, Handler<AsyncResult<T>>) - Static method in class com.github.susom.database.VertxUtil
Equivalent to Vertx.executeBlocking(Handler, Handler), but preserves the MDC correctly.
executeBlocking(WorkerExecutor, Handler<Future<T>>, boolean, Handler<AsyncResult<T>>) - Static method in class com.github.susom.database.VertxUtil
Equivalent to Vertx.executeBlocking(Handler, boolean, Handler), but preserves the MDC correctly.
executeQuietly() - Method in interface com.github.susom.database.Ddl
This just does an execute() call and silently discards any DatabaseException that might occur.
executeQuietly() - Method in class com.github.susom.database.DdlImpl
 

F

fakeBuilder() - Method in class com.github.susom.database.DatabaseProvider
 
fakeBuilder() - Method in class com.github.susom.database.DatabaseProviderVertx
 
fetchSize(int) - Method in interface com.github.susom.database.SqlSelect
 
fetchSize(int) - Method in class com.github.susom.database.SqlSelectImpl
 
firstOf() - Static method in interface com.github.susom.database.ConfigFrom
Convenience method for fluent syntax.
flavor() - Method in interface com.github.susom.database.Database
Access information about what kind of database we are dealing with.
flavor() - Method in class com.github.susom.database.DatabaseImpl
 
flavor - Variable in class com.github.susom.database.DatabaseProvider.Pool
 
Flavor - Enum in com.github.susom.database
Enumeration of supported databases with various compatibility settings.
flavor() - Method in interface com.github.susom.database.Options
Access compatibility information for the underlying database.
flavor() - Method in class com.github.susom.database.OptionsDefault
 
flavor() - Method in class com.github.susom.database.OptionsOverride
 
foreignKey(String) - Method in class com.github.susom.database.Schema.Table.Column
 
ForeignKey(String, String[]) - Constructor for class com.github.susom.database.Schema.Table.ForeignKey
 
foreignTable - Variable in class com.github.susom.database.Schema.Table.ForeignKey
 
from() - Static method in interface com.github.susom.database.Config
Convenience method for fluent syntax.
fromAny() - Method in enum com.github.susom.database.Flavor
Indicate what should follow a constant select statement.
fromDriverManager(String) - Static method in class com.github.susom.database.DatabaseProvider
Builder method to create and initialize an instance of this class using the JDBC standard DriverManager method.
fromDriverManager(String, Flavor) - Static method in class com.github.susom.database.DatabaseProvider
Builder method to create and initialize an instance of this class using the JDBC standard DriverManager method.
fromDriverManager(Config) - Static method in class com.github.susom.database.DatabaseProvider
 
fromDriverManager(String, Properties) - Static method in class com.github.susom.database.DatabaseProvider
Builder method to create and initialize an instance of this class using the JDBC standard DriverManager method.
fromDriverManager(String, Flavor, Properties) - Static method in class com.github.susom.database.DatabaseProvider
Builder method to create and initialize an instance of this class using the JDBC standard DriverManager method.
fromDriverManager(String, String, String) - Static method in class com.github.susom.database.DatabaseProvider
Builder method to create and initialize an instance of this class using the JDBC standard DriverManager method.
fromDriverManager(String, Flavor, String, String) - Static method in class com.github.susom.database.DatabaseProvider
Builder method to create and initialize an instance of this class using the JDBC standard DriverManager method.
fromJdbcUrl(String) - Static method in enum com.github.susom.database.Flavor
 
fromJndi(Context, String, Flavor) - Static method in class com.github.susom.database.DatabaseProvider
Builder method to create and initialize an instance of this class using a JNDI resource.
fromMetadata(Row) - Static method in class com.github.susom.database.SqlArgs
 
fromPool(DatabaseProvider.Pool) - Static method in class com.github.susom.database.DatabaseProvider
Use an externally configured DataSource, Flavor, and optionally a shutdown hook.
fromPool(Vertx, DatabaseProvider.Pool) - Static method in class com.github.susom.database.DatabaseProviderVertx
Use an externally configured DataSource, Flavor, and optionally a shutdown hook.
fromProperties(Properties) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five properties read from the provided properties:
fromProperties(Properties, String) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five properties read from the provided properties:
fromPropertyFile(String) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five properties read from a file:
fromPropertyFile(String, CharsetDecoder) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five properties read from a file:
fromPropertyFile(String, String) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five properties read from a file:
fromPropertyFile(String, String, CharsetDecoder) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five properties read from a file:
fromPropertyFileOrSystemProperties(String) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five properties read from the specified properties file, or from the system properties (system properties will take precedence over the file):
fromPropertyFileOrSystemProperties(String, CharsetDecoder) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five properties read from the specified properties file, or from the system properties (system properties will take precedence over the file):
fromPropertyFileOrSystemProperties(String, String) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five properties read from the specified properties file, or from the system properties (system properties will take precedence over the file):
fromPropertyFileOrSystemProperties(String, String, CharsetDecoder) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five properties read from the specified properties file, or from the system properties (system properties will take precedence over the file):
fromSystemProperties() - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five system properties:
fromSystemProperties(String) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from up to five system properties:

G

generateErrorCode() - Method in interface com.github.susom.database.Options
In cases where exceptions are thrown, use this method to provide a common code that will be included in the exception message and the log message so they can be searched and correlated later.
generateErrorCode() - Method in class com.github.susom.database.OptionsDefault
 
generateErrorCode() - Method in class com.github.susom.database.OptionsOverride
 
get() - Method in interface com.github.susom.database.Config
 
get() - Method in interface com.github.susom.database.ConfigFrom
 
get() - Method in class com.github.susom.database.ConfigFromImpl
 
get() - Method in class com.github.susom.database.DatabaseImpl
 
get() - Method in class com.github.susom.database.DatabaseProvider
 
get() - Method in class com.github.susom.database.DatabaseProviderVertx
 
getArgs() - Method in class com.github.susom.database.MixedParameterSql
 
getBigDecimal(String) - Method in interface com.github.susom.database.Config
 
getBigDecimal(String, BigDecimal) - Method in interface com.github.susom.database.Config
 
getBigDecimal(String) - Method in class com.github.susom.database.ConfigImpl
 
getBigDecimal(String, BigDecimal) - Method in class com.github.susom.database.ConfigImpl
 
getBigDecimalOrNull() - Method in interface com.github.susom.database.Row
Note this method attempts to correct for "artifical" scale due to the database representation.
getBigDecimalOrNull(int) - Method in interface com.github.susom.database.Row
 
getBigDecimalOrNull(String) - Method in interface com.github.susom.database.Row
 
getBigDecimalOrThrow(String) - Method in interface com.github.susom.database.Config
 
getBigDecimalOrThrow(String) - Method in class com.github.susom.database.ConfigImpl
 
getBigDecimalOrZero() - Method in interface com.github.susom.database.Row
 
getBigDecimalOrZero(int) - Method in interface com.github.susom.database.Row
 
getBigDecimalOrZero(String) - Method in interface com.github.susom.database.Row
 
getBlobBytesOrNull() - Method in interface com.github.susom.database.Row
 
getBlobBytesOrNull(int) - Method in interface com.github.susom.database.Row
 
getBlobBytesOrNull(String) - Method in interface com.github.susom.database.Row
 
getBlobBytesOrZeroLen() - Method in interface com.github.susom.database.Row
 
getBlobBytesOrZeroLen(int) - Method in interface com.github.susom.database.Row
 
getBlobBytesOrZeroLen(String) - Method in interface com.github.susom.database.Row
 
getBlobInputStreamOrEmpty() - Method in interface com.github.susom.database.Row
 
getBlobInputStreamOrEmpty(int) - Method in interface com.github.susom.database.Row
 
getBlobInputStreamOrEmpty(String) - Method in interface com.github.susom.database.Row
 
getBlobInputStreamOrNull() - Method in interface com.github.susom.database.Row
 
getBlobInputStreamOrNull(int) - Method in interface com.github.susom.database.Row
 
getBlobInputStreamOrNull(String) - Method in interface com.github.susom.database.Row
 
getBooleanOrFalse(String) - Method in interface com.github.susom.database.Config
Read a boolean value from the configuration.
getBooleanOrFalse(String) - Method in class com.github.susom.database.ConfigImpl
 
getBooleanOrFalse() - Method in interface com.github.susom.database.Row
Boolean values are represented as strings "Y" or "N" in the database, typically in a CHAR(1) column.
getBooleanOrFalse(int) - Method in interface com.github.susom.database.Row
Boolean values are represented as strings "Y" or "N" in the database, typically in a CHAR(1) column.
getBooleanOrFalse(String) - Method in interface com.github.susom.database.Row
Boolean values are represented as strings "Y" or "N" in the database, typically in a CHAR(1) column.
getBooleanOrNull() - Method in interface com.github.susom.database.Row
Boolean values are represented as strings "Y" or "N" in the database, typically in a CHAR(1) column.
getBooleanOrNull(int) - Method in interface com.github.susom.database.Row
Boolean values are represented as strings "Y" or "N" in the database, typically in a CHAR(1) column.
getBooleanOrNull(String) - Method in interface com.github.susom.database.Row
Boolean values are represented as strings "Y" or "N" in the database, typically in a CHAR(1) column.
getBooleanOrThrow(String) - Method in interface com.github.susom.database.Config
 
getBooleanOrThrow(String) - Method in class com.github.susom.database.ConfigImpl
 
getBooleanOrTrue(String) - Method in interface com.github.susom.database.Config
Read a boolean value from the configuration.
getBooleanOrTrue(String) - Method in class com.github.susom.database.ConfigImpl
 
getBooleanOrTrue() - Method in interface com.github.susom.database.Row
Boolean values are represented as strings "Y" or "N" in the database, typically in a CHAR(1) column.
getBooleanOrTrue(int) - Method in interface com.github.susom.database.Row
Boolean values are represented as strings "Y" or "N" in the database, typically in a CHAR(1) column.
getBooleanOrTrue(String) - Method in interface com.github.susom.database.Row
Boolean values are represented as strings "Y" or "N" in the database, typically in a CHAR(1) column.
getClobReaderOrEmpty() - Method in interface com.github.susom.database.Row
 
getClobReaderOrEmpty(int) - Method in interface com.github.susom.database.Row
 
getClobReaderOrEmpty(String) - Method in interface com.github.susom.database.Row
 
getClobReaderOrNull() - Method in interface com.github.susom.database.Row
 
getClobReaderOrNull(int) - Method in interface com.github.susom.database.Row
 
getClobReaderOrNull(String) - Method in interface com.github.susom.database.Row
 
getClobStringOrEmpty() - Method in interface com.github.susom.database.Row
 
getClobStringOrEmpty(int) - Method in interface com.github.susom.database.Row
 
getClobStringOrEmpty(String) - Method in interface com.github.susom.database.Row
 
getClobStringOrNull() - Method in interface com.github.susom.database.Row
 
getClobStringOrNull(int) - Method in interface com.github.susom.database.Row
 
getClobStringOrNull(String) - Method in interface com.github.susom.database.Row
 
getColumnLabels() - Method in interface com.github.susom.database.Row
Obtain the names of the columns in the database.
getDateOrNull() - Method in interface com.github.susom.database.Row
Return the millisecond precision Date, which should be represented as a TIMESTAMP in the database.
getDateOrNull(int) - Method in interface com.github.susom.database.Row
Return the millisecond precision Date, which should be represented as a TIMESTAMP in the database.
getDateOrNull(String) - Method in interface com.github.susom.database.Row
 
getDouble(String) - Method in interface com.github.susom.database.Config
 
getDouble(String, double) - Method in interface com.github.susom.database.Config
 
getDouble(String) - Method in class com.github.susom.database.ConfigImpl
 
getDouble(String, double) - Method in class com.github.susom.database.ConfigImpl
 
getDoubleOrNull() - Method in interface com.github.susom.database.Row
 
getDoubleOrNull(int) - Method in interface com.github.susom.database.Row
 
getDoubleOrNull(String) - Method in interface com.github.susom.database.Row
 
getDoubleOrThrow(String) - Method in interface com.github.susom.database.Config
 
getDoubleOrThrow(String) - Method in class com.github.susom.database.ConfigImpl
 
getDoubleOrZero() - Method in interface com.github.susom.database.Row
 
getDoubleOrZero(int) - Method in interface com.github.susom.database.Row
 
getDoubleOrZero(String) - Method in interface com.github.susom.database.Row
 
getFloat(String) - Method in interface com.github.susom.database.Config
 
getFloat(String, float) - Method in interface com.github.susom.database.Config
 
getFloat(String) - Method in class com.github.susom.database.ConfigImpl
 
getFloat(String, float) - Method in class com.github.susom.database.ConfigImpl
 
getFloatOrNull() - Method in interface com.github.susom.database.Row
 
getFloatOrNull(int) - Method in interface com.github.susom.database.Row
 
getFloatOrNull(String) - Method in interface com.github.susom.database.Row
 
getFloatOrThrow(String) - Method in interface com.github.susom.database.Config
 
getFloatOrThrow(String) - Method in class com.github.susom.database.ConfigImpl
 
getFloatOrZero() - Method in interface com.github.susom.database.Row
 
getFloatOrZero(int) - Method in interface com.github.susom.database.Row
 
getFloatOrZero(String) - Method in interface com.github.susom.database.Row
 
getInteger(String) - Method in interface com.github.susom.database.Config
 
getInteger(String, int) - Method in interface com.github.susom.database.Config
 
getInteger(String) - Method in class com.github.susom.database.ConfigImpl
 
getInteger(String, int) - Method in class com.github.susom.database.ConfigImpl
 
getIntegerOrNull() - Method in interface com.github.susom.database.Row
 
getIntegerOrNull(int) - Method in interface com.github.susom.database.Row
 
getIntegerOrNull(String) - Method in interface com.github.susom.database.Row
 
getIntegerOrThrow(String) - Method in interface com.github.susom.database.Config
 
getIntegerOrThrow(String) - Method in class com.github.susom.database.ConfigImpl
 
getIntegerOrZero() - Method in interface com.github.susom.database.Row
 
getIntegerOrZero(int) - Method in interface com.github.susom.database.Row
 
getIntegerOrZero(String) - Method in interface com.github.susom.database.Row
 
getLocalDateOrNull() - Method in interface com.github.susom.database.Row
Retrieve column as LocalDate, .i.e, date with no time.
getLocalDateOrNull(int) - Method in interface com.github.susom.database.Row
Get the Date field, with no timestamp
getLocalDateOrNull(String) - Method in interface com.github.susom.database.Row
Get the Date field, with no timestamp
getLong(String) - Method in interface com.github.susom.database.Config
 
getLong(String, long) - Method in interface com.github.susom.database.Config
 
getLong(String) - Method in class com.github.susom.database.ConfigImpl
 
getLong(String, long) - Method in class com.github.susom.database.ConfigImpl
 
getLongOrNull() - Method in interface com.github.susom.database.Row
 
getLongOrNull(int) - Method in interface com.github.susom.database.Row
 
getLongOrNull(String) - Method in interface com.github.susom.database.Row
 
getLongOrThrow(String) - Method in interface com.github.susom.database.Config
 
getLongOrThrow(String) - Method in class com.github.susom.database.ConfigImpl
 
getLongOrZero() - Method in interface com.github.susom.database.Row
 
getLongOrZero(int) - Method in interface com.github.susom.database.Row
 
getLongOrZero(String) - Method in interface com.github.susom.database.Row
 
getMessage() - Method in class com.github.susom.database.Metric
Construct and return a message based on the timing and checkpoints.
getMetadata() - Method in interface com.github.susom.database.Row
Get raw access to the underlying JDBC metadata.
getSqlToExecute() - Method in class com.github.susom.database.MixedParameterSql
 
getString(String) - Method in interface com.github.susom.database.Config
 
getString(String, String) - Method in interface com.github.susom.database.Config
 
getString(String) - Method in class com.github.susom.database.ConfigImpl
 
getString(String, String) - Method in class com.github.susom.database.ConfigImpl
 
getStringOrEmpty() - Method in interface com.github.susom.database.Row
 
getStringOrEmpty(int) - Method in interface com.github.susom.database.Row
 
getStringOrEmpty(String) - Method in interface com.github.susom.database.Row
 
getStringOrNull() - Method in interface com.github.susom.database.Row
 
getStringOrNull(int) - Method in interface com.github.susom.database.Row
 
getStringOrNull(String) - Method in interface com.github.susom.database.Row
 
getStringOrThrow(String) - Method in interface com.github.susom.database.Config
 
getStringOrThrow(String) - Method in class com.github.susom.database.ConfigImpl
 

H

hashCode() - Method in class com.github.susom.database.SqlArgs
 
hashCode() - Method in class com.github.susom.database.When
 

I

ignoreTransactionControl() - Method in interface com.github.susom.database.Options
Useful for testing code that explicitly controls transactions, and you don't really want it to commit/rollback.
ignoreTransactionControl() - Method in class com.github.susom.database.OptionsDefault
 
ignoreTransactionControl() - Method in class com.github.susom.database.OptionsOverride
 
includeKeys(String...) - Method in interface com.github.susom.database.ConfigFrom
 
includeKeys(String...) - Method in class com.github.susom.database.ConfigFromImpl
 
includePrefix(String...) - Method in interface com.github.susom.database.ConfigFrom
 
includePrefix(String...) - Method in class com.github.susom.database.ConfigFromImpl
 
includeRegex(String) - Method in interface com.github.susom.database.ConfigFrom
 
includeRegex(String) - Method in class com.github.susom.database.ConfigFromImpl
 
increment(int) - Method in class com.github.susom.database.Schema.Sequence
 
Index(String, String[]) - Constructor for class com.github.susom.database.Schema.Table.Index
 
indexOf(String) - Method in class com.github.susom.database.Sql
 
indexOf(String, int) - Method in class com.github.susom.database.Sql
 
insert(String, String) - Method in interface com.github.susom.database.DatabaseMock
 
insert(String, SqlArgs) - Static method in class com.github.susom.database.Sql
 
insert(String, List<SqlArgs>) - Static method in class com.github.susom.database.Sql
 
insert(int, String) - Method in class com.github.susom.database.Sql
 
insert(int, boolean) - Method in class com.github.susom.database.Sql
 
insert(int, int) - Method in class com.github.susom.database.Sql
 
insert(int, long) - Method in class com.github.susom.database.Sql
 
insert(int, double) - Method in class com.github.susom.database.Sql
 
insert(int, float) - Method in class com.github.susom.database.Sql
 
insert() - Method in interface com.github.susom.database.SqlInsert
Perform the insert into the database without any verification of how many rows were affected.
insert(int) - Method in interface com.github.susom.database.SqlInsert
Perform the insert into the database.
insert() - Method in class com.github.susom.database.SqlInsertImpl
 
insert(int) - Method in class com.github.susom.database.SqlInsertImpl
 
insertBatch() - Method in interface com.github.susom.database.SqlInsert
Insert multiple rows in one database call.
insertBatch() - Method in class com.github.susom.database.SqlInsertImpl
 
insertBatchUnchecked() - Method in interface com.github.susom.database.SqlInsert
Insert multiple rows in one database call.
insertBatchUnchecked() - Method in class com.github.susom.database.SqlInsertImpl
 
insertReturning(String, String) - Method in interface com.github.susom.database.DatabaseMock
 
insertReturning(String, String, RowsHandler<T>, String...) - Method in interface com.github.susom.database.SqlInsert
 
insertReturning(String, String, RowsHandler<T>, String...) - Method in class com.github.susom.database.SqlInsertImpl
 
insertReturningPk(String, String) - Method in interface com.github.susom.database.DatabaseMock
 
insertReturningPkSeq(String) - Method in interface com.github.susom.database.SqlInsert
Use this method in conjunction with argPkSeq() to optimize inserts where the primary key is being populated from a database sequence at insert time.
insertReturningPkSeq(String) - Method in class com.github.susom.database.SqlInsertImpl
 
isDetailedExceptions() - Method in interface com.github.susom.database.Options
If true, text of the SQL and possibly parameter values (depending on @{#isLogParameters()}) will be included in exception messages.
isDetailedExceptions() - Method in class com.github.susom.database.OptionsDefault
 
isDetailedExceptions() - Method in class com.github.susom.database.OptionsOverride
 
isLogParameters() - Method in interface com.github.susom.database.Options
If this is false, log messages will look something like:
isLogParameters() - Method in class com.github.susom.database.OptionsDefault
 
isLogParameters() - Method in class com.github.susom.database.OptionsOverride
 
isNormalizedUpperCase() - Method in enum com.github.susom.database.Flavor
 
isRollbackOnError() - Method in interface com.github.susom.database.Transaction
 
isRollbackOnError() - Method in class com.github.susom.database.TransactionImpl
 
isRollbackOnly() - Method in interface com.github.susom.database.Transaction
 
isRollbackOnly() - Method in class com.github.susom.database.TransactionImpl
 

L

lastIndexOf(String) - Method in class com.github.susom.database.Sql
 
lastIndexOf(String, int) - Method in class com.github.susom.database.Sql
 
listEnd(String) - Method in class com.github.susom.database.Sql
 
listSeparator(String) - Method in class com.github.susom.database.Sql
Appends the passed bit of sql only if a previous item has already been appended, and notes that the list is not empty.
listStart(String) - Method in class com.github.susom.database.Sql
Appends the bit of sql and notes that a list, or a sublist, has started.
localDateAsSqlFunction(Date) - Method in enum com.github.susom.database.Flavor
Return a SQL function representing the specified date without time.
logError(String, Logger, Metric, String, String, Object[], Options, Throwable) - Static method in class com.github.susom.database.DebugSql
 
logSuccess(String, Logger, Metric, String, Object[], Options) - Static method in class com.github.susom.database.DebugSql
 
logWarning(String, Logger, Metric, String, String, Object[], Options, Throwable) - Static method in class com.github.susom.database.DebugSql
 

M

makePositional() - Method in class com.github.susom.database.SqlArgs
 
max(long) - Method in class com.github.susom.database.Schema.Sequence
 
maxStringLengthParam() - Method in interface com.github.susom.database.Options
The maximum number of characters to print in debug SQL for a given String type insert/update/query parameter.
maxStringLengthParam() - Method in class com.github.susom.database.OptionsDefault
 
maxStringLengthParam() - Method in class com.github.susom.database.OptionsOverride
 
mdc(Handler<T>) - Static method in class com.github.susom.database.VertxUtil
Wrap a Handler in a way that will preserve the SLF4J MDC context.
mdcEventLoop(Handler<T>) - Static method in class com.github.susom.database.VertxUtil
Wrap a Handler in a way that will preserve the SLF4J MDC context.
Metric - Class in com.github.susom.database
This class provides explicit instrumentation functionality.
Metric(boolean) - Constructor for class com.github.susom.database.Metric
Create a metric tracking object and start the nanosecond timer.
min(long) - Method in class com.github.susom.database.Schema.Sequence
 
MixedParameterSql - Class in com.github.susom.database
Convenience class to allow use of (:mylabel) for SQL parameters in addition to positional (?) parameters.
MixedParameterSql(String, List<Object>, Map<String, Object>) - Constructor for class com.github.susom.database.MixedParameterSql
 
MixedParameterSql.RewriteArg - Class in com.github.susom.database
 

N

names() - Method in class com.github.susom.database.SqlArgs
 
next() - Method in interface com.github.susom.database.Rows
 
nextSequenceValue(String) - Method in interface com.github.susom.database.Database
Read the next value from a sequence.
nextSequenceValue(String) - Method in class com.github.susom.database.DatabaseImpl
 
normalizeTableName(String) - Method in interface com.github.susom.database.Database
Return the DB table name in the normalized form in which it is stored.
normalizeTableName(String) - Method in class com.github.susom.database.DatabaseImpl
 
notNull() - Method in class com.github.susom.database.Schema.Table.Column
 
nowPerApp() - Method in interface com.github.susom.database.Database
Get the value that would be used if you specify an argNowPerApp() parameter.
nowPerApp() - Method in class com.github.susom.database.DatabaseImpl
 
nullBytes(byte[]) - Method in class com.github.susom.database.StatementAdaptor
 
nullClobReader(Reader) - Method in class com.github.susom.database.StatementAdaptor
 
nullDate(Date) - Method in class com.github.susom.database.StatementAdaptor
 
nullInputStream(InputStream) - Method in class com.github.susom.database.StatementAdaptor
 
nullLocalDate(LocalDate) - Method in class com.github.susom.database.StatementAdaptor
 
nullNumeric(Number) - Method in class com.github.susom.database.StatementAdaptor
 
nullString(String) - Method in class com.github.susom.database.StatementAdaptor
 

O

onDeleteCascade() - Method in class com.github.susom.database.Schema.Table.ForeignKey
 
options() - Method in interface com.github.susom.database.Database
 
options() - Method in class com.github.susom.database.DatabaseImpl
 
Options - Interface in com.github.susom.database
Control various optional behavior for the database interactions.
OptionsDefault - Class in com.github.susom.database
Control various optional behavior for the database interactions.
OptionsDefault(Flavor) - Constructor for class com.github.susom.database.OptionsDefault
 
OptionsOverride - Class in com.github.susom.database
Base class for selectively overriding another Options object.
OptionsOverride(Options) - Constructor for class com.github.susom.database.OptionsOverride
Wrap another Options and defer to it for anything we choose not to override.
OptionsOverride() - Constructor for class com.github.susom.database.OptionsOverride
Defer to OptionsDefault for anything that is not specified, and use postgresql flavor.
OptionsOverride(Flavor) - Constructor for class com.github.susom.database.OptionsOverride
Defer to OptionsDefault for anything that is not specified, using the specified flavor.
oracle(String) - Method in class com.github.susom.database.When
 
order() - Method in class com.github.susom.database.Schema.Sequence
On databases that support it, indicate you want to strictly order the values returned from the sequence.
other(Function<String, String>) - Static method in interface com.github.susom.database.ConfigFrom
 
other(String) - Method in class com.github.susom.database.When
 

P

PARAM_SQL_SEPARATOR - Static variable in class com.github.susom.database.DebugSql
 
Pool(DataSource, int, Flavor, Closeable) - Constructor for class com.github.susom.database.DatabaseProvider.Pool
 
pooledBuilder(Config) - Static method in class com.github.susom.database.DatabaseProvider
Configure the database from the following properties read from the provided configuration:
pooledBuilder(Vertx, Config) - Static method in class com.github.susom.database.DatabaseProviderVertx
Configure the database from the following properties read from the provided configuration:
poolShutdown - Variable in class com.github.susom.database.DatabaseProvider.Pool
 
positionalCount() - Method in class com.github.susom.database.SqlArgs
 
postgres(String) - Method in class com.github.susom.database.When
 
primaryKey() - Method in class com.github.susom.database.Schema.Table.Column
 
PrimaryKey(String, String[]) - Constructor for class com.github.susom.database.Schema.Table.PrimaryKey
 
print(Flavor) - Method in class com.github.susom.database.Schema
 
printDebugOnlySqlString(String, Object[], Options) - Static method in class com.github.susom.database.DebugSql
 
printMessage(StringBuilder) - Method in class com.github.susom.database.Metric
Construct and print a message based on the timing and checkpoints.
printSql(StringBuilder, String, Object[], Options) - Static method in class com.github.susom.database.DebugSql
 
printSql(StringBuilder, String, Object[], boolean, boolean, Options) - Static method in class com.github.susom.database.DebugSql
 
process(Row) - Method in interface com.github.susom.database.RowHandler
 
process(Rows) - Method in interface com.github.susom.database.RowsHandler
 
properties(Properties) - Method in interface com.github.susom.database.ConfigFrom
 
properties(Properties) - Method in class com.github.susom.database.ConfigFromImpl
 
propertyFile(String...) - Method in interface com.github.susom.database.ConfigFrom
 
propertyFile(CharsetDecoder, String...) - Method in interface com.github.susom.database.ConfigFrom
 
propertyFile(File...) - Method in interface com.github.susom.database.ConfigFrom
 
propertyFile(CharsetDecoder, File...) - Method in interface com.github.susom.database.ConfigFrom
 
propertyFile(String...) - Method in class com.github.susom.database.ConfigFromImpl
 
propertyFile(CharsetDecoder, String...) - Method in class com.github.susom.database.ConfigFromImpl
 
propertyFile(File...) - Method in class com.github.susom.database.ConfigFromImpl
 
propertyFile(CharsetDecoder, File...) - Method in class com.github.susom.database.ConfigFromImpl
 

Q

query(String, String) - Method in interface com.github.susom.database.DatabaseMock
 
query(RowsHandler<T>) - Method in interface com.github.susom.database.SqlSelect
This is the most generic and low-level way to iterate the query results.
query(RowsHandler<T>) - Method in class com.github.susom.database.SqlSelectImpl
 
queryBigDecimalOrNull() - Method in interface com.github.susom.database.SqlSelect
 
queryBigDecimalOrNull() - Method in class com.github.susom.database.SqlSelectImpl
 
queryBigDecimalOrZero() - Method in interface com.github.susom.database.SqlSelect
 
queryBigDecimalOrZero() - Method in class com.github.susom.database.SqlSelectImpl
 
queryBigDecimals() - Method in interface com.github.susom.database.SqlSelect
 
queryBigDecimals() - Method in class com.github.susom.database.SqlSelectImpl
 
queryBooleanOrFalse() - Method in interface com.github.susom.database.SqlSelect
 
queryBooleanOrFalse() - Method in class com.github.susom.database.SqlSelectImpl
 
queryBooleanOrNull() - Method in interface com.github.susom.database.SqlSelect
 
queryBooleanOrNull() - Method in class com.github.susom.database.SqlSelectImpl
 
queryBooleanOrTrue() - Method in interface com.github.susom.database.SqlSelect
 
queryBooleanOrTrue() - Method in class com.github.susom.database.SqlSelectImpl
 
queryDateOrNull() - Method in interface com.github.susom.database.SqlSelect
 
queryDateOrNull() - Method in class com.github.susom.database.SqlSelectImpl
 
queryDates() - Method in interface com.github.susom.database.SqlSelect
 
queryDates() - Method in class com.github.susom.database.SqlSelectImpl
 
queryDoubleOrNull() - Method in interface com.github.susom.database.SqlSelect
 
queryDoubleOrNull() - Method in class com.github.susom.database.SqlSelectImpl
 
queryDoubleOrZero() - Method in interface com.github.susom.database.SqlSelect
 
queryDoubleOrZero() - Method in class com.github.susom.database.SqlSelectImpl
 
queryDoubles() - Method in interface com.github.susom.database.SqlSelect
 
queryDoubles() - Method in class com.github.susom.database.SqlSelectImpl
 
queryFirstOrNull(RowHandler<T>) - Method in interface com.github.susom.database.SqlSelect
Query zero or one row.
queryFirstOrNull(RowHandler<T>) - Method in class com.github.susom.database.SqlSelectImpl
 
queryFirstOrThrow(RowHandler<T>) - Method in interface com.github.susom.database.SqlSelect
Query zero or one row.
queryFirstOrThrow(RowHandler<T>) - Method in class com.github.susom.database.SqlSelectImpl
 
queryFloatOrNull() - Method in interface com.github.susom.database.SqlSelect
 
queryFloatOrNull() - Method in class com.github.susom.database.SqlSelectImpl
 
queryFloatOrZero() - Method in interface com.github.susom.database.SqlSelect
 
queryFloatOrZero() - Method in class com.github.susom.database.SqlSelectImpl
 
queryFloats() - Method in interface com.github.susom.database.SqlSelect
 
queryFloats() - Method in class com.github.susom.database.SqlSelectImpl
 
queryIntegerOrNull() - Method in interface com.github.susom.database.SqlSelect
 
queryIntegerOrNull() - Method in class com.github.susom.database.SqlSelectImpl
 
queryIntegerOrZero() - Method in interface com.github.susom.database.SqlSelect
 
queryIntegerOrZero() - Method in class com.github.susom.database.SqlSelectImpl
 
queryIntegers() - Method in interface com.github.susom.database.SqlSelect
 
queryIntegers() - Method in class com.github.susom.database.SqlSelectImpl
 
queryLocalDateOrNull() - Method in interface com.github.susom.database.SqlSelect
 
queryLocalDateOrNull() - Method in class com.github.susom.database.SqlSelectImpl
 
queryLocalDates() - Method in interface com.github.susom.database.SqlSelect
 
queryLocalDates() - Method in class com.github.susom.database.SqlSelectImpl
 
queryLongOrNull() - Method in interface com.github.susom.database.SqlSelect
 
queryLongOrNull() - Method in class com.github.susom.database.SqlSelectImpl
 
queryLongOrZero() - Method in interface com.github.susom.database.SqlSelect
 
queryLongOrZero() - Method in class com.github.susom.database.SqlSelectImpl
 
queryLongs() - Method in interface com.github.susom.database.SqlSelect
Shorthand for reading numbers from the first column of the result.
queryLongs() - Method in class com.github.susom.database.SqlSelectImpl
 
queryMany(RowHandler<T>) - Method in interface com.github.susom.database.SqlSelect
Query zero or more rows.
queryMany(RowHandler<T>) - Method in class com.github.susom.database.SqlSelectImpl
 
queryOneOrNull(RowHandler<T>) - Method in interface com.github.susom.database.SqlSelect
Query zero or one row.
queryOneOrNull(RowHandler<T>) - Method in class com.github.susom.database.SqlSelectImpl
 
queryOneOrThrow(RowHandler<T>) - Method in interface com.github.susom.database.SqlSelect
Query exactly one row.
queryOneOrThrow(RowHandler<T>) - Method in class com.github.susom.database.SqlSelectImpl
 
queryStringOrEmpty() - Method in interface com.github.susom.database.SqlSelect
 
queryStringOrEmpty() - Method in class com.github.susom.database.SqlSelectImpl
 
queryStringOrNull() - Method in interface com.github.susom.database.SqlSelect
 
queryStringOrNull() - Method in class com.github.susom.database.SqlSelectImpl
 
queryStrings() - Method in interface com.github.susom.database.SqlSelect
Shorthand for reading strings from the first column of the result.
queryStrings() - Method in class com.github.susom.database.SqlSelectImpl
 
QueryTimedOutException - Exception in com.github.susom.database
Thrown when a query is interrupted because a timeout was exceeded or it was explicitly cancelled.
QueryTimedOutException(String, Throwable) - Constructor for exception com.github.susom.database.QueryTimedOutException
 

R

read(Row) - Method in class com.github.susom.database.SqlArgs.Builder
 
readRow(Row) - Static method in class com.github.susom.database.SqlArgs
Convenience method for reading a single row.
references(String) - Method in class com.github.susom.database.Schema.Table.ForeignKey
 
removePrefix(String...) - Method in interface com.github.susom.database.ConfigFrom
 
removePrefix(String...) - Method in class com.github.susom.database.ConfigFromImpl
 
rename(String, String) - Method in interface com.github.susom.database.ConfigFrom
 
rename(String, String) - Method in class com.github.susom.database.ConfigFromImpl
 
replace(int, int, String) - Method in class com.github.susom.database.Sql
 
RewriteArg(String) - Constructor for class com.github.susom.database.MixedParameterSql.RewriteArg
 
rollbackAndClose() - Method in class com.github.susom.database.DatabaseProvider
 
rollbackAndClose() - Method in class com.github.susom.database.DatabaseProviderVertx
 
rollbackNow() - Method in interface com.github.susom.database.Database
Cause the underlying connection to roll back its transaction immediately.
rollbackNow() - Method in class com.github.susom.database.DatabaseImpl
 
Row - Interface in com.github.susom.database
Interface for reading results from a database query.
RowHandler<T> - Interface in com.github.susom.database
Type-safe callback to read query results.
Rows - Interface in com.github.susom.database
Interface for reading results from a database query.
RowsHandler<T> - Interface in com.github.susom.database
Type-safe callback to read query results.
RowStub - Class in com.github.susom.database
Convenience for specifying hard-coded values for the Rows object.
RowStub() - Constructor for class com.github.susom.database.RowStub
 
run(Supplier<Database>) - Method in interface com.github.susom.database.DbCode
Implement this method to provide a block of code that uses the provided database and is transacted.
run(Supplier<Database>, Transaction) - Method in interface com.github.susom.database.DbCodeTx
Implement this method to provide a block of code that uses the provided database and is transacted.
run(Supplier<Database>) - Method in interface com.github.susom.database.DbCodeTyped
Implement this method to provide a block of code that uses the provided database and is transacted.
run(Supplier<Database>, Transaction) - Method in interface com.github.susom.database.DbCodeTypedTx
Implement this method to provide a block of code that uses the provided database and is transacted.

S

Schema - Class in com.github.susom.database
Java representation of a database schema with the various things it can contain.
Schema() - Constructor for class com.github.susom.database.Schema
 
schema() - Method in class com.github.susom.database.Schema.Sequence
 
schema() - Method in class com.github.susom.database.Schema.Table.Column
 
schema() - Method in class com.github.susom.database.Schema.Table
 
Schema.ColumnType - Enum in com.github.susom.database
 
Schema.Sequence - Class in com.github.susom.database
 
Schema.Table - Class in com.github.susom.database
 
Schema.Table.Check - Class in com.github.susom.database
 
Schema.Table.Column - Class in com.github.susom.database
 
Schema.Table.ForeignKey - Class in com.github.susom.database
 
Schema.Table.Index - Class in com.github.susom.database
 
Schema.Table.PrimaryKey - Class in com.github.susom.database
 
Schema.Table.Unique - Class in com.github.susom.database
 
Sequence(String) - Constructor for class com.github.susom.database.Schema.Sequence
 
sequenceCacheClause(int) - Method in enum com.github.susom.database.Flavor
 
sequenceCycleClause(boolean) - Method in enum com.github.susom.database.Flavor
 
sequenceDrop(String) - Method in enum com.github.susom.database.Flavor
 
sequenceNextVal(String) - Method in enum com.github.susom.database.Flavor
 
sequenceOptions() - Method in enum com.github.susom.database.Flavor
 
sequenceOrderClause(boolean) - Method in enum com.github.susom.database.Flavor
 
sequenceSelectNextVal(String) - Method in enum com.github.susom.database.Flavor
 
setParent(Options) - Method in class com.github.susom.database.OptionsOverride
 
setRollbackOnError(boolean) - Method in interface com.github.susom.database.Transaction
Use this to request either "commit always" or "commit unless error" behavior.
setRollbackOnError(boolean) - Method in class com.github.susom.database.TransactionImpl
 
setRollbackOnly(boolean) - Method in interface com.github.susom.database.Transaction
If your code inside run() decides for some reason the transaction should rollback rather than commit, use this method.
setRollbackOnly(boolean) - Method in class com.github.susom.database.TransactionImpl
 
setSqlArgs(SqlArgs) - Method in class com.github.susom.database.Sql
 
size - Variable in class com.github.susom.database.DatabaseProvider.Pool
 
sources() - Method in interface com.github.susom.database.Config
Show where configuration is coming from.
sources() - Method in class com.github.susom.database.ConfigImpl
 
Sql - Class in com.github.susom.database
This class is useful for dynamically generating SQL.
Sql() - Constructor for class com.github.susom.database.Sql
 
Sql(String) - Constructor for class com.github.susom.database.Sql
 
sql() - Method in class com.github.susom.database.Sql
 
Sql.ColumnType - Enum in com.github.susom.database
 
SqlArgs - Class in com.github.susom.database
This class is useful for dynamically generating SQL.
SqlArgs() - Constructor for class com.github.susom.database.SqlArgs
 
SqlArgs.Builder - Class in com.github.susom.database
 
SqlArgs.ColumnType - Enum in com.github.susom.database
 
SqlInsert - Interface in com.github.susom.database
Interface for configuring (setting parameters) and executing a chunk of SQL.
SqlInsert.Apply - Interface in com.github.susom.database
 
SqlInsertImpl - Class in com.github.susom.database
This is the key class for configuring (query parameters) and executing a database query.
SqlInsertImpl(Connection, DatabaseMock, String, Options) - Constructor for class com.github.susom.database.SqlInsertImpl
 
SqlSelect - Interface in com.github.susom.database
Interface for configuring (setting parameters) and executing a chunk of SQL.
SqlSelect.Apply - Interface in com.github.susom.database
 
SqlSelectImpl - Class in com.github.susom.database
This is the key class for configuring (query parameters) and executing a database query.
SqlSelectImpl(Connection, DatabaseMock, String, Options) - Constructor for class com.github.susom.database.SqlSelectImpl
 
sqlserver(String) - Method in class com.github.susom.database.When
 
SqlUpdate - Interface in com.github.susom.database
Interface for configuring (setting parameters) and executing a chunk of SQL.
SqlUpdate.Apply - Interface in com.github.susom.database
Call this between setting rows of parameters for a SQL statement.
SqlUpdateImpl - Class in com.github.susom.database
This is the key class for configuring (query parameters) and executing a database query.
SqlUpdateImpl(Connection, DatabaseMock, String, Options) - Constructor for class com.github.susom.database.SqlUpdateImpl
 
start(long) - Method in class com.github.susom.database.Schema.Sequence
 
StatementAdaptor - Class in com.github.susom.database
Deal with mapping parameters into prepared statements.
StatementAdaptor(Options) - Constructor for class com.github.susom.database.StatementAdaptor
 
substitutions(Config) - Method in interface com.github.susom.database.ConfigFrom
 
substitutions(Config) - Method in class com.github.susom.database.ConfigFromImpl
 
supportsInsertReturning() - Method in enum com.github.susom.database.Flavor
 
systemProperties() - Method in interface com.github.susom.database.ConfigFrom
 
systemProperties() - Method in class com.github.susom.database.ConfigFromImpl
 

T

Table(String) - Constructor for class com.github.susom.database.Schema.Table
 
table() - Method in class com.github.susom.database.Schema.Table.Check
 
table() - Method in class com.github.susom.database.Schema.Table.Column
 
table() - Method in class com.github.susom.database.Schema.Table.ForeignKey
 
table() - Method in class com.github.susom.database.Schema.Table.Index
 
table() - Method in class com.github.susom.database.Schema.Table.PrimaryKey
 
table() - Method in class com.github.susom.database.Schema.Table.Unique
 
tableExists(String) - Method in interface com.github.susom.database.Database
Convenience method to check if a table or view exists so that caller can decide whether to create or update a table.
tableExists(String, String) - Method in interface com.github.susom.database.Database
Convenience method to check whether a table or view exists or not.
tableExists(String) - Method in class com.github.susom.database.DatabaseImpl
 
tableExists(String, String) - Method in class com.github.susom.database.DatabaseImpl
 
tidyColumnNames(String[]) - Static method in class com.github.susom.database.SqlArgs
 
toDelete(String) - Method in interface com.github.susom.database.Database
Create a SQL "delete" statement for further manipulation and execution.
toDelete(Sql) - Method in interface com.github.susom.database.Database
 
toDelete(String) - Method in class com.github.susom.database.DatabaseImpl
 
toDelete(Sql) - Method in class com.github.susom.database.DatabaseImpl
 
toInsert(String) - Method in interface com.github.susom.database.Database
Create a SQL "insert" statement for further manipulation and execution.
toInsert(Sql) - Method in interface com.github.susom.database.Database
 
toInsert(String) - Method in class com.github.susom.database.DatabaseImpl
 
toInsert(Sql) - Method in class com.github.susom.database.DatabaseImpl
 
toRows() - Method in class com.github.susom.database.RowStub
 
toSelect(String) - Method in interface com.github.susom.database.Database
Create a SQL "select" statement for further manipulation and execution.
toSelect(Sql) - Method in interface com.github.susom.database.Database
 
toSelect(String) - Method in class com.github.susom.database.DatabaseImpl
 
toSelect(Sql) - Method in class com.github.susom.database.DatabaseImpl
 
toString() - Method in class com.github.susom.database.Sql
Same as sql(), provided for drop-in compatibility with StringBuilder.
toString() - Method in class com.github.susom.database.SqlArgs
 
toString() - Method in class com.github.susom.database.When
 
toUpdate(String) - Method in interface com.github.susom.database.Database
Create a SQL "update" statement for further manipulation and execution.
toUpdate(Sql) - Method in interface com.github.susom.database.Database
 
toUpdate(String) - Method in class com.github.susom.database.DatabaseImpl
 
toUpdate(Sql) - Method in class com.github.susom.database.DatabaseImpl
 
trackCreateTime() - Method in class com.github.susom.database.Schema.Table
 
trackCreateTimeAndUser(String) - Method in class com.github.susom.database.Schema.Table
 
trackCreateTimeAndUser(String, String) - Method in class com.github.susom.database.Schema.Table
 
trackUpdateTime() - Method in class com.github.susom.database.Schema.Table
 
trackUpdateTimeAndUser(String) - Method in class com.github.susom.database.Schema.Table
 
trackUpdateTimeAndUser(String, String) - Method in class com.github.susom.database.Schema.Table
 
transact(DbCode) - Method in interface com.github.susom.database.DatabaseProvider.Builder
This is a convenience method to eliminate the need for explicitly managing the resources (and error handling) for this class.
transact(DbCodeTx) - Method in interface com.github.susom.database.DatabaseProvider.Builder
This is a convenience method to eliminate the need for explicitly managing the resources (and error handling) for this class.
transact(DbCode) - Method in class com.github.susom.database.DatabaseProvider
 
transact(DbCodeTx) - Method in class com.github.susom.database.DatabaseProvider
 
transact(DbCode) - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
This is a convenience method to eliminate the need for explicitly managing the resources (and error handling) for this class.
transact(DbCodeTx) - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
This is a convenience method to eliminate the need for explicitly managing the resources (and error handling) for this class.
transact(DbCode) - Method in class com.github.susom.database.DatabaseProviderVertx
Execute a transaction on the current thread, with default semantics (commit if the code completes successfully, or rollback if it throws an error).
transact(DbCodeTx) - Method in class com.github.susom.database.DatabaseProviderVertx
Same as DatabaseProviderVertx.transact(DbCode), but your code block can explicitly manage the behavior of the transaction.
transactAsync(DbCodeTyped<T>, Handler<AsyncResult<T>>) - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
 
transactAsync(DbCodeTypedTx<T>, Handler<AsyncResult<T>>) - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
 
transactAsync(DbCodeTyped<T>, Handler<AsyncResult<T>>) - Method in class com.github.susom.database.DatabaseProviderVertx
Execute a transaction on a Vert.x worker thread, with default semantics (commit if the code completes successfully, or rollback if it throws an error).
transactAsync(DbCodeTypedTx<T>, Handler<AsyncResult<T>>) - Method in class com.github.susom.database.DatabaseProviderVertx
Execute a transaction on a Vert.x worker thread, with default semantics (commit if the code completes successfully, or rollback if it throws an error).
Transaction - Interface in com.github.susom.database
Allow customization of the transaction behavior.
TransactionImpl - Class in com.github.susom.database
Simple bean representing how the database transaction should behave in terms of commit/rollback.
TransactionImpl() - Constructor for class com.github.susom.database.TransactionImpl
 
transactReturning(DbCodeTyped<T>) - Method in interface com.github.susom.database.DatabaseProvider.Builder
This method is the same as DatabaseProvider.Builder.transact(DbCode) but allows a return value.
transactReturning(DbCodeTyped<T>) - Method in class com.github.susom.database.DatabaseProvider
 
transactReturning(DbCodeTyped<T>) - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
This method is the same as DatabaseProviderVertx.Builder.transact(DbCode) but allows a return value.
transactReturning(DbCodeTyped<T>) - Method in class com.github.susom.database.DatabaseProviderVertx
 
typeBigDecimal(int, int) - Method in enum com.github.susom.database.Flavor
 
typeBlob() - Method in enum com.github.susom.database.Flavor
 
typeBoolean() - Method in enum com.github.susom.database.Flavor
 
typeClob() - Method in enum com.github.susom.database.Flavor
 
typeDate() - Method in enum com.github.susom.database.Flavor
 
typeDouble() - Method in enum com.github.susom.database.Flavor
 
typeFloat() - Method in enum com.github.susom.database.Flavor
 
typeInteger() - Method in enum com.github.susom.database.Flavor
 
typeLocalDate() - Method in enum com.github.susom.database.Flavor
 
typeLong() - Method in enum com.github.susom.database.Flavor
 
typeStringFixed(int) - Method in enum com.github.susom.database.Flavor
 
typeStringVar(int) - Method in enum com.github.susom.database.Flavor
 

U

underlyingConnection() - Method in interface com.github.susom.database.Database
Obtain direct access to the connection being used by this instance.
underlyingConnection() - Method in class com.github.susom.database.DatabaseImpl
 
unique(String) - Method in class com.github.susom.database.Schema.Table.Column
 
unique() - Method in class com.github.susom.database.Schema.Table.Index
 
Unique(String, String[]) - Constructor for class com.github.susom.database.Schema.Table.Unique
 
update(String, String) - Method in interface com.github.susom.database.DatabaseMock
 
update() - Method in interface com.github.susom.database.SqlUpdate
Execute the SQL update and return the number of rows was affected.
update(int) - Method in interface com.github.susom.database.SqlUpdate
Execute the SQL update and check that the expected number of rows was affected.
update() - Method in class com.github.susom.database.SqlUpdateImpl
 
update(int) - Method in class com.github.susom.database.SqlUpdateImpl
 
useBytesForBlob() - Method in enum com.github.susom.database.Flavor
 
useBytesForBlob() - Method in interface com.github.susom.database.Options
Indicate whether to use the Blob functionality of the underlying database driver, or whether to use setBytes() methods instead.
useBytesForBlob() - Method in class com.github.susom.database.OptionsDefault
 
useBytesForBlob() - Method in class com.github.susom.database.OptionsOverride
 
useDatePerAppOnly() - Method in interface com.github.susom.database.Options
Wherever argDateNowPerDb() is specified, use argDateNowPerApp() instead.
useDatePerAppOnly() - Method in class com.github.susom.database.OptionsDefault
 
useDatePerAppOnly() - Method in class com.github.susom.database.OptionsOverride
 
userTableName(String) - Method in class com.github.susom.database.Schema
Set the table to which the foreign key will be created for user change tracking (Schema.Table.trackCreateTimeAndUser(String) and Schema.Table.trackUpdateTimeAndUser(String)).
useStringForClob() - Method in enum com.github.susom.database.Flavor
 
useStringForClob() - Method in interface com.github.susom.database.Options
Indicate whether to use the Clob functionality of the underlying database driver, or whether to use setString() methods instead.
useStringForClob() - Method in class com.github.susom.database.OptionsDefault
 
useStringForClob() - Method in class com.github.susom.database.OptionsOverride
 

V

validate() - Method in class com.github.susom.database.Schema.Table.PrimaryKey
 
validate() - Method in class com.github.susom.database.Schema.Table.Unique
 
validate() - Method in class com.github.susom.database.Schema.Table
 
validate() - Method in class com.github.susom.database.Schema
 
value(String, String) - Method in interface com.github.susom.database.ConfigFrom
 
value(String, String) - Method in class com.github.susom.database.ConfigFromImpl
 
valueOf(String) - Static method in enum com.github.susom.database.Flavor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.susom.database.Schema.ColumnType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.susom.database.Sql.ColumnType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.susom.database.SqlArgs.ColumnType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.susom.database.Flavor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.susom.database.Schema.ColumnType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.susom.database.Sql.ColumnType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.susom.database.SqlArgs.ColumnType
Returns an array containing the constants of this enum type, in the order they are declared.
VertxUtil - Class in com.github.susom.database
This is a convenience class to work-around issues with using the SLF4J MDC class.
VertxUtil() - Constructor for class com.github.susom.database.VertxUtil
 

W

when() - Method in interface com.github.susom.database.Database
A little syntax sugar to make it easier to customize your SQL based on the specific database.
when() - Method in class com.github.susom.database.DatabaseImpl
 
When - Class in com.github.susom.database
Convenience for conditional SQL generation.
When(Flavor) - Constructor for class com.github.susom.database.When
 
withArgs(SqlArgs) - Method in interface com.github.susom.database.SqlInsert
 
withArgs(SqlArgs) - Method in class com.github.susom.database.SqlInsertImpl
 
withArgs(SqlArgs) - Method in interface com.github.susom.database.SqlSelect
 
withArgs(SqlArgs) - Method in class com.github.susom.database.SqlSelectImpl
 
withArgs(SqlArgs) - Method in interface com.github.susom.database.SqlUpdate
 
withArgs(SqlArgs) - Method in class com.github.susom.database.SqlUpdateImpl
 
withColumnNames(String...) - Method in class com.github.susom.database.RowStub
 
withComment(String) - Method in class com.github.susom.database.Schema.Table.Column
 
withComment(String) - Method in class com.github.susom.database.Schema.Table
 
withConnectionAccess() - Method in interface com.github.susom.database.DatabaseProvider.Builder
Allow direct access to the underlying database connection.
withConnectionAccess() - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
Allow direct access to the underlying database connection.
withDatePerAppOnly() - Method in interface com.github.susom.database.DatabaseProvider.Builder
Wherever argDateNowPerDb() is specified, use argDateNowPerApp() instead.
withDatePerAppOnly() - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
Wherever argDateNowPerDb() is specified, use argDateNowPerApp() instead.
withHistoryTable() - Method in class com.github.susom.database.Schema.Table
 
withMaxRows(int) - Method in interface com.github.susom.database.SqlSelect
 
withMaxRows(int) - Method in class com.github.susom.database.SqlSelectImpl
 
withOptions(OptionsOverride) - Method in interface com.github.susom.database.DatabaseProvider.Builder
 
withOptions(OptionsOverride) - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
 
withoutForeignKeyIndexing() - Method in class com.github.susom.database.Schema
 
withParent(Options) - Method in class com.github.susom.database.OptionsOverride
 
withSqlInExceptionMessages() - Method in interface com.github.susom.database.DatabaseProvider.Builder
Include SQL in exception messages.
withSqlInExceptionMessages() - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
Include SQL in exception messages.
withSqlParameterLogging() - Method in interface com.github.susom.database.DatabaseProvider.Builder
Enable logging of parameter values along with the SQL.
withSqlParameterLogging() - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
Enable logging of parameter values along with the SQL.
withStandardPk() - Method in class com.github.susom.database.Schema.Table
 
withTimeoutSeconds(int) - Method in interface com.github.susom.database.SqlSelect
 
withTimeoutSeconds(int) - Method in class com.github.susom.database.SqlSelectImpl
 
withTransactionControl() - Method in interface com.github.susom.database.DatabaseProvider.Builder
Allow provided Database instances to explicitly control transactions using the commitNow() and rollbackNow() methods.
withTransactionControl() - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
Allow provided Database instances to explicitly control transactions using the commitNow() and rollbackNow() methods.
withTransactionControlSilentlyIgnored() - Method in interface com.github.susom.database.DatabaseProvider.Builder
This can be useful when testing code, as it can pretend to use transactions, while giving you control over whether it actually commits or rolls back.
withTransactionControlSilentlyIgnored() - Method in interface com.github.susom.database.DatabaseProviderVertx.Builder
This can be useful when testing code, as it can pretend to use transactions, while giving you control over whether it actually commits or rolls back.
wrap(String, Throwable) - Static method in exception com.github.susom.database.DatabaseException
Wrap an exception with a DatabaseException, taking into account all known subtypes such that we wrap subtypes in a matching type (so we don't obscure the type available to catch clauses).
WrongNumberOfRowsException - Exception in com.github.susom.database
Thrown when inserting/updating rows and the actual number of rows modified does not match the expected number of rows.
WrongNumberOfRowsException(String) - Constructor for exception com.github.susom.database.WrongNumberOfRowsException
 
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2020. All rights reserved.