Search in sources :

Example 1 with SimplePipelineBuilder

use of org.polymap.core.data.pipeline.SimplePipelineBuilder in project polymap4-core by Polymap4.

the class RStoreCacheReadTest method setUp.

@Before
public void setUp() throws Exception {
    origDs = _ds;
    origFs = origDs.getFeatureSource(_ds.getSchema().getName());
    SimplePipelineBuilder builder = new SimplePipelineBuilder();
    StoreCacheProcessor.SYNC_TYPE.set(builder, FullDataStoreSyncStrategy.class.getSimpleName());
    pipeline = builder.newFeaturePipeline(origFs, StoreCacheProcessor.class, DataSourceProcessor.class);
    pipeDs = new PipelineDataStore(pipeline);
    expected = _expected;
}
Also used : DataSourceProcessor(org.polymap.core.data.feature.DataSourceProcessor) SimplePipelineBuilder(org.polymap.core.data.pipeline.SimplePipelineBuilder) FullDataStoreSyncStrategy(org.polymap.core.data.feature.storecache.FullDataStoreSyncStrategy) StoreCacheProcessor(org.polymap.core.data.feature.storecache.StoreCacheProcessor) PipelineDataStore(org.polymap.core.data.PipelineDataStore) Before(org.junit.Before)

Example 2 with SimplePipelineBuilder

use of org.polymap.core.data.pipeline.SimplePipelineBuilder in project polymap4-core by Polymap4.

the class RPipelineReadTest method setUp.

public void setUp() throws Exception {
    origDs = _ds;
    origFs = _fs;
    pipeline = new SimplePipelineBuilder().newFeaturePipeline(origFs, DataSourceProcessor.class);
    pipeDs = new PipelineDataStore(pipeline);
    expected = _expected;
}
Also used : DataSourceProcessor(org.polymap.core.data.feature.DataSourceProcessor) SimplePipelineBuilder(org.polymap.core.data.pipeline.SimplePipelineBuilder) PipelineDataStore(org.polymap.core.data.PipelineDataStore)

Aggregations

PipelineDataStore (org.polymap.core.data.PipelineDataStore)2 DataSourceProcessor (org.polymap.core.data.feature.DataSourceProcessor)2 SimplePipelineBuilder (org.polymap.core.data.pipeline.SimplePipelineBuilder)2 Before (org.junit.Before)1 FullDataStoreSyncStrategy (org.polymap.core.data.feature.storecache.FullDataStoreSyncStrategy)1 StoreCacheProcessor (org.polymap.core.data.feature.storecache.StoreCacheProcessor)1