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()booleanvoidrenderFailure(PrintStream out) booleanrenderOutput(org.jline.terminal.Terminal terminal, PrintStream out, PrintStream errorChannel, ClientOptions.OutputFormat outputFormat, boolean usePager, boolean showProgress)
-
Constructor Details
-
Query
-
-
Method Details
-
getSetCatalog
-
getSetSchema
-
getSetPath
-
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, boolean usePager, boolean showProgress) -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
renderFailure
-