Class MultiSourceReader

java.lang.Object
java.io.Reader
graphql.parser.MultiSourceReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable

@PublicApi public class MultiSourceReader extends Reader
This reader allows you to read N number readers and combine them as one logical reader however you can then map back to the underlying readers in terms of their source name and the relative lines numbers. It can also track all data in memory if you want to have all of the previous read data in place at some point in time.