Package org.gridgain.internal.sql.copy
Interface Reader
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
CsvReader,IcebergParquetReader,IcebergReader,SelectReader,TableReader
Generic interface for reading data from a source.
-
Method Summary
Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
hasNext
boolean hasNext()Returnstrueif the reader has more rows to read.- Returns:
- true if there is more data to read.
-
next
List<?> next()Returns the next row of data. -
columns
Returns metadata of the fields returned by the query. For now, it makes sense only for TableReader because writers (except TableWriter which doesn't infer schema) use this field metadata to create table schema.
-