yangxk1 commented on issue #756:
URL:
https://github.com/apache/incubator-graphar/issues/756#issuecomment-3298678162
Do you think io level is a proxy for io? That is, an interface similar to
the following is provided at io level:
```
interface FileReader{
Array<Row> readFile(URI fileUri,Fileters filters,Projections
projections,...);
}
class ParquetReaderProxy implements FileReader{
public Array<Row> readFile(URI fileUri,Fileters filters,Projections
projections,...) {
//use apache-parquet library to read file
}
}
```
and in higher levels, we provide access interface:
```
class PorpertyGroupReader{
FileReader fileReader;
Array<Row> readFromFile(int chunkIndex, PropertyGroup pg, URI baseUri){
//use baseUri to openFile
//use chunkIndex to pushDown
//use pg to decoding properties
return fileReader.readFile(...,...,...)
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]