@JsonCreator public DataSourceMetadata(@JsonProperty("name") String name,@JsonProperty("properties") Map<String,String> properties,@JsonProperty("segments") List<DataSegment> segments){
  this.name=name;
  this.properties=Collections.unmodifiableMap(properties);
  this.segments=Collections.unmodifiableList(segments);
}

@ JsonCreator public DataSourceMetadata ( @ JsonProperty ( "name" ) String name , @ JsonProperty ( "properties" ) Map < String , String > properties , @ JsonProperty ( "segments" ) List < DataSegment > segments ) { this . name = name ; this . properties = Collections . unmodifiableMap ( properties ) ; this . segments = Collections . unmodifiableList ( segments ) ; }
store the full metadata for a druid data source , mainly as a list of segments .
