public class LensPersistentResult extends PersistentResultSet
Constructor and Description |
---|
LensPersistentResult(LensResultSetMetadata metadata,
String outputPath,
int numRows)
Instantiates a new lens persistent result.
|
Modifier and Type | Method and Description |
---|---|
LensResultSetMetadata |
getMetadata()
Get the result set metadata
|
String |
getOutputPath() |
int |
size()
Get the size of the result set.
|
toQueryResult
public LensPersistentResult(LensResultSetMetadata metadata, String outputPath, int numRows)
metadata
- the metadataoutputPath
- the output pathnumRows
- the num rowspublic String getOutputPath() throws LensException
getOutputPath
in class PersistentResultSet
LensException
public int size() throws LensException
LensResultSet
size
in class LensResultSet
LensException
- the lens exceptionpublic LensResultSetMetadata getMetadata() throws LensException
LensResultSet
getMetadata
in class LensResultSet
LensResultSetMetadata
LensException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.