Value
343344345346347348349350351352353
Provider<byte[]> codec = new ValueToBytes(new AvroGenericToValue(avroProvider)); sink = new BytesSink(out).appendAll(codec); return codec; } case JSON: { Provider<byte[]> codec = new ValueToJsonBytes(new AvroGenericToValue(avroProvider)); sink = new BytesLineSink(out).appendAll(codec); return codec; } case CSV: { Provider<List<String>> codec = new AvroGenericToStringList(avroProvider);