public class DBConnection extends Object
| Constructor and Description |
|---|
DBConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
connect(String hostName,
int port) |
boolean |
connect(String hostName,
int port,
String userId,
String password) |
String |
getHostName() |
InetAddress |
getLocalAddress() |
int |
getPort() |
boolean |
getRemoteLittleEndian() |
boolean |
isBusy() |
boolean |
isConnected() |
void |
login(String userId,
String password,
boolean enableEncryption) |
Entity |
run(String script) |
Entity |
run(String function,
List<Entity> arguments) |
Entity |
run(String script,
ProgressListener listener) |
Entity |
tryRun(String script) |
Entity |
tryRun(String function,
List<Entity> arguments) |
void |
tryUpload(Map<String,Entity> variableObjectMap) |
void |
upload(Map<String,Entity> variableObjectMap) |
public boolean isBusy()
public boolean connect(String hostName, int port) throws IOException
IOExceptionpublic boolean connect(String hostName, int port, String userId, String password) throws IOException
IOExceptionpublic void login(String userId, String password, boolean enableEncryption) throws IOException
IOExceptionpublic boolean getRemoteLittleEndian()
public Entity tryRun(String script) throws IOException
IOExceptionpublic Entity run(String script) throws IOException
IOExceptionpublic Entity run(String script, ProgressListener listener) throws IOException
IOExceptionpublic Entity tryRun(String function, List<Entity> arguments) throws IOException
IOExceptionpublic Entity run(String function, List<Entity> arguments) throws IOException
IOExceptionpublic void tryUpload(Map<String,Entity> variableObjectMap) throws IOException
IOExceptionpublic void upload(Map<String,Entity> variableObjectMap) throws IOException
IOExceptionpublic void close()
public String getHostName()
public int getPort()
public InetAddress getLocalAddress()
public boolean isConnected()
Copyright © 2019 DolphinDB. All rights reserved.