Package org.apache.derby.catalog.types
Class SynonymAliasInfo
java.lang.Object
org.apache.derby.catalog.types.SynonymAliasInfo
- All Implemented Interfaces:
Externalizable
,Serializable
,AliasInfo
,Formatable
,TypedFormat
Describe an S (Synonym) alias.
- See Also:
-
Field Summary
FieldsFields inherited from interface org.apache.derby.catalog.AliasInfo
ALIAS_NAME_SPACE_AGGREGATE_AS_CHAR, ALIAS_NAME_SPACE_AGGREGATE_AS_STRING, ALIAS_NAME_SPACE_FUNCTION_AS_CHAR, ALIAS_NAME_SPACE_FUNCTION_AS_STRING, ALIAS_NAME_SPACE_PROCEDURE_AS_CHAR, ALIAS_NAME_SPACE_PROCEDURE_AS_STRING, ALIAS_NAME_SPACE_SYNONYM_AS_CHAR, ALIAS_NAME_SPACE_SYNONYM_AS_STRING, ALIAS_NAME_SPACE_UDT_AS_CHAR, ALIAS_NAME_SPACE_UDT_AS_STRING, ALIAS_TYPE_AGGREGATE_AS_CHAR, ALIAS_TYPE_AGGREGATE_AS_STRING, ALIAS_TYPE_FUNCTION_AS_CHAR, ALIAS_TYPE_FUNCTION_AS_STRING, ALIAS_TYPE_PROCEDURE_AS_CHAR, ALIAS_TYPE_PROCEDURE_AS_STRING, ALIAS_TYPE_SYNONYM_AS_CHAR, ALIAS_TYPE_SYNONYM_AS_STRING, ALIAS_TYPE_UDT_AS_CHAR, ALIAS_TYPE_UDT_AS_STRING
-
Constructor Summary
ConstructorsConstructorDescriptionSynonymAliasInfo
(String schemaName, String tableName) Create a SynonymAliasInfo for synonym. -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the static method that the alias represents at the source database.int
Get the formatID which corresponds to this class.boolean
Return true if this alias is a Table Function.void
Read this object from a stream of stored objects.toString()
void
Write this object to a stream of stored objects.
-
Field Details
-
schemaName
-
tableName
-
-
Constructor Details
-
SynonymAliasInfo
public SynonymAliasInfo() -
SynonymAliasInfo
Create a SynonymAliasInfo for synonym.
-
-
Method Details
-
getSynonymTable
-
getSynonymSchema
-
isTableFunction
public boolean isTableFunction()Description copied from interface:AliasInfo
Return true if this alias is a Table Function.- Specified by:
isTableFunction
in interfaceAliasInfo
-
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
-
writeExternal
Write this object to a stream of stored objects.- Specified by:
writeExternal
in interfaceExternalizable
- Parameters:
out
- write bytes here.- Throws:
IOException
- 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
-
getMethodName
Description copied from interface:AliasInfo
Get the name of the static method that the alias represents at the source database. (Only meaningful for method aliases )- Specified by:
getMethodName
in interfaceAliasInfo
- Returns:
- The name of the static method that the alias represents at the source database.
-