|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> [ sql overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.impl.sql
Class CursorInfo

java.lang.Objectorg.apache.derby.impl.sql.CursorInfo
- All Implemented Interfaces:
- java.io.Externalizable, org.apache.derby.iapi.services.io.Formatable, java.io.Serializable, org.apache.derby.iapi.services.io.TypedFormat
- public class CursorInfo
- extends java.lang.Object
- implements org.apache.derby.iapi.services.io.Formatable
- extends java.lang.Object
A basic holder for information about cursors for execution.
| Field Summary | |
(package private) org.apache.derby.iapi.sql.ResultColumnDescriptor[] |
targetColumns
|
(package private) org.apache.derby.iapi.sql.execute.ExecCursorTableReference |
targetTable
This class implements Formatable. |
(package private) java.lang.String[] |
updateColumns
|
(package private) int |
updateMode
|
| Constructor Summary | |
CursorInfo()
Niladic constructor for Formatable |
|
CursorInfo(int updateMode,
org.apache.derby.iapi.sql.execute.ExecCursorTableReference targetTable,
org.apache.derby.iapi.sql.ResultColumnDescriptor[] targetColumns,
java.lang.String[] updateColumns)
|
|
| Method Summary | |
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
void |
writeExternal(java.io.ObjectOutput out)
Write this object out |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
targetTable
org.apache.derby.iapi.sql.execute.ExecCursorTableReference targetTable
- This class implements Formatable. That means that it
can write itself to and from a formatted stream. If
you add more fields to this class, make sure that you
also write/read them with the writeExternal()/readExternal()
methods.
If, inbetween releases, you add more fields to this class,
then you should bump the version number emitted by the getTypeFormatId()
method.
targetColumns
org.apache.derby.iapi.sql.ResultColumnDescriptor[] targetColumns
updateColumns
java.lang.String[] updateColumns
updateMode
int updateMode
| Constructor Detail |
CursorInfo
public CursorInfo()
- Niladic constructor for Formatable
CursorInfo
public CursorInfo(int updateMode,
org.apache.derby.iapi.sql.execute.ExecCursorTableReference targetTable,
org.apache.derby.iapi.sql.ResultColumnDescriptor[] targetColumns,
java.lang.String[] updateColumns)
| Method Detail |
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
- Write this object out
- Specified by:
writeExternalin interfacejava.io.Externalizable
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Specified by:
readExternalin interfacejava.io.Externalizable
getTypeFormatId
public int getTypeFormatId()
- Get the formatID which corresponds to this class.
- Specified by:
getTypeFormatIdin interfaceorg.apache.derby.iapi.services.io.TypedFormat
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> [ sql overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.derby.impl.sql.CursorInfo