|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
simpledb.remote.RemoteResultSetImpl
class RemoteResultSetImpl
The RMI server-side implementation of RemoteResultSet.
| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
RemoteResultSetImpl(Plan plan,
RemoteConnectionImpl rconn)
Creates a RemoteResultSet object. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the result set by closing its scan. |
int |
getInt(java.lang.String fldname)
Returns the integer value of the specified field, by returning the corresponding value on the saved scan. |
RemoteMetaData |
getMetaData()
Returns the result set's metadata, by passing its schema into the RemoteMetaData constructor. |
java.lang.String |
getString(java.lang.String fldname)
Returns the integer value of the specified field, by returning the corresponding value on the saved scan. |
boolean |
next()
Moves to the next record in the result set, by moving to the next record in the saved scan. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteResultSetImpl(Plan plan,
RemoteConnectionImpl rconn)
throws java.rmi.RemoteException
plan - the query planrconn - TODO
java.rmi.RemoteException| Method Detail |
|---|
public boolean next()
throws java.rmi.RemoteException
next in interface RemoteResultSetjava.rmi.RemoteExceptionRemoteResultSet.next()
public int getInt(java.lang.String fldname)
throws java.rmi.RemoteException
getInt in interface RemoteResultSetjava.rmi.RemoteExceptionRemoteResultSet.getInt(java.lang.String)
public java.lang.String getString(java.lang.String fldname)
throws java.rmi.RemoteException
getString in interface RemoteResultSetjava.rmi.RemoteExceptionRemoteResultSet.getInt(java.lang.String)
public RemoteMetaData getMetaData()
throws java.rmi.RemoteException
getMetaData in interface RemoteResultSetjava.rmi.RemoteExceptionRemoteResultSet.getMetaData()
public void close()
throws java.rmi.RemoteException
close in interface RemoteResultSetjava.rmi.RemoteExceptionRemoteResultSet.close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||