Search in sources :

Example 1 with RowSetReaderImpl

use of org.apache.drill.exec.physical.rowSet.RowSetReaderImpl in project drill by apache.

the class SimpleReaderBuilder method build.

public static RowSetReaderImpl build(VectorContainer container, ReaderIndex rowIndex) {
    MetadataCreator mdCreator = new MetadataCreator();
    List<AbstractObjectReader> children = INSTANCE.buildContainerChildren(container, mdCreator);
    return new RowSetReaderImpl(mdCreator.tuple(), rowIndex, children);
}
Also used : AbstractObjectReader(org.apache.drill.exec.vector.accessor.reader.AbstractObjectReader) RowSetReaderImpl(org.apache.drill.exec.physical.rowSet.RowSetReaderImpl) MetadataCreator(org.apache.drill.exec.physical.resultSet.model.MetadataProvider.MetadataCreator)

Aggregations

MetadataCreator (org.apache.drill.exec.physical.resultSet.model.MetadataProvider.MetadataCreator)1 RowSetReaderImpl (org.apache.drill.exec.physical.rowSet.RowSetReaderImpl)1 AbstractObjectReader (org.apache.drill.exec.vector.accessor.reader.AbstractObjectReader)1