Package io.trino.cli

Class Query

java.lang.Object
io.trino.cli.Query
All Implemented Interfaces:
Closeable, AutoCloseable

public class Query extends Object implements Closeable
  • Constructor Details

  • Method Details

    • getSetCatalog

      public Optional<String> getSetCatalog()
    • getSetSchema

      public Optional<String> getSetSchema()
    • getSetPath

      public Optional<String> getSetPath()
    • getSetSessionProperties

      public Map<String,String> getSetSessionProperties()
    • getResetSessionProperties

      public Set<String> getResetSessionProperties()
    • getSetRoles

      public Map<String,ClientSelectedRole> getSetRoles()
    • getAddedPreparedStatements

      public Map<String,String> getAddedPreparedStatements()
    • getDeallocatedPreparedStatements

      public Set<String> getDeallocatedPreparedStatements()
    • getStartedTransactionId

      public String 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:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • renderFailure

      public void renderFailure(PrintStream out)