public abstract class AbstractOutputFormatter extends Object implements QueryOutputFormatter
| Modifier and Type | Field and Description |
|---|---|
static String |
HEADER_TYPE
The Constant HEADER_TYPE.
|
| Constructor and Description |
|---|
AbstractOutputFormatter() |
| Modifier and Type | Method and Description |
|---|---|
LensResultSetMetadata |
getMetadata()
Get resultset metadata
|
void |
init(QueryContext ctx,
LensResultSetMetadata metadata)
Initialize the formatter.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, commit, getFileSize, getFinalOutputPath, getNumRows, writeFooter, writeHeaderreadExternal, writeExternalpublic static final String HEADER_TYPE
public void init(QueryContext ctx, LensResultSetMetadata metadata) throws IOException
QueryOutputFormatterinit in interface QueryOutputFormatterctx - The QueryContext objectmetadata - LensResultSetMetadata objectIOException - Signals that an I/O exception has occurred.public LensResultSetMetadata getMetadata()
QueryOutputFormattergetMetadata in interface QueryOutputFormatterLensResultSetMetadataCopyright © 2014–2016 Apache Software Foundation. All rights reserved.