Connection.Ifacepublic static class Connection.Client extends org.apache.thrift.TServiceClient implements Connection.Iface
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Connection.Client.Factory |
| Constructor | Description |
|---|---|
Client(org.apache.thrift.protocol.TProtocol prot) |
|
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
closeConnection(long connection) |
|
void |
closeCursor(long connection,
long cursor) |
|
long |
command(long connection,
String database,
String collection,
String command,
boolean remoteView) |
|
long |
connect(String username,
String password) |
|
ByteBuffer |
cursorNext(long connection,
long cursor,
int count) |
|
void |
recv_closeCursor() |
|
long |
recv_command() |
|
long |
recv_connect() |
|
ByteBuffer |
recv_cursorNext() |
|
void |
send_closeConnection(long connection) |
|
void |
send_closeCursor(long connection,
long cursor) |
|
void |
send_command(long connection,
String database,
String collection,
String command,
boolean remoteView) |
|
void |
send_connect(String username,
String password) |
|
void |
send_cursorNext(long connection,
long cursor,
int count) |
public Client(org.apache.thrift.protocol.TProtocol prot)
public Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
public long command(long connection,
String database,
String collection,
String command,
boolean remoteView)
throws InvalidOperation,
org.apache.thrift.TException
command in interface Connection.IfaceInvalidOperationorg.apache.thrift.TExceptionpublic void send_command(long connection,
String database,
String collection,
String command,
boolean remoteView)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_command()
throws InvalidOperation,
org.apache.thrift.TException
InvalidOperationorg.apache.thrift.TExceptionpublic long connect(String username, String password) throws InvalidOperation, org.apache.thrift.TException
connect in interface Connection.IfaceInvalidOperationorg.apache.thrift.TExceptionpublic void send_connect(String username, String password) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_connect()
throws InvalidOperation,
org.apache.thrift.TException
InvalidOperationorg.apache.thrift.TExceptionpublic ByteBuffer cursorNext(long connection, long cursor, int count) throws InvalidOperation, org.apache.thrift.TException
cursorNext in interface Connection.IfaceInvalidOperationorg.apache.thrift.TExceptionpublic void send_cursorNext(long connection,
long cursor,
int count)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic ByteBuffer recv_cursorNext() throws InvalidOperation, org.apache.thrift.TException
InvalidOperationorg.apache.thrift.TExceptionpublic void closeCursor(long connection,
long cursor)
throws org.apache.thrift.TException
closeCursor in interface Connection.Ifaceorg.apache.thrift.TExceptionpublic void send_closeCursor(long connection,
long cursor)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_closeCursor()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void closeConnection(long connection)
throws org.apache.thrift.TException
closeConnection in interface Connection.Ifaceorg.apache.thrift.TExceptionpublic void send_closeConnection(long connection)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2020. All rights reserved.