Search in sources :

Example 1 with CompositeProvider

use of org.apache.beam.sdk.extensions.euphoria.core.translate.provider.CompositeProvider in project beam by apache.

the class DocumentationExamplesTest method testCompositeTranslationProviderExample.

@Test
public void testCompositeTranslationProviderExample() {
    CompositeProvider compositeProvider = CompositeProvider.of(// first ask CustomTranslatorProvider for translator
    CustomTranslatorProvider.of(), GenericTranslatorProvider.createWithDefaultTranslators());
    Assert.assertNotNull(compositeProvider);
}
Also used : CompositeProvider(org.apache.beam.sdk.extensions.euphoria.core.translate.provider.CompositeProvider) Test(org.junit.Test)

Aggregations

CompositeProvider (org.apache.beam.sdk.extensions.euphoria.core.translate.provider.CompositeProvider)1 Test (org.junit.Test)1