java.lang.Object
io.xpipe.core.impl.BufferedTableReadConnection
- All Implemented Interfaces:
DataSourceConnection,DataSourceReadConnection,TableReadConnection,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanRead()voidclose()Returns the data type of the table data.Returns the amount of rows to be read or -1 if the amount is unknown.voidwithRows(DataStructureNodeAcceptor<TupleNode> lineAcceptor) Consumes the table rows until the acceptor returns false.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.TableReadConnection
buffered, buffered, forward, forwardAndCount, forwardRows, limit, readRows
-
Constructor Details
-
BufferedTableReadConnection
- Throws:
Exception
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceDataSourceConnection- Throws:
Exception
-
getDataType
Description copied from interface:TableReadConnectionReturns the data type of the table data.- Specified by:
getDataTypein interfaceTableReadConnection
-
getRowCount
Description copied from interface:TableReadConnectionReturns the amount of rows to be read or -1 if the amount is unknown.- Specified by:
getRowCountin interfaceTableReadConnection- Throws:
Exception
-
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- Throws:
Exception
-