com.mungoknotwise.sqlcli
Class PrintStreamedUpdateRowcountHandler

java.lang.Object
  |
  +--com.mungoknotwise.sqlcli.BasicPrintStreamed
        |
        +--com.mungoknotwise.sqlcli.PrintStreamedUpdateRowcountHandler
All Implemented Interfaces:
PrintStreamed, UpdateRowcountHandler

public class PrintStreamedUpdateRowcountHandler
extends BasicPrintStreamed
implements UpdateRowcountHandler

Implementation of UpdateRowcountHandler that writes the rowcount to the object's print streams.

Version:
$Id: PrintStreamedUpdateRowcountHandler.java,v 1.1.1.1 2004/07/28 01:12:38 mungoknotwise Exp $
Author:
Steven Caswell

Constructor Summary
PrintStreamedUpdateRowcountHandler()
          Constructs a new instance of PrintStreamedUpdateRowcountHandler.
 
Method Summary
 void handleRowcount(int rowCount)
          Handles the rowcount from the SQL update query. This includes any non-SELECT statements.
 
Methods inherited from class com.mungoknotwise.sqlcli.BasicPrintStreamed
addPrintStream, print, println, removePrintStream, streamIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintStreamedUpdateRowcountHandler

public PrintStreamedUpdateRowcountHandler()
Constructs a new instance of PrintStreamedUpdateRowcountHandler.

Method Detail

handleRowcount

public void handleRowcount(int rowCount)
Handles the rowcount from the SQL update query. This includes any non-SELECT statements.

Specified by:
handleRowcount in interface UpdateRowcountHandler
Parameters:
rowCount - the row count from the update


Copyright © 2004 Steven Caswell. All Rights Reserved.