Package org.apache.derby.impl.sql
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.int
Get the formatID which corresponds to this class.void
Read this object from a stream of stored objects.toString()
void
Write 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:
getBaseName
in 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:
getExposedName
in interfaceExecCursorTableReference
- Returns:
- the base name
-
getSchemaName
Return the schema for the table.- Specified by:
getSchemaName
in interfaceExecCursorTableReference
- Returns:
- the schema name
-
writeExternal
Write this object out- Specified by:
writeExternal
in interfaceExternalizable
- Parameters:
out
- write bytes here- Throws:
IOException
- thrown on error
-
readExternal
Read this object from a stream of stored objects.- Specified by:
readExternal
in 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:
getTypeFormatId
in interfaceTypedFormat
- Returns:
- the formatID of this class
-
toString
-