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.


RPresto documentation built on Nov. 2, 2023, 5:58 p.m.