public class MondrianImportHandler extends Object implements IPlatformImportHandler
Modifier and Type | Field and Description |
---|---|
protected static String |
DATA_SOURCE |
protected static String |
DEFAULT_PROVIDER |
protected static String |
DOMAIN_ID |
protected static String |
ENABLE_XMLA |
protected static String |
PARAMETERS |
protected static String |
PROVIDER |
Constructor and Description |
---|
MondrianImportHandler(List<IMimeType> mimeTypes,
IMondrianCatalogService mondrianImporter) |
Modifier and Type | Method and Description |
---|---|
protected MondrianCatalog |
createCatalogObject(String catName,
boolean xmlaEnabled,
IPlatformImportBundle bundle)
Helper method to create a catalog object
|
List<IMimeType> |
getMimeTypes() |
void |
importFile(IPlatformImportBundle bundle)
**************************************** Main entry point from the Spring Interface
|
protected static final String PARAMETERS
protected static final String ENABLE_XMLA
protected static final String DOMAIN_ID
protected static final String DATA_SOURCE
protected static final String PROVIDER
protected static final String DEFAULT_PROVIDER
public MondrianImportHandler(List<IMimeType> mimeTypes, IMondrianCatalogService mondrianImporter)
public void importFile(IPlatformImportBundle bundle) throws PlatformImportException, org.pentaho.metadata.repository.DomainIdNullException, org.pentaho.metadata.repository.DomainAlreadyExistsException, org.pentaho.metadata.repository.DomainStorageException, IOException
importFile
in interface IPlatformImportHandler
IPlatformImportBundle
- IOException
org.pentaho.metadata.repository.DomainStorageException
org.pentaho.metadata.repository.DomainAlreadyExistsException
org.pentaho.metadata.repository.DomainIdNullException
PlatformImportException
SAXException
ParserConfigurationException
protected MondrianCatalog createCatalogObject(String catName, boolean xmlaEnabled, IPlatformImportBundle bundle) throws ParserConfigurationException, SAXException, IOException, PlatformImportException
public List<IMimeType> getMimeTypes()
getMimeTypes
in interface IPlatformImportHandler
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.