This project has retired. For details please refer to its Attic page.
InMemoryOutputFormatter (Lens 2.0.1-beta-incubating API)

org.apache.lens.server.api.query
Interface InMemoryOutputFormatter

All Superinterfaces:
QueryOutputFormatter
All Known Implementing Classes:
FileSerdeFormatter

public interface InMemoryOutputFormatter
extends QueryOutputFormatter

Query result formatter, if the result from driver is in in-memory.


Method Summary
 void writeRow(ResultRow row)
          Write a row of the result.
 
Methods inherited from interface org.apache.lens.server.api.query.QueryOutputFormatter
close, commit, getFinalOutputPath, getMetadata, getNumRows, init, writeFooter, writeHeader
 

Method Detail

writeRow

void writeRow(ResultRow row)
              throws IOException
Write a row of the result.

Parameters:
row - ResultRow object
Throws:
IOException - Signals that an I/O exception has occurred.


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.