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

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

All Superinterfaces:
QueryOutputFormatter
All Known Implementing Classes:
FilePersistentFormatter

public interface PersistedOutputFormatter
extends QueryOutputFormatter

Query result formatter, if the result is persisted by driver.


Method Summary
 void addRowsFromPersistedPath(org.apache.hadoop.fs.Path persistedPath)
          Add result rows from the persisted path.
 
Methods inherited from interface org.apache.lens.server.api.query.QueryOutputFormatter
close, commit, getFinalOutputPath, getMetadata, getNumRows, init, writeFooter, writeHeader
 

Method Detail

addRowsFromPersistedPath

void addRowsFromPersistedPath(org.apache.hadoop.fs.Path persistedPath)
                              throws IOException
Add result rows from the persisted path.

Parameters:
persistedPath - the persisted path
Throws:
IOException - Signals that an I/O exception has occurred.


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