Class CursorInfo
java.lang.Object
org.apache.derby.impl.sql.CursorInfo
- All Implemented Interfaces:
Externalizable, Serializable, Formatable, TypedFormat
A basic holder for information about cursors
for execution.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ExecCursorTableReferenceThis class implements Formatable.(package private) int -
Constructor Summary
ConstructorsConstructorDescriptionNiladic constructor for FormatableCursorInfo(int updateMode, ExecCursorTableReference targetTable, List<String> updateColumns) -
Method Summary
Modifier and TypeMethodDescriptionintGet the formatID which corresponds to this class.voidRead this object from a stream of stored objects.toString()voidWrite this object out
-
Field Details
-
targetTable
ExecCursorTableReference targetTableThis 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. -
updateColumns
-
updateMode
int updateMode
-
-
Constructor Details
-
CursorInfo
public CursorInfo()Niladic constructor for Formatable -
CursorInfo
-
-
Method Details
-
writeExternal
Write this object out- Specified by:
writeExternalin interfaceExternalizable- Parameters:
out- write bytes here- Throws:
IOException- thrown on error
-
readExternal
Read this object from a stream of stored objects.- Specified by:
readExternalin interfaceExternalizable- Parameters:
in- read this.- Throws:
IOException- thrown on errorClassNotFoundException- thrown on error
-
getTypeFormatId
public int getTypeFormatId()Get the formatID which corresponds to this class.- Specified by:
getTypeFormatIdin interfaceTypedFormat- Returns:
- the formatID of this class
-
toString
-