public class LensPersistentResult extends PersistentResultSet
| Constructor and Description |
|---|
LensPersistentResult(LensResultSetMetadata metadata,
String outputPath,
Integer numRows,
Long fileSize)
Instantiates a new lens persistent result.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
fileSize()
Get the size of the result set file.
|
LensResultSetMetadata |
getMetadata()
Get the result set metadata
|
String |
getOutputPath() |
Integer |
size()
Get the size of the result set.
|
toQueryResultpublic LensPersistentResult(LensResultSetMetadata metadata, String outputPath, Integer numRows, Long fileSize)
metadata - the metadataoutputPath - the output pathnumRows - the num rowspublic String getOutputPath() throws LensException
getOutputPath in class PersistentResultSetLensExceptionpublic Integer size() throws LensException
LensResultSetsize in class LensResultSetLensException - the lens exceptionpublic Long fileSize() throws LensException
PersistentResultSetfileSize in class PersistentResultSetLensException - the lens exceptionpublic LensResultSetMetadata getMetadata() throws LensException
LensResultSetgetMetadata in class LensResultSetLensResultSetMetadataLensExceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.