MCPcopy Create free account
hub / github.com/apache/avro / openWriter

Method openWriter

lang/php/lib/DataFile/AvroDataIO.php:175–179  ·  view source on GitHub ↗

* @param AvroIO $io * @param AvroSchema $schema * @param string $codec * @returns AvroDataIOWriter */

($io, $schema, $codec = self::NULL_CODEC)

Source from the content-addressed store, hash-verified

173 * @returns AvroDataIOWriter
174 */
175 protected static function openWriter($io, $schema, $codec = self::NULL_CODEC)
176 {
177 $writer = new AvroIODatumWriter($schema);
178 return new AvroDataIOWriter($io, $writer, $schema, $codec);
179 }
180
181 /**
182 * @param AvroIO $io

Callers 1

openFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected