com.facebook.presto.jdbc.internal.client.PrestoHeaders Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.facebook.presto.jdbc.internal.client;
public final class PrestoHeaders
{
public static final String PRESTO_USER = "X-Presto-User";
public static final String PRESTO_SOURCE = "X-Presto-Source";
public static final String PRESTO_CATALOG = "X-Presto-Catalog";
public static final String PRESTO_SCHEMA = "X-Presto-Schema";
public static final String PRESTO_TIME_ZONE = "X-Presto-Time-Zone";
public static final String PRESTO_LANGUAGE = "X-Presto-Language";
public static final String PRESTO_TRACE_TOKEN = "X-Presto-Trace-Token";
public static final String PRESTO_SESSION = "X-Presto-Session";
public static final String PRESTO_SET_CATALOG = "X-Presto-Set-Catalog";
public static final String PRESTO_SET_SCHEMA = "X-Presto-Set-Schema";
public static final String PRESTO_SET_SESSION = "X-Presto-Set-Session";
public static final String PRESTO_CLEAR_SESSION = "X-Presto-Clear-Session";
public static final String PRESTO_SET_ROLE = "X-Presto-Set-Role";
public static final String PRESTO_ROLE = "X-Presto-Role";
public static final String PRESTO_PREPARED_STATEMENT = "X-Presto-Prepared-Statement";
public static final String PRESTO_ADDED_PREPARE = "X-Presto-Added-Prepare";
public static final String PRESTO_DEALLOCATED_PREPARE = "X-Presto-Deallocated-Prepare";
public static final String PRESTO_TRANSACTION_ID = "X-Presto-Transaction-Id";
public static final String PRESTO_STARTED_TRANSACTION_ID = "X-Presto-Started-Transaction-Id";
public static final String PRESTO_CLEAR_TRANSACTION_ID = "X-Presto-Clear-Transaction-Id";
public static final String PRESTO_CLIENT_INFO = "X-Presto-Client-Info";
public static final String PRESTO_CLIENT_TAGS = "X-Presto-Client-Tags";
public static final String PRESTO_RESOURCE_ESTIMATE = "X-Presto-Resource-Estimate";
public static final String PRESTO_EXTRA_CREDENTIAL = "X-Presto-Extra-Credential";
public static final String PRESTO_SESSION_FUNCTION = "X-Presto-Session-Function";
public static final String PRESTO_ADDED_SESSION_FUNCTION = "X-Presto-Added-Session-Functions";
public static final String PRESTO_REMOVED_SESSION_FUNCTION = "X-Presto-Removed-Session-Function";
public static final String PRESTO_CURRENT_STATE = "X-Presto-Current-State";
public static final String PRESTO_MAX_WAIT = "X-Presto-Max-Wait";
public static final String PRESTO_MAX_SIZE = "X-Presto-Max-Size";
public static final String PRESTO_TASK_INSTANCE_ID = "X-Presto-Task-Instance-Id";
public static final String PRESTO_PAGE_TOKEN = "X-Presto-Page-Sequence-Id";
public static final String PRESTO_PAGE_NEXT_TOKEN = "X-Presto-Page-End-Sequence-Id";
public static final String PRESTO_BUFFER_COMPLETE = "X-Presto-Buffer-Complete";
public static final String PRESTO_PREFIX_URL = "X-Presto-Prefix-Url";
private PrestoHeaders() {}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy