Sha256: 1273403c4236fe9cb0fbe30e6462caab1e581edce2ac150b4735e5fbb27c90dc
Contents?: true
Size: 456 Bytes
Versions: 2
Compression:
Stored size: 456 Bytes
Contents
package org.embulk.formatter.avro.converter; import org.apache.avro.Schema; import org.apache.avro.generic.GenericData; import org.apache.avro.generic.GenericFixed; public class AvroFixedConverter extends AbstractAvroValueConverter { public AvroFixedConverter(Schema schema) { super(schema); } @Override public GenericFixed stringColumn(String value) { return new GenericData.Fixed(avroSchema, value.getBytes()); } }
Version data entries
2 entries across 2 versions & 1 rubygems