@Test public void testSchemaFromResourceURI() throws Exception { String uri = "resource:standard_event.avsc"; DatasetDescriptor descriptor = new DatasetDescriptor.Builder().schemaUri(uri).build(); Assert.assertNotNull(descriptor); Assert.assertNotNull(descriptor.getSchema()); }
public Schema getSchema() { return schema; }
DatasetDescriptor { public Schema getSchema() { return schema; } }
DatasetDescriptor { public Schema getSchema() { return schema; } DatasetDescriptor(Schema schema, @Nullable URL schemaUrl, Format format,
      @Nullable URI location, @Nullable Map<String, String> properties,
      @Nullable PartitionStrategy partitionStrategy);  DatasetDescriptor(Schema schema, @Nullable URL schemaUrl,
      Format format, @Nullable URI location,
      @Nullable Map<String, String> properties,
      @Nullable PartitionStrategy partitionStrategy,
      @Nullable ColumnMapping columnMapping);  DatasetDescriptor(Schema schema, @Nullable URI schemaUri,
      Format format, @Nullable URI location,
      @Nullable Map<String, String> properties,
      @Nullable PartitionStrategy partitionStrategy,
      @Nullable ColumnMapping columnMapping,
      @Nullable CompressionType compressionType); }
DatasetDescriptor { public Schema getSchema() { return schema; } DatasetDescriptor(Schema schema, @Nullable URL schemaUrl, Format format,
      @Nullable URI location, @Nullable Map<String, String> properties,
      @Nullable PartitionStrategy partitionStrategy);  DatasetDescriptor(Schema schema, @Nullable URL schemaUrl,
      Format format, @Nullable URI location,
      @Nullable Map<String, String> properties,
      @Nullable PartitionStrategy partitionStrategy,
      @Nullable ColumnMapping columnMapping);  DatasetDescriptor(Schema schema, @Nullable URI schemaUri,
      Format format, @Nullable URI location,
      @Nullable Map<String, String> properties,
      @Nullable PartitionStrategy partitionStrategy,
      @Nullable ColumnMapping columnMapping,
      @Nullable CompressionType compressionType); Schema getSchema(); @Nullable URL getSchemaUrl(); Format getFormat(); @Nullable URI getLocation(); @Nullable String getProperty(String name); boolean hasProperty(String name); Collection<String> listProperties(); PartitionStrategy getPartitionStrategy(); ColumnMapping getColumnMapping(); CompressionType getCompressionType(); boolean isPartitioned(); boolean isColumnMapped(); @Override int hashCode(); @Override @edu.umd.cs.findbugs.annotations.SuppressWarnings( value="NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION", justification="Default annotation is not correct for equals") boolean equals(@Nullable Object obj); @Override String toString(); }
DatasetDescriptor { public Schema getSchema() { return schema; } DatasetDescriptor(Schema schema, @Nullable URL schemaUrl, Format format,
      @Nullable URI location, @Nullable Map<String, String> properties,
      @Nullable PartitionStrategy partitionStrategy);  DatasetDescriptor(Schema schema, @Nullable URL schemaUrl,
      Format format, @Nullable URI location,
      @Nullable Map<String, String> properties,
      @Nullable PartitionStrategy partitionStrategy,
      @Nullable ColumnMapping columnMapping);  DatasetDescriptor(Schema schema, @Nullable URI schemaUri,
      Format format, @Nullable URI location,
      @Nullable Map<String, String> properties,
      @Nullable PartitionStrategy partitionStrategy,
      @Nullable ColumnMapping columnMapping,
      @Nullable CompressionType compressionType); Schema getSchema(); @Nullable URL getSchemaUrl(); Format getFormat(); @Nullable URI getLocation(); @Nullable String getProperty(String name); boolean hasProperty(String name); Collection<String> listProperties(); PartitionStrategy getPartitionStrategy(); ColumnMapping getColumnMapping(); CompressionType getCompressionType(); boolean isPartitioned(); boolean isColumnMapped(); @Override int hashCode(); @Override @edu.umd.cs.findbugs.annotations.SuppressWarnings( value="NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION", justification="Default annotation is not correct for equals") boolean equals(@Nullable Object obj); @Override String toString();  }