1 | <?php |
||
9 | final class PrestoHeaders |
||
10 | { |
||
11 | const PRESTO_USER = "X-Presto-User"; |
||
12 | const PRESTO_SOURCE = "X-Presto-Source"; |
||
13 | const PRESTO_CATALOG = "X-Presto-Catalog"; |
||
14 | const PRESTO_SCHEMA = "X-Presto-Schema"; |
||
15 | const PRESTO_TIME_ZONE = "X-Presto-Time-Zone"; |
||
16 | const PRESTO_LANGUAGE = "X-Presto-Language"; |
||
17 | const PRESTO_SESSION = "X-Presto-Session"; |
||
18 | const PRESTO_SET_SESSION = "X-Presto-Set-Session"; |
||
19 | const PRESTO_CLEAR_SESSION = "X-Presto-Clear-Session"; |
||
20 | const PRESTO_PREPARED_STATEMENT = "X-Presto-Prepared-Statement"; |
||
21 | const PRESTO_ADDED_PREPARE = "X-Presto-Added-Prepare"; |
||
22 | const PRESTO_DEALLOCATED_PREPARE = "X-Presto-Deallocated-Prepare"; |
||
23 | const PRESTO_TRANSACTION_ID = "X-Presto-Transaction-Id"; |
||
24 | const PRESTO_STARTED_TRANSACTION_ID = "X-Presto-Started-Transaction-Id"; |
||
25 | const PRESTO_CLEAR_TRANSACTION_ID = "X-Presto-Clear-Transaction-Id"; |
||
26 | const PRESTO_CLIENT_INFO = "X-Presto-Client-Info"; |
||
27 | const PRESTO_CURRENT_STATE = "X-Presto-Current-State"; |
||
28 | const PRESTO_MAX_WAIT = "X-Presto-Max-Wait"; |
||
29 | const PRESTO_MAX_SIZE = "X-Presto-Max-Size"; |
||
30 | const PRESTO_TASK_INSTANCE_ID = "X-Presto-Task-Instance-Id"; |
||
31 | const PRESTO_PAGE_TOKEN = "X-Presto-Page-Sequence-Id"; |
||
32 | const PRESTO_PAGE_NEXT_TOKEN = "X-Presto-Page-End-Sequence-Id"; |
||
33 | const PRESTO_BUFFER_COMPLETE = "X-Presto-Buffer-Complete"; |
||
34 | |||
35 | /** library version */ |
||
36 | const VERSION = '0.1.0'; |
||
37 | const PRESTO_SOURCE_VALUE = 'PrestoClient'; |
||
38 | |||
39 | private function __construct() |
||
43 | } |
||
44 |