Constructor
new ThriftClient(host, port, timeoutopt)
Hypertable Thrift client.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
host |
String | Hostname of ThriftBroker | |
port |
Number | Port number of ThriftBroker | |
timeout |
Number |
<optional> |
Connection timeout |
- Source:
Example
var client = new hypertable.ThriftClient("localhost", 15867);
Methods
closeConnection()
Closes connection to ThriftBroker.
- Source: