protected static class ResultImpl.UpdateCountReturn extends Object implements UpdateCountReturn
Constructor and Description |
---|
ResultImpl.UpdateCountReturn(ResultImpl result,
int updateCount) |
Modifier and Type | Method and Description |
---|---|
int |
getUpdateCount()
Retrieve the associated update count
|
boolean |
isResultSet()
Determine if this return is a result (castable to
ResultSetReturn ). |
public ResultImpl.UpdateCountReturn(ResultImpl result, int updateCount)
public int getUpdateCount()
UpdateCountReturn
getUpdateCount
in interface UpdateCountReturn
public boolean isResultSet()
Return
ResultSetReturn
). The alternative is that it is
an update count (castable to UpdateCountReturn
).isResultSet
in interface Return
true
indicates that this
can be safely cast to ResultSetReturn
), other wise
it can be cast to UpdateCountReturn
.Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.