java.lang.Object
io.xpipe.core.impl.BatchTableWriteConnection
- All Implemented Interfaces:
DataSourceConnection,TableWriteConnection,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()protected abstract voidonClose(TableMapping mapping) protected abstract DataStructureNodeAcceptor<ArrayNode>writeBatchLinesAcceptor(TableMapping mapping) writeLinesAcceptor(TableMapping mapping) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.xpipe.core.source.DataSourceConnection
initMethods inherited from interface io.xpipe.core.source.TableWriteConnection
createMapping
-
Field Details
-
DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE- See Also:
-
batchSize
protected final int batchSize- See Also:
-
-
Constructor Details
-
BatchTableWriteConnection
public BatchTableWriteConnection()
-
-
Method Details
-
writeLinesAcceptor
- Specified by:
writeLinesAcceptorin interfaceTableWriteConnection
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceDataSourceConnection- Throws:
Exception
-
onClose
- Throws:
Exception
-
writeBatchLinesAcceptor
protected abstract DataStructureNodeAcceptor<ArrayNode> writeBatchLinesAcceptor(TableMapping mapping)
-