1 | <?php |
||
25 | final class PrestoHeaders |
||
26 | { |
||
27 | const PRESTO_USER = "X-Presto-User"; |
||
28 | const PRESTO_SOURCE = "X-Presto-Source"; |
||
29 | const PRESTO_CATALOG = "X-Presto-Catalog"; |
||
30 | const PRESTO_SCHEMA = "X-Presto-Schema"; |
||
31 | const PRESTO_TIME_ZONE = "X-Presto-Time-Zone"; |
||
32 | const PRESTO_LANGUAGE = "X-Presto-Language"; |
||
33 | const PRESTO_SESSION = "X-Presto-Session"; |
||
34 | const PRESTO_SET_SESSION = "X-Presto-Set-Session"; |
||
35 | const PRESTO_CLEAR_SESSION = "X-Presto-Clear-Session"; |
||
36 | const PRESTO_PREPARED_STATEMENT = "X-Presto-Prepared-Statement"; |
||
37 | const PRESTO_ADDED_PREPARE = "X-Presto-Added-Prepare"; |
||
38 | const PRESTO_DEALLOCATED_PREPARE = "X-Presto-Deallocated-Prepare"; |
||
39 | const PRESTO_TRANSACTION_ID = "X-Presto-Transaction-Id"; |
||
40 | const PRESTO_STARTED_TRANSACTION_ID = "X-Presto-Started-Transaction-Id"; |
||
41 | const PRESTO_CLEAR_TRANSACTION_ID = "X-Presto-Clear-Transaction-Id"; |
||
42 | const PRESTO_CLIENT_INFO = "X-Presto-Client-Info"; |
||
43 | const PRESTO_CURRENT_STATE = "X-Presto-Current-State"; |
||
44 | const PRESTO_MAX_WAIT = "X-Presto-Max-Wait"; |
||
45 | const PRESTO_MAX_SIZE = "X-Presto-Max-Size"; |
||
46 | const PRESTO_TASK_INSTANCE_ID = "X-Presto-Task-Instance-Id"; |
||
47 | const PRESTO_PAGE_TOKEN = "X-Presto-Page-Sequence-Id"; |
||
48 | const PRESTO_PAGE_NEXT_TOKEN = "X-Presto-Page-End-Sequence-Id"; |
||
49 | const PRESTO_BUFFER_COMPLETE = "X-Presto-Buffer-Complete"; |
||
50 | |||
51 | /** library version */ |
||
52 | const VERSION = '0.1.0'; |
||
53 | const PRESTO_SOURCE_VALUE = 'PrestoClient'; |
||
54 | |||
55 | private function __construct() |
||
59 | } |
||
60 |