package io.druid.segment.loading;

import io.druid.timeline.DataSegment;

public interface DataSegmentArchiver
{
  public DataSegment archive(DataSegment segment) throws SegmentLoadingException;
}

package io.druid.segment.loading;

import io.druid.timeline.DataSegment;

public interface DataSegmentArchiver
{
  public DataSegment archive(DataSegment segment) throws SegmentLoadingException;
  public DataSegment restore(DataSegment segment) throws SegmentLoadingException;
}

add restore method to DataSegmentArchiver