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.
|
toQueryResult
public 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 PersistentResultSet
LensException
public Integer size() throws LensException
LensResultSet
size
in class LensResultSet
LensException
- the lens exceptionpublic Long fileSize() throws LensException
PersistentResultSet
fileSize
in class PersistentResultSet
LensException
- the lens exceptionpublic LensResultSetMetadata getMetadata() throws LensException
LensResultSet
getMetadata
in class LensResultSet
LensResultSetMetadata
LensException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.