public class MultithreadedTableWriter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MultithreadedTableWriter.Mode |
static class |
MultithreadedTableWriter.Status |
static class |
MultithreadedTableWriter.ThreadStatus |
| Constructor and Description |
|---|
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
boolean enableActualSendTime) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
boolean enableActualSendTime,
boolean reconnect) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
boolean enableActualSendTime,
boolean reconnect,
int tryReconnectNums) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
boolean enableActualSendTime) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
boolean enableActualSendTime,
boolean reconnect) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
boolean enableActualSendTime,
boolean reconnect,
int tryReconnectNums) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
Callback callbackHandler) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
Callback callbackHandler,
boolean enableActualSendTime) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
Callback callbackHandler,
boolean enableActualSendTime,
boolean reconnect) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
Callback callbackHandler,
boolean enableActualSendTime,
boolean reconnect,
int tryReconnectNums) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
MultithreadedTableWriter.Mode mode,
String[] pModeOption) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
MultithreadedTableWriter.Mode mode,
String[] pModeOption,
boolean enableActualSendTime) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
MultithreadedTableWriter.Mode mode,
String[] pModeOption,
boolean enableActualSendTime,
boolean reconnect) |
MultithreadedTableWriter(String hostName,
int port,
String userId,
String password,
String dbName,
String tableName,
boolean useSSL,
boolean enableHighAvailability,
String[] highAvailabilitySites,
int batchSize,
float throttle,
int threadCount,
String partitionCol,
int[] compressTypes,
MultithreadedTableWriter.Mode mode,
String[] pModeOption,
boolean enableActualSendTime,
boolean reconnect,
int tryReconnectNums) |
| Modifier and Type | Method and Description |
|---|---|
List<List<Entity>> |
getFailedData() |
MultithreadedTableWriter.Status |
getStatus() |
List<List<Entity>> |
getUnwrittenData() |
ErrorCodeInfo |
insert(Object... args) |
ErrorCodeInfo |
insertUnwrittenData(List<List<Entity>> records) |
void |
waitForThreadCompletion() |
public MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, MultithreadedTableWriter.Mode mode, String[] pModeOption) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, Callback callbackHandler) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, MultithreadedTableWriter.Mode mode, String[] pModeOption, boolean enableActualSendTime) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, boolean enableActualSendTime) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, boolean enableActualSendTime) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, Callback callbackHandler, boolean enableActualSendTime) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, MultithreadedTableWriter.Mode mode, String[] pModeOption, boolean enableActualSendTime, boolean reconnect) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, boolean enableActualSendTime, boolean reconnect) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, boolean enableActualSendTime, boolean reconnect) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, Callback callbackHandler, boolean enableActualSendTime, boolean reconnect) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, MultithreadedTableWriter.Mode mode, String[] pModeOption, boolean enableActualSendTime, boolean reconnect, int tryReconnectNums) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, boolean enableActualSendTime, boolean reconnect, int tryReconnectNums) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, boolean enableActualSendTime, boolean reconnect, int tryReconnectNums) throws Exception
Exceptionpublic MultithreadedTableWriter(String hostName, int port, String userId, String password, String dbName, String tableName, boolean useSSL, boolean enableHighAvailability, String[] highAvailabilitySites, int batchSize, float throttle, int threadCount, String partitionCol, int[] compressTypes, Callback callbackHandler, boolean enableActualSendTime, boolean reconnect, int tryReconnectNums) throws Exception
Exceptionpublic List<List<Entity>> getFailedData() throws InterruptedException
InterruptedExceptionpublic MultithreadedTableWriter.Status getStatus()
public void waitForThreadCompletion()
throws InterruptedException
InterruptedExceptionpublic ErrorCodeInfo insertUnwrittenData(List<List<Entity>> records)
public ErrorCodeInfo insert(Object... args)
Copyright © 2026 DolphinDB. All rights reserved.