gnu.caf.db.impl
Class RchReport

java.lang.Object
  extended by gnu.caf.db.impl.RchReport
All Implemented Interfaces:
RowCallbackHandler

public class RchReport
extends java.lang.Object
implements RowCallbackHandler

RowCallbackHandler ÀÇ ±¸Çö Ŭ·¡½º·Î½á ResultSet 󸮽à Ä÷³¿¡ ÇØ´çÇÏ´Â µ¥ÀÌŸ¸¦ Attribute·Î ¹ÝȯÇÔ. ¡Ø /caf/samples/list_crosstab.jsp ¸¦ ÂüÁ¶.

Since:
1.0
Author:
ÀÌÈ£¼º
See Also:
RowCallbackHandler

Constructor Summary
RchReport()
           
 
Method Summary
 java.util.List convert(java.util.List orilist)
           
 java.util.List getRsList(java.sql.ResultSet rs, int startRow, int maxRows)
          ResultSet ¿¡ ´ëÇÏ¿© firstRow¿¡ ÇØ´çÇÏ´Â ¸¸Å­ rs.next() ó¸®ÈÄ maxResults ¸¸Å­ µ¥ÀÌŸ¸¦ ó¸®ÈÄ List¸¦ ¹ÝȯÇÔ.
 void setGroupByColumns(java.lang.String name, java.lang.String columns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RchReport

public RchReport()
Method Detail

convert

public java.util.List convert(java.util.List orilist)

getRsList

public java.util.List getRsList(java.sql.ResultSet rs,
                                int startRow,
                                int maxRows)
                         throws java.sql.SQLException
Description copied from interface: RowCallbackHandler
ResultSet ¿¡ ´ëÇÏ¿© firstRow¿¡ ÇØ´çÇÏ´Â ¸¸Å­ rs.next() ó¸®ÈÄ maxResults ¸¸Å­ µ¥ÀÌŸ¸¦ ó¸®ÈÄ List¸¦ ¹ÝȯÇÔ. maxResults °¡ -1 ÀÎ °æ¿ì¿¡´Â Àüü rs ¿¡ ´ëÇÏ¿© ó¸®ÈÄ List¸¦ ¹ÝȯÇÔ.

Specified by:
getRsList in interface RowCallbackHandler
Returns:
List
Throws:
java.sql.SQLException
See Also:
RowCallbackHandler.getRsList(ResultSet, int, int)

setGroupByColumns

public void setGroupByColumns(java.lang.String name,
                              java.lang.String columns)


Copyright © 2003 All Rights Reserved.