AutoParameterGenerationService implements AutoOptimizationService { @Override public Set<Class<? extends PushDownType>> getProvidedOptimizationTypes() { return ImmutableSet.<Class<? extends PushDownType>>of( ParameterGeneration.class ); } AutoParameterGenerationService( ILineageClient lineageClient,
                                         ParameterGenerationFactory serviceProvider ); @Override List<PushDownOptimizationMeta> apply( DataServiceMeta dataServiceMeta ); @Override Set<Class<? extends PushDownType>> getProvidedOptimizationTypes();  }
@Test public void testProvidedOptimizationTypes() throws Exception { Set<Class<? extends PushDownType>> expected = Sets.newHashSet(); expected.add( ParameterGeneration.class ); assertThat( service.getProvidedOptimizationTypes(), equalTo( expected ) ); }