public abstract class AbstractDataFactory extends Object implements DataFactoryDesignTimeSupport, Cloneable, DataFactoryMetaProvider
DESIGN_TIME
QUERY_LIMIT, QUERY_SORT, QUERY_TIMEOUT
Constructor and Description |
---|
AbstractDataFactory() |
Modifier and Type | Method and Description |
---|---|
void |
cancelRunningQuery()
Attempts to cancel the query process that is generating the data for this data factory.
|
DataFactory |
clone() |
DataFactory |
derive()
Returns a copy of the data factory that is not affected by its anchestor and holds no connection to the anchestor
anymore.
|
org.pentaho.reporting.libraries.base.config.Configuration |
getConfiguration() |
org.pentaho.reporting.libraries.resourceloader.ResourceKey |
getContextKey() |
DataFactoryContext |
getDataFactoryContext() |
String |
getDisplayConnectionName() |
Locale |
getLocale() |
DataFactoryMetaData |
getMetaData() |
Object |
getQueryHash(String query,
DataRow dataRow) |
String[] |
getReferencedFields(String query,
DataRow dataRow) |
ResourceBundleFactory |
getResourceBundleFactory() |
org.pentaho.reporting.libraries.resourceloader.ResourceManager |
getResourceManager() |
void |
initialize(DataFactoryContext dataFactoryContext)
Initializes the data factory and provides new context information.
|
TableModel |
queryDesignTimeStructure(String query,
DataRow parameter) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getQueryNames, isQueryExecutable, queryData
public void cancelRunningQuery()
DataFactory
cancelRunningQuery
in interface DataFactory
public void initialize(DataFactoryContext dataFactoryContext) throws ReportDataFactoryException
DataFactory
initialize
in interface DataFactory
dataFactoryContext
- the current data-factory context, holding the configuration, resource-manager, context-key and
resource-bundle-factory.ReportDataFactoryException
public TableModel queryDesignTimeStructure(String query, DataRow parameter) throws ReportDataFactoryException
queryDesignTimeStructure
in interface DataFactoryDesignTimeSupport
ReportDataFactoryException
public Locale getLocale()
public DataFactoryContext getDataFactoryContext()
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
public org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getContextKey()
public ResourceBundleFactory getResourceBundleFactory()
public DataFactory clone()
clone
in interface DataFactory
clone
in class Object
public DataFactory derive()
DataFactory
derive
in interface DataFactory
public DataFactoryMetaData getMetaData()
getMetaData
in interface DataFactory
public String getDisplayConnectionName()
getDisplayConnectionName
in interface DataFactoryMetaProvider
public Object getQueryHash(String query, DataRow dataRow) throws ReportDataFactoryException
getQueryHash
in interface DataFactoryMetaProvider
ReportDataFactoryException
public String[] getReferencedFields(String query, DataRow dataRow) throws ReportDataFactoryException
getReferencedFields
in interface DataFactoryMetaProvider
ReportDataFactoryException