org.apache.lens.server.query
Class LensPersistentResult
java.lang.Object
org.apache.lens.server.api.driver.LensResultSet
org.apache.lens.server.api.driver.PersistentResultSet
org.apache.lens.server.query.LensPersistentResult
public class LensPersistentResult
- extends PersistentResultSet
The Class LensPersistentResult.
LensPersistentResult
public LensPersistentResult(LensResultSetMetadata metadata,
String outputPath,
int numRows)
- Instantiates a new lens persistent result.
- Parameters:
metadata - the metadataoutputPath - the output pathnumRows - the num rows
getOutputPath
public String getOutputPath()
throws LensException
- Specified by:
getOutputPath in class PersistentResultSet
- Throws:
LensException
size
public int size()
throws LensException
- Description copied from class:
LensResultSet
- Get the size of the result set.
- Specified by:
size in class LensResultSet
- Returns:
- The size if available, -1 if not available.
- Throws:
LensException - the lens exception
getMetadata
public LensResultSetMetadata getMetadata()
throws LensException
- Description copied from class:
LensResultSet
- Get the result set metadata
- Specified by:
getMetadata in class LensResultSet
- Returns:
- Returns
LensResultSetMetadata
- Throws:
LensException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.