com.akiban.sql.types
Class MethodAliasInfo

java.lang.Object
  extended by com.akiban.sql.types.MethodAliasInfo
All Implemented Interfaces:
AliasInfo
Direct Known Subclasses:
RoutineAliasInfo

public class MethodAliasInfo
extends Object
implements AliasInfo

Describe a method alias.

See Also:
AliasInfo

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.akiban.sql.types.AliasInfo
AliasInfo.Type
 
Constructor Summary
MethodAliasInfo(String methodName)
          Create a MethodAliasInfo
 
Method Summary
 String getMethodName()
          Get the name of the static method that the alias represents at the source database.
 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

MethodAliasInfo

public MethodAliasInfo(String methodName)
Create a MethodAliasInfo

Parameters:
methodName - The name of the method for the alias.
Method Detail

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.
See Also:
AliasInfo.getMethodName()

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


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