Package org.voltdb.stream.api.volt
Class BulkVoltStreamSinkConfigurator
java.lang.Object
org.voltdb.stream.api.volt.AbstractVoltStreamSinkConfigurator<Object[],BulkVoltStreamSinkConfigurator>
org.voltdb.stream.api.volt.BulkVoltStreamSinkConfigurator
- All Implemented Interfaces:
OperatorConfigurator
,VoltStreamSinkConfigurator<Object[]>
public class BulkVoltStreamSinkConfigurator
extends AbstractVoltStreamSinkConfigurator<Object[],BulkVoltStreamSinkConfigurator>
-
Field Summary
Fields inherited from class org.voltdb.stream.api.volt.AbstractVoltStreamSinkConfigurator
DEFAULT_HOST, VOLTDB_CLIENT_PORT
-
Constructor Summary
ConstructorDescriptionBulkVoltStreamSinkConfigurator
(int batchSize, int flushInterval, String tableName) -
Method Summary
Modifier and TypeMethodDescriptionaSink()
int
int
withBatchSize
(int batchSize) withFlushInterval
(int flushInterval) withOperationType
(VoltBulkOperationType operationType) withTableName
(String tableName) Methods inherited from class org.voltdb.stream.api.volt.AbstractVoltStreamSinkConfigurator
emptyToNull, fromHostPortProperties, getExceptionHandler, getHostAndPorts, self, withExceptionHandler, withHostAndPort, withHostAndStandardPort
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.voltdb.stream.api.extension.OperatorConfigurator
configure, getConfiguration
-
Field Details
-
MAX_BATCH_SIZE
public static final int MAX_BATCH_SIZE -
FLUSH_INTERVAL
public static final int FLUSH_INTERVAL -
DEFAULT_TABLE_NAME
-
-
Constructor Details
-
BulkVoltStreamSinkConfigurator
public BulkVoltStreamSinkConfigurator() -
BulkVoltStreamSinkConfigurator
-
-
Method Details
-
aSink
-
withBatchSize
-
withFlushInterval
-
withTableName
-
withOperationType
-
getTableName
-
getBatchSize
public int getBatchSize() -
getFlushInterval
public int getFlushInterval() -
getOperationType
-