public class AggregateAliasInfo extends java.lang.Object implements AliasInfo, Formatable
AliasInfo
,
Serialized FormModifier 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()
AliasInfo
isTableFunction
in interface AliasInfo
public 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.Externalizable
in
- 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.Externalizable
out
- write bytes here.java.io.IOException
- thrown on errorpublic int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getMethodName()
AliasInfo
getMethodName
in interface AliasInfo
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.