Skip navigation links


com.essbase.api.datasource
Interface IEssMaxlColumnConvert

All Superinterfaces:
java.io.Serializable

public interface IEssMaxlColumnConvert
extends java.io.Serializable

Interface to facilitate custom data type conversion from Essbase internal type.

Author:
Satish Ramanavarapu Dec 29, 2008

Method Summary
 java.io.Serializable convert(java.io.Serializable FromBuffer, int IntType, int ExtType, java.util.Locale locale)
          MaxL implementation will call this function to facilitate custom type conversion.
 int getExternalType(int InternalType)
          MaxL implementation will call this function to identify the new external type for the specified Internal types.

 

Method Detail

convert

java.io.Serializable convert(java.io.Serializable FromBuffer,
                             int IntType,
                             int ExtType,
                             java.util.Locale locale)
MaxL implementation will call this function to facilitate custom type conversion. MaxL will invoke this function only if its defined, or else it will convert as per the default implementation
Parameters:
FromBuffer - - this buffer has the data from Essbase
IntType - - the internal type of data
ExtType - - the external type to which conversion should happen
locale - - the locale for string values
Returns:
Serializable - the java data type into which the data is converted to

getExternalType

int getExternalType(int InternalType)
MaxL implementation will call this function to identify the new external type for the specified Internal types.
Parameters:
InternalType - - the internal type for which external type is required
Returns:
ExternalType, the custom type

Skip navigation links