format/src/main/java/com/github/sadikovi/riff/Riff.java
/**
   * Get metadata reader.
   * @param conf configuration with Riff options
   * @param metadataPath path to the metadata file or directory where metadata is stored
   */
Get metadata reader.
@param conf configuration with Riff options
@param metadataPath path to the metadata file or directory where metadata is stored
Get metadata reader . @param conf configuration with Riff options @param metadataPath path to the metadata file or directory where metadata is stored
public static Metadata.MetadataReader metadataReader(Configuration conf, Path metadataPath) {
    try {
      return metadataReader(metadataPath.getFileSystem(conf), conf, metadataPath);
    } catch (IOException err) {
      throw new RuntimeException("Error occured: " + err.getMessage(), err);
    }
  }
public static Metadata . MetadataReader metadataReader ( Configuration conf , Path metadataPath ) { try { return metadataReader ( metadataPath . getFileSystem ( conf ) , conf , metadataPath ) ; } catch ( IOException err ) { throw new RuntimeException ( "Error occured: " + err . getMessage ( ) , err ) ; } }
Get metadata reader.
Get metadata reader .