Index
All Classes and Interfaces|All Packages|Serialized Form
A
- apply(QueryResult) - Method in record class org.approvej.database.jdbc.ColumnValueScrubber
C
- columnName() - Method in record class org.approvej.database.jdbc.ColumnValueScrubber
-
Returns the value of the
columnNamerecord component. - columnNames() - Method in record class org.approvej.database.jdbc.QueryResult
-
Returns the value of the
columnNamesrecord component. - columnValue(String) - Static method in class org.approvej.database.jdbc.DatabaseScrubbers
-
Creates a
ColumnValueScrubberfor the given column name. - ColumnValueScrubber - Record Class in org.approvej.database.jdbc
-
A
ScrubberforQueryResults that replaces all values in a specific column. - ColumnValueScrubber(String) - Constructor for record class org.approvej.database.jdbc.ColumnValueScrubber
-
Creates a
Scrubberfor the given columnName with the default replacement. - ColumnValueScrubber(String, Replacement<String>) - Constructor for record class org.approvej.database.jdbc.ColumnValueScrubber
-
Creates an instance of a
ColumnValueScrubberrecord class.
D
- DatabaseScrubbers - Class in org.approvej.database.jdbc
-
Collection of predefined database-related
Scrubbers. - DatabaseSnapshot - Class in org.approvej.database.jdbc
-
Utility for snapshotting database query results into a
QueryResult. - DatabaseSnapshotException - Exception Class in org.approvej.database.jdbc
-
An error that occurs when executing a database snapshot query.
- DatabaseSnapshotException(Throwable) - Constructor for exception class org.approvej.database.jdbc.DatabaseSnapshotException
-
Creates a new
DatabaseSnapshotExceptionwith the given cause.
E
- equals(Object) - Method in record class org.approvej.database.jdbc.ColumnValueScrubber
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.approvej.database.jdbc.QueryResult
-
Indicates whether some other object is "equal to" this one.
F
- filenameExtension() - Method in class org.approvej.database.jdbc.MarkdownTablePrintFormat
- filenameExtension() - Method in class org.approvej.database.jdbc.SqlPrintFormat
G
- getConnection() - Method in class org.approvej.database.jdbc.RecordingDataSource
- getConnection(String, String) - Method in class org.approvej.database.jdbc.RecordingDataSource
- getLoginTimeout() - Method in class org.approvej.database.jdbc.RecordingDataSource
- getLogWriter() - Method in class org.approvej.database.jdbc.RecordingDataSource
- getParentLogger() - Method in class org.approvej.database.jdbc.RecordingDataSource
H
- hashCode() - Method in record class org.approvej.database.jdbc.ColumnValueScrubber
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.approvej.database.jdbc.QueryResult
-
Returns a hash code value for this object.
I
- isWrapperFor(Class<?>) - Method in class org.approvej.database.jdbc.RecordingDataSource
L
- lastRecordedQuery() - Method in class org.approvej.database.jdbc.RecordingDataSource
-
Returns the last (most recently) recorded SQL query.
M
- markdownTable() - Static method in class org.approvej.database.jdbc.MarkdownTablePrintFormat
-
Creates and returns a new
MarkdownTablePrintFormatinstance. - MarkdownTablePrintFormat - Class in org.approvej.database.jdbc
-
PrintFormatimplementation forQueryResultthat prints the result as a Markdown-compatible ASCII table. - MarkdownTablePrintFormat() - Constructor for class org.approvej.database.jdbc.MarkdownTablePrintFormat
-
Default constructor.
O
- of(ResultSet) - Static method in record class org.approvej.database.jdbc.QueryResult
-
Materializes the given
ResultSetinto aQueryResult. - org.approvej.database.jdbc - package org.approvej.database.jdbc
P
- printer() - Method in class org.approvej.database.jdbc.MarkdownTablePrintFormat
- printer() - Method in class org.approvej.database.jdbc.SqlPrintFormat
Q
- query(DataSource, String) - Static method in class org.approvej.database.jdbc.DatabaseSnapshot
-
Executes the given SQL query against the
DataSourceand returns the result as aQueryResult. - QueryResult - Record Class in org.approvej.database.jdbc
-
Represents the result of a database query as column names and row data.
- QueryResult(List<String>, List<List<String>>) - Constructor for record class org.approvej.database.jdbc.QueryResult
-
Compact constructor to ensure immutability.
R
- recordedQueries() - Method in class org.approvej.database.jdbc.RecordingDataSource
-
Returns the
Listof recorded SQL queries in the order they were executed. - RecordingDataSource - Class in org.approvej.database.jdbc
-
A
DataSourcewrapper that records all SQL statements executed through it. - RecordingDataSource(DataSource) - Constructor for class org.approvej.database.jdbc.RecordingDataSource
-
Creates a new
RecordingDataSourcewrapping the given delegate. - replacement() - Method in record class org.approvej.database.jdbc.ColumnValueScrubber
-
Returns the value of the
replacementrecord component. - replacement(Replacement<String>) - Method in record class org.approvej.database.jdbc.ColumnValueScrubber
- resetRecordedQueries() - Method in class org.approvej.database.jdbc.RecordingDataSource
-
Resets the recorded queries to an empty list.
- rows() - Method in record class org.approvej.database.jdbc.QueryResult
-
Returns the value of the
rowsrecord component.
S
- setLoginTimeout(int) - Method in class org.approvej.database.jdbc.RecordingDataSource
- setLogWriter(PrintWriter) - Method in class org.approvej.database.jdbc.RecordingDataSource
- sql() - Static method in class org.approvej.database.jdbc.SqlPrintFormat
-
Creates and returns a new
SqlPrintFormatinstance. - SqlPrintFormat - Class in org.approvej.database.jdbc
-
PrintFormatimplementation for SQL strings that formats them with line breaks and indentation for readability. - SqlPrintFormat() - Constructor for class org.approvej.database.jdbc.SqlPrintFormat
-
Default constructor.
T
- toString() - Method in record class org.approvej.database.jdbc.ColumnValueScrubber
-
Returns a string representation of this record class.
- toString() - Method in record class org.approvej.database.jdbc.QueryResult
-
Returns a string representation of this record class.
U
- unwrap(Class<T>) - Method in class org.approvej.database.jdbc.RecordingDataSource
All Classes and Interfaces|All Packages|Serialized Form