Package org.yamcs.yarch
Class TableWriter
java.lang.Object
org.yamcs.yarch.TableWriter
- All Implemented Interfaces:
StreamSubscriber
- Direct Known Subclasses:
RdbTableWriter
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final TableWriter.InsertMode
protected final Table
protected final YarchDatabaseInstance
-
Constructor Summary
ConstructorDescriptionTableWriter
(YarchDatabaseInstance ydb, Table table, TableWriter.InsertMode mode) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.yarch.StreamSubscriber
onTuple, streamClosed
-
Field Details
-
table
-
mode
-
ydb
-
-
Constructor Details
-
TableWriter
-
-
Method Details
-
closeFuture
future which will be called (completed) when the writer is closed.- Returns:
-
close
public void close()close writer and any open resourcescall the close future after closing has been completed
-
doClose
protected abstract void doClose()
-