public class Query extends Object implements Closeable
Constructor and Description |
---|
Query(StatementClient client,
boolean debug) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Map<String,String> |
getAddedPreparedStatements() |
Map<String,String> |
getAddedSessionFunctions() |
Set<String> |
getDeallocatedPreparedStatements() |
Set<String> |
getRemovedSessionFunctions() |
Set<String> |
getResetSessionProperties() |
Optional<String> |
getSetCatalog() |
Map<String,SelectedRole> |
getSetRoles() |
Optional<String> |
getSetSchema() |
Map<String,String> |
getSetSessionProperties() |
String |
getStartedTransactionId() |
boolean |
isClearTransactionId() |
void |
renderFailure(PrintStream out) |
boolean |
renderOutput(PrintStream out,
ClientOptions.OutputFormat outputFormat,
boolean interactive) |
public Query(StatementClient client, boolean debug)
public Map<String,SelectedRole> getSetRoles()
public String getStartedTransactionId()
public boolean isClearTransactionId()
public boolean renderOutput(PrintStream out, ClientOptions.OutputFormat outputFormat, boolean interactive)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public void renderFailure(PrintStream out)
Copyright © 2012–2021. All rights reserved.