java.lang.Object
io.xpipe.core.impl.StreamReadConnection
- All Implemented Interfaces:
DataSourceConnection,DataSourceReadConnection,AutoCloseable
- Direct Known Subclasses:
PeekTableStreamReadConnection,TextReadConnection,XpbsReadConnection,XpbtReadConnection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InputStreamprotected Readerprotected final StreamDataStore -
Constructor Summary
Constructors -
Method Summary
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.DataSourceReadConnection
forward
-
Field Details
-
store
-
inputStream
-
reader
-
-
Constructor Details
-
StreamReadConnection
-
-
Method Details
-
canRead
- Specified by:
canReadin interfaceDataSourceReadConnection- Throws:
Exception
-
init
Description copied from interface:DataSourceConnectionInitializes this connection. Required to be called exactly once prior to attempting to use this connection.- Specified by:
initin interfaceDataSourceConnection- Throws:
Exception
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceDataSourceConnection- Throws:
Exception
-