Package org.pentaho.reporting.engine.classic.core.metadata

Examples of org.pentaho.reporting.engine.classic.core.metadata.DataFactoryRegistry


    throw new ReportDataFactoryException("None of the data-factories was able to handle this query.");
  }

  private boolean isFreeFormQueryDataFactory(final DataFactory dataFactory)
  {
    final DataFactoryRegistry registry = DataFactoryRegistry.getInstance();
    final String metaDataKey = dataFactory.getClass().getName();
    if (registry.isRegistered(metaDataKey) == false)
    {
      // assume the worst ..
      return true;
    }

    final DataFactoryMetaData metaData = registry.getMetaData(metaDataKey);
    if (metaData.isFreeFormQuery())
    {
      return true;
    }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.metadata.DataFactoryRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.