Search in sources :

Example 1 with DataService

use of org.knime.core.webui.data.DataService in project knime-core by knime.

the class DataServiceManager method getDataService.

private Optional<DataService> getDataService(final NodeContainer nc) {
    DataService ds;
    if (!m_dataServices.containsKey(nc)) {
        ds = getDataServiceProvider(nc).createDataService().orElse(null);
        m_dataServices.put(nc, ds);
    } else {
        ds = m_dataServices.get(nc);
    }
    return Optional.ofNullable(ds);
}
Also used : ApplyDataService(org.knime.core.webui.data.ApplyDataService) InitialDataService(org.knime.core.webui.data.InitialDataService) DataService(org.knime.core.webui.data.DataService) TextApplyDataService(org.knime.core.webui.data.text.TextApplyDataService) TextInitialDataService(org.knime.core.webui.data.text.TextInitialDataService) TextDataService(org.knime.core.webui.data.text.TextDataService) TextReExecuteDataService(org.knime.core.webui.data.text.TextReExecuteDataService)

Aggregations

ApplyDataService (org.knime.core.webui.data.ApplyDataService)1 DataService (org.knime.core.webui.data.DataService)1 InitialDataService (org.knime.core.webui.data.InitialDataService)1 TextApplyDataService (org.knime.core.webui.data.text.TextApplyDataService)1 TextDataService (org.knime.core.webui.data.text.TextDataService)1 TextInitialDataService (org.knime.core.webui.data.text.TextInitialDataService)1 TextReExecuteDataService (org.knime.core.webui.data.text.TextReExecuteDataService)1