Class

io.archivesunleashed

WARecordRDD

Related Doc: package archivesunleashed

Permalink

implicit class WARecordRDD extends Serializable

A Wrapper class around RDD to allow RDDs of type ARCRecord and WARCRecord to be queried via a fluent API.

To load such an RDD, please see RecordLoader.

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WARecordRDD
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WARecordRDD(rdd: RDD[ArchiveRecord])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def discardContent(contentREs: Set[Regex]): RDD[ArchiveRecord]

    Permalink
  7. def discardDate(date: String): RDD[ArchiveRecord]

    Permalink
  8. def discardDomains(urls: Set[String]): RDD[ArchiveRecord]

    Permalink
  9. def discardMimeTypes(mimeTypes: Set[String]): RDD[ArchiveRecord]

    Permalink

    Filters MimeTypes from RDDs.

  10. def discardUrlPatterns(urlREs: Set[Regex]): RDD[ArchiveRecord]

    Permalink
  11. def discardUrls(urls: Set[String]): RDD[ArchiveRecord]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def keepContent(contentREs: Set[Regex]): RDD[ArchiveRecord]

    Permalink

    Removes all content that does not pass Regular Expression test.

    Removes all content that does not pass Regular Expression test.

    contentREs

    a list of Regular expressions to keep

  19. def keepDate(dates: List[String], component: DateComponent = DateComponent.YYYYMMDD): RDD[ArchiveRecord]

    Permalink

    Removes all data that does not have selected data.

    Removes all data that does not have selected data.

    dates

    a list of dates to keep

    component

    the selected DateComponent enum value

  20. def keepDomains(urls: Set[String]): RDD[ArchiveRecord]

    Permalink

    Removes all data but selected source domains.

    Removes all data but selected source domains.

    urls

    a Set of urls for the source domains to keep

  21. def keepImages(): RDD[ArchiveRecord]

    Permalink

    Removes all data except images.

  22. def keepLanguages(lang: Set[String]): RDD[ArchiveRecord]

    Permalink

    Removes all data not in selected language.

    Removes all data not in selected language.

    lang

    a Set of ISO 639-2 codes

  23. def keepMimeTypes(mimeTypes: Set[String]): RDD[ArchiveRecord]

    Permalink

    Removes all data but selected mimeTypes.

    Removes all data but selected mimeTypes.

    mimeTypes

    a Set of Mimetypes to keep

  24. def keepUrlPatterns(urlREs: Set[Regex]): RDD[ArchiveRecord]

    Permalink

    Removes all data but selected url patterns.

    Removes all data but selected url patterns.

    urlREs

    a Set of Regular Expressions to keep

  25. def keepUrls(urls: Set[String]): RDD[ArchiveRecord]

    Permalink

    Removes all data but selected exact URLs

    Removes all data but selected exact URLs

    urls

    a Set of URLs to keep

  26. def keepValidPages(): RDD[ArchiveRecord]

    Permalink

    Removes all non-html-based data (images, executables etc.) from html text.

  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped