org.archive.wayback.resourceindex.adapters
Class DeduplicationSearchResultAnnotationAdapter

java.lang.Object
  extended by org.archive.wayback.resourceindex.adapters.DeduplicationSearchResultAnnotationAdapter
All Implemented Interfaces:
Adapter<CaptureSearchResult,CaptureSearchResult>

public class DeduplicationSearchResultAnnotationAdapter
extends java.lang.Object
implements Adapter<CaptureSearchResult,CaptureSearchResult>

Adapter class that observes a stream of SearchResults tracking for each complete record, a mapping of that records digest to: Arc/Warc Filename Arc/Warc offset HTTP Response MIME-Type Redirect URL If subsequent SearchResults are missing these fields ("-") and the Digest field has been seen, then the subsequent SearchResults are updated with the values from the kept copy matching that digest, and an additional annotation field is added.

Version:
$Date$, $Revision$
Author:
brad

Constructor Summary
DeduplicationSearchResultAnnotationAdapter()
           
 
Method Summary
 CaptureSearchResult adapt(CaptureSearchResult o)
          Transform one object into another
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeduplicationSearchResultAnnotationAdapter

public DeduplicationSearchResultAnnotationAdapter()
Method Detail

adapt

public CaptureSearchResult adapt(CaptureSearchResult o)
Description copied from interface: Adapter
Transform one object into another

Specified by:
adapt in interface Adapter<CaptureSearchResult,CaptureSearchResult>
Returns:
new object that is adapted from the old


Copyright © 2005-2009 Internet Archive. All Rights Reserved.