org.apache.lens.server.query
Class LensPersistentResult

java.lang.Object
  extended by org.apache.lens.server.api.driver.LensResultSet
      extended by org.apache.lens.server.api.driver.PersistentResultSet
          extended by org.apache.lens.server.query.LensPersistentResult

public class LensPersistentResult
extends PersistentResultSet

The Class LensPersistentResult.


Constructor Summary
LensPersistentResult(LensResultSetMetadata metadata, String outputPath, int numRows)
          Instantiates a new lens persistent result.
 
Method Summary
 LensResultSetMetadata getMetadata()
           
 String getOutputPath()
           
 int size()
           
 
Methods inherited from class org.apache.lens.server.api.driver.PersistentResultSet
toQueryResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LensPersistentResult

public LensPersistentResult(LensResultSetMetadata metadata,
                            String outputPath,
                            int numRows)
Instantiates a new lens persistent result.

Parameters:
metadata - the metadata
outputPath - the output path
numRows - the num rows
Method Detail

getOutputPath

public String getOutputPath()
                     throws org.apache.lens.api.LensException
Specified by:
getOutputPath in class PersistentResultSet
Throws:
org.apache.lens.api.LensException

size

public int size()
         throws org.apache.lens.api.LensException
Specified by:
size in class LensResultSet
Throws:
org.apache.lens.api.LensException

getMetadata

public LensResultSetMetadata getMetadata()
                                  throws org.apache.lens.api.LensException
Specified by:
getMetadata in class LensResultSet
Throws:
org.apache.lens.api.LensException


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.