public class AggregateAliasInfo extends java.lang.Object implements AliasInfo, Formatable
AliasInfo,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private TypeDescriptor |
_forType |
private TypeDescriptor |
_returnType |
private static int |
FIRST_VERSION |
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 and Description |
|---|
AggregateAliasInfo()
no-arg constructor for Formatable machinery
|
AggregateAliasInfo(TypeDescriptor forType,
TypeDescriptor returnType)
Construct from pieces
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescriptor |
getForType() |
java.lang.String |
getMethodName()
Get the name of the static method that the alias
represents at the source database.
|
TypeDescriptor |
getReturnType() |
int |
getTypeFormatId()
Get the formatID which corresponds to this class.
|
boolean |
isTableFunction()
Return true if this alias is a Table Function.
|
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects.
|
void |
setCollationTypeForAllStringTypes(int collationType)
Set the collation type for string input and return types.
|
java.lang.String |
toString()
This is used by dblook to reconstruct the aggregate-specific parts of the ddl
needed to recreate this alias.
|
void |
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects.
|
private static final int FIRST_VERSION
private TypeDescriptor _forType
private TypeDescriptor _returnType
public AggregateAliasInfo()
public AggregateAliasInfo(TypeDescriptor forType, TypeDescriptor returnType)
public boolean isTableFunction()
AliasInfoisTableFunction in interface AliasInfopublic TypeDescriptor getForType()
public TypeDescriptor getReturnType()
public void setCollationTypeForAllStringTypes(int collationType)
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - read this.java.io.IOException - thrown on errorjava.lang.ClassNotFoundException - thrown on errorpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes here.java.io.IOException - thrown on errorpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormatpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getMethodName()
AliasInfogetMethodName in interface AliasInfoApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.