javax.servlet.jsp.jstl.sql
Interface Result


public interface Result

A class implementing this interface creates a cached version of a ResultSet. It's represented as a Result implementation, capable of returning an array of Row objects containing a Column instance for each column in the row.


Method Summary
 ResultMetaData getMetaData()
          Returns the ResultMetaData object of the cached ResultSet
 Row[] getRows()
          Returns an array of Row objects.
 int getSize()
          Returns the number of rows in the cached ResultSet
 boolean isLimitedByMaxRows()
          Returns true of the query was limited by a maximum row setting
 

Method Detail

getRows

public Row[] getRows()
Returns an array of Row objects.

getMetaData

public ResultMetaData getMetaData()
Returns the ResultMetaData object of the cached ResultSet

getSize

public int getSize()
Returns the number of rows in the cached ResultSet

isLimitedByMaxRows

public boolean isLimitedByMaxRows()
Returns true of the query was limited by a maximum row setting