public class DataImporter
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
addRow(java.util.List<RowData> rowDataList)
Queues the data to to be loaded in this data importer.
|
void |
addRow(java.util.Map<Dimension,Member> rowDimToMembersMap,
java.util.Map<java.lang.String,java.lang.String> colMbrNameToValuesMap)
Queues the data to to be loaded in this data importer.
|
void |
addRow(java.util.Map<Dimension,Member> rowDimToMembersMap,
java.lang.String[] values)
Queues the data to to be loaded in this data importer.
|
void |
addRow(RowData rowData)
Queues the data to to be loaded in this data importer.
|
void |
close()
Loads the queued data to Essbase.
|
public void addRow(java.util.List<RowData> rowDataList) throws java.io.IOException, java.lang.Exception
rowDataList
- a list of data rowsjava.io.IOException
java.lang.Exception
- if one or more data values in any of the rows failed
to transformpublic void addRow(java.util.Map<Dimension,Member> rowDimToMembersMap, java.util.Map<java.lang.String,java.lang.String> colMbrNameToValuesMap) throws java.io.IOException, java.lang.Exception
rowDimToMembersMap
- a map containing Dimension as the key and its
Member as a value.colMbrNameToValuesMap
- a map containing the column member name as
the key and the data value string as a value.java.io.IOException
java.lang.Exception
- if one or more data values in the row failed to
transformpublic void addRow(java.util.Map<Dimension,Member> rowDimToMembersMap, java.lang.String[] values) throws java.io.IOException, java.lang.Exception
rowDimToMembersMap
- a map containing Dimension as the key and its
Member as a value.values
- data valuesjava.io.IOException
java.lang.Exception
- if one or more data values in the row failed to
transformpublic void addRow(RowData rowData) throws java.io.IOException, java.lang.Exception
rowData
- a data rowsjava.io.IOException
java.lang.Exception
- if one or more data values in the row failed to
transformpublic void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
Copyright © 2017, 2024, Oracle and/or its affiliates. All rights reserved.