Top Description Inners Constructors Methods
org.postgresql.core

public Class SetupQueryRunner

extends Object
Class Inheritance
Imports
org.postgresql.util.GT, .PSQLException, .PSQLState, org.checkerframework.checker.nullness.qual.Nullable, java.sql.SQLException, .SQLWarning, java.util.List

Poor man's Statement & ResultSet, used for initial queries while we're still initializing the system.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static @Nullable Tuple
run(QueryExecutor executor, String queryString, boolean wantResults)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SetupQueryRunnerback to summary
public SetupQueryRunner()

Method Detail

runback to summary
public static @Nullable Tuple run(QueryExecutor executor, String queryString, boolean wantResults) throws SQLException
org.postgresql.core back to summary

private Class SetupQueryRunner.SimpleResultHandler

extends ResultHandlerBase
Class Inheritance

Field Summary

Modifier and TypeField and Description
private @Nullable List<Tuple>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv @Nullable List<Tuple>
public void
handleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, @Nullable ResultCursor cursor)

public void
handleWarning(SQLWarning
the warning that occurred.
warning
)

Overrides org.postgresql.core.ResultHandlerBase.handleWarning.

Implements org.postgresql.core.ResultHandler.handleWarning.

Called when a warning is emitted.

Inherited from org.postgresql.core.ResultHandlerBase:
getExceptiongetWarninghandleCommandStatushandleCompletionhandleErrorhandleResultRowssecureProgress

Field Detail

tuplesback to summary
private @Nullable List<Tuple> tuples

Constructor Detail

SimpleResultHandlerback to summary
private SimpleResultHandler()

Method Detail

getResultsback to summary
pack-priv @Nullable List<Tuple> getResults()
handleResultRowsback to summary
public void handleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, @Nullable ResultCursor cursor)
Annotations
@Override
handleWarningback to summary
public void handleWarning(SQLWarning warning)

Overrides org.postgresql.core.ResultHandlerBase.handleWarning.

Implements org.postgresql.core.ResultHandler.handleWarning.

Doc from org.postgresql.core.ResultHandler.handleWarning.

Called when a warning is emitted.

Parameters
warning:SQLWarning

the warning that occurred.

Annotations
@Override