java.lang.Object
io.xpipe.core.impl.StreamReadConnection
io.xpipe.core.impl.XpbtReadConnection
- All Implemented Interfaces:
DataSourceConnection,DataSourceReadConnection,TableReadConnection,AutoCloseable
-
Field Summary
Fields inherited from class io.xpipe.core.impl.StreamReadConnection
inputStream, reader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanRead()Returns the data type of the table data.voidinit()Initializes this connection.voidwithRows(DataStructureNodeAcceptor<TupleNode> lineAcceptor) Consumes the table rows until the acceptor returns false.Methods inherited from class io.xpipe.core.impl.StreamReadConnection
closeMethods 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
closeMethods inherited from interface io.xpipe.core.source.TableReadConnection
buffered, buffered, forward, forwardAndCount, forwardRows, getRowCount, limit, readRows
-
Constructor Details
-
XpbtReadConnection
-
-
Method Details
-
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- Overrides:
initin classStreamReadConnection- Throws:
Exception
-
getDataType
Description copied from interface:TableReadConnectionReturns the data type of the table data.- Specified by:
getDataTypein interfaceTableReadConnection
-
withRows
Description copied from interface:TableReadConnectionConsumes the table rows until the acceptor returns false.- Specified by:
withRowsin interfaceTableReadConnection- Throws:
Exception
-
canRead
- Specified by:
canReadin interfaceDataSourceReadConnection- Overrides:
canReadin classStreamReadConnection- Throws:
Exception
-