com.akiban.sql.types
Class SynonymAliasInfo

java.lang.Object
  extended by com.akiban.sql.types.SynonymAliasInfo
All Implemented Interfaces:
AliasInfo

public class SynonymAliasInfo
extends Object
implements AliasInfo

Describe an S (Synonym) alias.

See Also:
AliasInfo

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.akiban.sql.types.AliasInfo
AliasInfo.Type
 
Constructor Summary
SynonymAliasInfo(String schemaName, String tableName)
          Create a SynonymAliasInfo for synonym.
 
Method Summary
 String getMethodName()
          Get the name of the static method that the alias represents at the source database.
 String getSynonymSchema()
           
 String getSynonymTable()
           
 boolean isTableFunction()
          Return true if this alias is a Table Function.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SynonymAliasInfo

public SynonymAliasInfo(String schemaName,
                        String tableName)
Create a SynonymAliasInfo for synonym.

Method Detail

getSynonymTable

public String getSynonymTable()

getSynonymSchema

public String getSynonymSchema()

isTableFunction

public boolean isTableFunction()
Description copied from interface: AliasInfo
Return true if this alias is a Table Function.

Specified by:
isTableFunction in interface AliasInfo

toString

public String toString()
Overrides:
toString in class Object

getMethodName

public String 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 interface AliasInfo
Returns:
The name of the static method that the alias represents at the source database.


Copyright © 2013 Akiban Technologies, Inc. All rights reserved.