|
||||||||||
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 RemoteResultSet
java.rmi.RemoteException
RemoteResultSet.next()
public int getInt(java.lang.String fldname) throws java.rmi.RemoteException
getInt
in interface RemoteResultSet
java.rmi.RemoteException
RemoteResultSet.getInt(java.lang.String)
public java.lang.String getString(java.lang.String fldname) throws java.rmi.RemoteException
getString
in interface RemoteResultSet
java.rmi.RemoteException
RemoteResultSet.getInt(java.lang.String)
public RemoteMetaData getMetaData() throws java.rmi.RemoteException
getMetaData
in interface RemoteResultSet
java.rmi.RemoteException
RemoteResultSet.getMetaData()
public void close() throws java.rmi.RemoteException
close
in interface RemoteResultSet
java.rmi.RemoteException
RemoteResultSet.close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |