Class CursorTableReference
java.lang.Object
org.apache.derby.impl.sql.CursorTableReference
- All Implemented Interfaces:
Externalizable, Serializable, Formatable, TypedFormat, ExecCursorTableReference
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNiladic constructor for FormatableCursorTableReference(String exposedName, String baseName, String schemaName) -
Method Summary
Modifier and TypeMethodDescriptionReturn the base name of the tableReturn the exposed name of the table.Return the schema for the table.intGet the formatID which corresponds to this class.voidRead this object from a stream of stored objects.toString()voidWrite this object out
-
Field Details
-
exposedName
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. -
baseName
-
schemaName
-
-
Constructor Details
-
CursorTableReference
public CursorTableReference()Niladic constructor for Formatable -
CursorTableReference
-
-
Method Details
-
getBaseName
Return the base name of the table- Specified by:
getBaseNamein interfaceExecCursorTableReference- Returns:
- the base name
-
getExposedName
Return the exposed name of the table. Exposed name is another term for correlation name. If there is no correlation, this will return the base name.- Specified by:
getExposedNamein interfaceExecCursorTableReference- Returns:
- the base name
-
getSchemaName
Return the schema for the table.- Specified by:
getSchemaNamein interfaceExecCursorTableReference- Returns:
- the schema name
-
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
-