Skip navigation links


com.essbase.eas.essbase.api.jni
Class DataPrepJni

java.lang.Object
  extended by com.essbase.eas.essbase.api.jni.DataPrepJni


public final class DataPrepJni
extends java.lang.Object

Constructor Summary
DataPrepJni()
           

 

Method Summary
 int actionCreate(ContextHandle handle, java.lang.String recordStr, short newColumn, short numColumns, short[] columnList, java.util.ArrayList fieldList)
           
 int actionCreateText(ContextHandle handle, java.lang.String recordStr, short newColumn, java.lang.String text, java.util.ArrayList fieldList)
           
 int actionJoin(ContextHandle handle, java.lang.String recordStr, short numColumns, short[] columnList, java.util.ArrayList fieldList)
           
 int actionMove(ContextHandle handle, java.lang.String recordStr, short columnNum, short newColumnNum, java.util.ArrayList fieldList)
           
 int actionSplit(ContextHandle handle, java.lang.String recordStr, short columnNum, short numChars, java.util.ArrayList fieldList)
           
 int applyDelimiter(ContextHandle handle, java.lang.String recordStr, short delimType, char delimtier, int fixedColWidth, java.util.ArrayList fieldList)
           
 int buildDimension(ContextHandle handle, EssbaseObject rulesObject, EssbaseObject dataObject, java.lang.String userName, java.lang.String password, java.lang.String errorFileName)
           
 int freeRulesFileContext(long rulesFileContext)
           
 int getDSNList(ContextHandle handle, int drillServer, java.util.ArrayList dsnList)
           
 int getEncodingInfo(long rulesFileContext, EncodingInfo encodingInfo)
           
 int importData(ContextHandle handle, EssbaseObject rulesObject, EssbaseObject dataObject, java.lang.String userName, java.lang.String password, boolean abortOnError, java.lang.String errorFileName)
           
static void main(java.lang.String[] args)
           
 int parseDBHeader(ContextHandle handle, java.lang.String fieldStr, FieldAttributeInfo fieldAttributeInfoObj)
           
 int readDataFile(ContextHandle handle, int objType, java.lang.String appName, java.lang.String dbName, java.lang.String dataFileName, short maxRecords, int startRecord, java.util.ArrayList recordList)
           
 int readRulesObject(ContextHandle handle, java.lang.String appName, java.lang.String rulesObjectName, RulesObject rulesObject)
           
 int readSQLRecords(ContextHandle handle, DPSqlConnectionInfo sqlConnectInfo, int startRecord, short maxRecords, java.util.ArrayList colNameList, java.util.ArrayList recordList)
           
 java.lang.String replaceSubString(ContextHandle handle, java.lang.String fieldStr, boolean caseSensitive, boolean matchWholeWord, boolean ReplaceAllOccurances, java.lang.String findStr, java.lang.String replaceStr)
           
 java.lang.String replaceWholeWord(ContextHandle handle, java.lang.String fieldStr, boolean caseSensitive, boolean matchWholeWord, boolean ReplaceAllOccurances, java.lang.String findStr, java.lang.String replaceStr)
           
 int saveRulesObject(ContextHandle handle, java.lang.String appName, java.lang.String rulesObjectName, RulesObject rulesObject)
           
 int updateOutline(ContextHandle handle, EssbaseObject rulesObject, EssbaseObject dataObject, java.lang.String userName, java.lang.String password, java.lang.String localFileName, java.lang.String errorFileName, OutlineHandle otlHandle)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DataPrepJni

public DataPrepJni()

Method Detail

readRulesObject

public int readRulesObject(ContextHandle handle,
                           java.lang.String appName,
                           java.lang.String rulesObjectName,
                           RulesObject rulesObject)

readDataFile

public int readDataFile(ContextHandle handle,
                        int objType,
                        java.lang.String appName,
                        java.lang.String dbName,
                        java.lang.String dataFileName,
                        short maxRecords,
                        int startRecord,
                        java.util.ArrayList recordList)

applyDelimiter

public int applyDelimiter(ContextHandle handle,
                          java.lang.String recordStr,
                          short delimType,
                          char delimtier,
                          int fixedColWidth,
                          java.util.ArrayList fieldList)

parseDBHeader

public int parseDBHeader(ContextHandle handle,
                         java.lang.String fieldStr,
                         FieldAttributeInfo fieldAttributeInfoObj)

actionSplit

public int actionSplit(ContextHandle handle,
                       java.lang.String recordStr,
                       short columnNum,
                       short numChars,
                       java.util.ArrayList fieldList)

actionMove

public int actionMove(ContextHandle handle,
                      java.lang.String recordStr,
                      short columnNum,
                      short newColumnNum,
                      java.util.ArrayList fieldList)

actionJoin

public int actionJoin(ContextHandle handle,
                      java.lang.String recordStr,
                      short numColumns,
                      short[] columnList,
                      java.util.ArrayList fieldList)

actionCreate

public int actionCreate(ContextHandle handle,
                        java.lang.String recordStr,
                        short newColumn,
                        short numColumns,
                        short[] columnList,
                        java.util.ArrayList fieldList)

actionCreateText

public int actionCreateText(ContextHandle handle,
                            java.lang.String recordStr,
                            short newColumn,
                            java.lang.String text,
                            java.util.ArrayList fieldList)

replaceSubString

public java.lang.String replaceSubString(ContextHandle handle,
                                         java.lang.String fieldStr,
                                         boolean caseSensitive,
                                         boolean matchWholeWord,
                                         boolean ReplaceAllOccurances,
                                         java.lang.String findStr,
                                         java.lang.String replaceStr)

replaceWholeWord

public java.lang.String replaceWholeWord(ContextHandle handle,
                                         java.lang.String fieldStr,
                                         boolean caseSensitive,
                                         boolean matchWholeWord,
                                         boolean ReplaceAllOccurances,
                                         java.lang.String findStr,
                                         java.lang.String replaceStr)

saveRulesObject

public int saveRulesObject(ContextHandle handle,
                           java.lang.String appName,
                           java.lang.String rulesObjectName,
                           RulesObject rulesObject)

getDSNList

public int getDSNList(ContextHandle handle,
                      int drillServer,
                      java.util.ArrayList dsnList)

readSQLRecords

public int readSQLRecords(ContextHandle handle,
                          DPSqlConnectionInfo sqlConnectInfo,
                          int startRecord,
                          short maxRecords,
                          java.util.ArrayList colNameList,
                          java.util.ArrayList recordList)

buildDimension

public int buildDimension(ContextHandle handle,
                          EssbaseObject rulesObject,
                          EssbaseObject dataObject,
                          java.lang.String userName,
                          java.lang.String password,
                          java.lang.String errorFileName)

updateOutline

public int updateOutline(ContextHandle handle,
                         EssbaseObject rulesObject,
                         EssbaseObject dataObject,
                         java.lang.String userName,
                         java.lang.String password,
                         java.lang.String localFileName,
                         java.lang.String errorFileName,
                         OutlineHandle otlHandle)

importData

public int importData(ContextHandle handle,
                      EssbaseObject rulesObject,
                      EssbaseObject dataObject,
                      java.lang.String userName,
                      java.lang.String password,
                      boolean abortOnError,
                      java.lang.String errorFileName)

freeRulesFileContext

public int freeRulesFileContext(long rulesFileContext)

getEncodingInfo

public int getEncodingInfo(long rulesFileContext,
                           EncodingInfo encodingInfo)

main

public static void main(java.lang.String[] args)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.