.to(writePipeline.newProvider(outputFile.getAbsolutePath())) .withFormatFunction(new CreateGenericClass()) .withSchema(ReflectData.get().getSchema(GenericClass.class)) .withoutSharding()); writePipeline.run();
/** See {@link TypedWrite#withSchema}. */ public Write<T> withSchema(Schema schema) { return new Write<>(inner.withSchema(schema)); } /** See {@link TypedWrite#withTempDirectory(ValueProvider)}. */