Index

A C D E F G H I L M O P Q R S T U 
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 columnName record component.
columnNames() - Method in record class org.approvej.database.jdbc.QueryResult
Returns the value of the columnNames record component.
columnValue(String) - Static method in class org.approvej.database.jdbc.DatabaseScrubbers
Creates a ColumnValueScrubber for the given column name.
ColumnValueScrubber - Record Class in org.approvej.database.jdbc
A Scrubber for QueryResults that replaces all values in a specific column.
ColumnValueScrubber(String) - Constructor for record class org.approvej.database.jdbc.ColumnValueScrubber
Creates a Scrubber for 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 ColumnValueScrubber record 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 DatabaseSnapshotException with 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 MarkdownTablePrintFormat instance.
MarkdownTablePrintFormat - Class in org.approvej.database.jdbc
PrintFormat implementation for QueryResult that 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 ResultSet into a QueryResult.
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 DataSource and returns the result as a QueryResult.
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 List of recorded SQL queries in the order they were executed.
RecordingDataSource - Class in org.approvej.database.jdbc
A DataSource wrapper that records all SQL statements executed through it.
RecordingDataSource(DataSource) - Constructor for class org.approvej.database.jdbc.RecordingDataSource
Creates a new RecordingDataSource wrapping the given delegate.
replacement() - Method in record class org.approvej.database.jdbc.ColumnValueScrubber
Returns the value of the replacement record 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 rows record 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 SqlPrintFormat instance.
SqlPrintFormat - Class in org.approvej.database.jdbc
PrintFormat implementation 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
 
A C D E F G H I L M O P Q R S T U 
All Classes and Interfaces|All Packages|Serialized Form