PrestoSession-class: Class to encapsulate a Presto session

PrestoSession-classR Documentation

Class to encapsulate a Presto session

Description

A session contains temporary attributes and information that are only useful for the session. It's attached to a PrestoConnection for as long as as the connection lives. There are a few types of information stored.

  1. Session properties that can be set via query response headers and need to be sent with following HTTP requests.

  2. Common table expressions (CTEs) that can be used to store a subquery and be used in a WITH statement.

Slots

.parameters

List of Presto session parameters to be added to the X-Presto-Session header.

.ctes

List of common table expressions (CTEs), i.e. SELECT statements with names. They can be used in a WITH statement.


prestodb/RPresto documentation built on Feb. 28, 2024, 11:13 a.m.