Package io.trino.cli
Class Query
java.lang.Object
io.trino.cli.Query
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanbooleanvoidrenderFailure(PrintStream out) booleanrenderOutput(org.jline.terminal.Terminal terminal, PrintStream out, PrintStream errorChannel, ClientOptions.OutputFormat outputFormat, Optional<String> pager, boolean showProgress)
-
Constructor Details
-
Query
public Query(io.trino.client.StatementClient client, boolean debug)
-
-
Method Details
-
getSetCatalog
-
getSetSchema
-
getSetPath
-
getSetAuthorizationUser
-
isResetAuthorizationUser
public boolean isResetAuthorizationUser() -
getSetSessionProperties
-
getResetSessionProperties
-
getSetRoles
-
getAddedPreparedStatements
-
getDeallocatedPreparedStatements
-
getStartedTransactionId
-
isClearTransactionId
public boolean isClearTransactionId() -
renderOutput
public boolean renderOutput(org.jline.terminal.Terminal terminal, PrintStream out, PrintStream errorChannel, ClientOptions.OutputFormat outputFormat, Optional<String> pager, boolean showProgress) -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
renderFailure
-