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<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes,
IMondrianCatalogService mondrianImporter) |
Modifier and Type | Method and Description |
---|---|
protected MondrianCatalog |
createCatalogObject(String catName,
boolean xmlaEnabled,
org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle)
Helper method to create a catalog object
|
List<org.pentaho.platform.api.mimetype.IMimeType> |
getMimeTypes() |
void |
importFile(org.pentaho.platform.api.repository2.unified.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<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes, IMondrianCatalogService mondrianImporter)
public void importFile(org.pentaho.platform.api.repository2.unified.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, org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle) throws ParserConfigurationException, SAXException, IOException, PlatformImportException
public List<org.pentaho.platform.api.mimetype.IMimeType> getMimeTypes()
getMimeTypes
in interface IPlatformImportHandler
Copyright © 2019 Hitachi Vantara. All rights reserved.