com.yandex.ydb.core.grpc.YdbHeaders Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
JDBC client implementation over Table client, single jar
The newest version!
package com.yandex.ydb.core.grpc;
import io.grpc.Metadata;
/**
* @author Sergey Polovko
*/
public class YdbHeaders {
private YdbHeaders() {}
static final Metadata.Key AUTH_TICKET =
Metadata.Key.of("x-ydb-auth-ticket", Metadata.ASCII_STRING_MARSHALLER);
public static final Metadata.Key DATABASE =
Metadata.Key.of("x-ydb-database", Metadata.ASCII_STRING_MARSHALLER);
static final Metadata.Key TRACE_ID =
Metadata.Key.of("x-ydb-trace-id", Metadata.ASCII_STRING_MARSHALLER);
public static final Metadata.Key BUILD_INFO =
Metadata.Key.of("x-ydb-sdk-build-info", Metadata.ASCII_STRING_MARSHALLER);
public static final Metadata.Key YDB_CLIENT_CAPABILITIES =
Metadata.Key.of("x-ydb-client-capabilities", Metadata.ASCII_STRING_MARSHALLER);
public static final Metadata.Key YDB_SERVER_HINTS =
Metadata.Key.of("x-ydb-server-hints", Metadata.ASCII_STRING_MARSHALLER);
}