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

Method metadataSchema

lang/php/lib/DataFile/AvroDataIO.php:116–122  ·  view source on GitHub ↗

* @returns AvroSchema object of Avro container file metadata. */

()

Source from the content-addressed store, hash-verified

114 * @returns AvroSchema object of Avro container file metadata.
115 */
116 public static function metadataSchema()
117 {
118 if (is_null(self::$metadataSchema)) {
119 self::$metadataSchema = AvroSchema::parse(self::METADATA_SCHEMA_JSON);
120 }
121 return self::$metadataSchema;
122 }
123
124 /**
125 * @param string $file_path file_path of file to open

Callers 2

readHeaderMethod · 0.80
writeHeaderMethod · 0.80

Calls 1

parseMethod · 0.65

Tested by

no test coverage detected