public Cursor(TSessionHandle m_Session, TCLIService.Client m_Client, TProtocolVersion version = TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V7) { this.m_Session = m_Session; this.m_Client = m_Client; m_Version = version; }
public Connection(TTransport transport, string userName = null, TProtocolVersion version = TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V7) { m_Transport = transport; var protocol = new TBinaryProtocol(m_Transport); m_Client = new TCLIService.Client(protocol); m_Version = version; m_userName = userName; }
public HiveConnection(String host, Int32 port, String userName = "******", String password = "******", TProtocolVersion version = TProtocolVersion.V7) { var socket = new TSocket(host, port); _Transport = new TSaslClientTransport(socket, userName, password); var protocol = new TBinaryProtocol(_Transport); _Client = new TCLIService.Client(protocol); Version = version; }
public Connection(string host, int port, string userName = "******", string password = "******", TProtocolVersion version = TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V7) { var socket = new TSocket(host, port); m_Transport = new TSaslClientTransport(socket, userName, password); var protocol = new TBinaryProtocol(m_Transport); m_Client = new TCLIService.Client(protocol); m_Version = version; }
public TOpenSessionReq(TProtocolVersion client_protocol) : this() { this.Client_protocol = client_protocol; }
public TOpenSessionResp(TStatus status, TProtocolVersion serverProtocolVersion) : this() { this.Status = status; this.ServerProtocolVersion = serverProtocolVersion; }
public HiveCommand(TSessionHandle session, TCLIService.Client client, TProtocolVersion version = TProtocolVersion.V7) { _Session = session; _Client = client; Version = version; }