org.bdgenomics.adam.util

# ParquetFileTraversable

#### class ParquetFileTraversable[T <: IndexedRecord] extends Traversable[T]

Implements a traversable collection that is backed by a Parquet file.

Linear Supertypes
Traversable[T], GenTraversable[T], GenericTraversableTemplate[T, Traversable], TraversableLike[T, Traversable[T]], GenTraversableLike[T, Traversable[T]], Parallelizable[T, ParIterable[T]], TraversableOnce[T], GenTraversableOnce[T], FilterMonadic[T, Traversable[T]], HasNewBuilder[T, Traversable[T]], AnyRef, Any
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. ParquetFileTraversable
2. Traversable
3. GenTraversable
4. GenericTraversableTemplate
5. TraversableLike
6. GenTraversableLike
7. Parallelizable
8. TraversableOnce
9. GenTraversableOnce
10. FilterMonadic
11. HasNewBuilder
12. AnyRef
13. Any

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Instance Constructors

1. #### new ParquetFileTraversable(sc: SparkContext, file: String)

   sc

     A SparkContext to use to get underlying Hadoop FileSystem config.

   file

     The path to the Parquet file to load.

2. #### new ParquetFileTraversable(sc: SparkContext, file: Path)

   sc

     A SparkContext to use to get underlying Hadoop FileSystem config.

   file

     The path to the Parquet file to load.

### Type Members

1. #### type Self = Traversable[T]

   Attributes
     protected[this]
   Definition Classes
     TraversableLike

2. #### class WithFilter extends FilterMonadic[A, Repr]

   Definition Classes
     TraversableLike

### Value Members

1. #### final def !=(arg0: AnyRef): Boolean

   Definition Classes
     AnyRef

2. #### final def !=(arg0: Any): Boolean

   Definition Classes
     Any

3. #### final def ##(): Int

   Definition Classes
     AnyRef → Any

4. #### def ++[B >: T, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[T], B, That]): That

   Definition Classes
     TraversableLike → GenTraversableLike

5. #### def ++:[B >: T, That](that: Traversable[B])(implicit bf: CanBuildFrom[Traversable[T], B, That]): That

   Definition Classes
     TraversableLike

6. #### def ++:[B >: T, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[T], B, That]): That

   Definition Classes
     TraversableLike

7. #### def /:[B](z: B)(op: (B, T) ⇒ B): B

   Definition Classes
     TraversableOnce → GenTraversableOnce

8. #### def :\[B](z: B)(op: (T, B) ⇒ B): B

   Definition Classes
     TraversableOnce → GenTraversableOnce

9. #### final def ==(arg0: AnyRef): Boolean

   Definition Classes
     AnyRef

10. #### final def ==(arg0: Any): Boolean

    Definition Classes
      Any

11. #### def addString(b: StringBuilder): StringBuilder

    Definition Classes
      TraversableOnce

12. #### def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
      TraversableOnce

13. #### def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
      TraversableOnce

14. #### def aggregate[B](z: B)(seqop: (B, T) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

15. #### final def asInstanceOf[T0]: T0

    Definition Classes
      Any

16. #### def clone(): AnyRef

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

17. #### def collect[B, That](pf: PartialFunction[T, B])(implicit bf: CanBuildFrom[Traversable[T], B, That]): That

    Definition Classes
      TraversableLike → GenTraversableLike

18. #### def collectFirst[B](pf: PartialFunction[T, B]): Option[B]

    Definition Classes
      TraversableOnce

19. #### def companion: GenericCompanion[Traversable]

    Definition Classes
      Traversable → GenTraversable → GenericTraversableTemplate

20. #### def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce

21. #### def copyToArray[B >: T](xs: Array[B]): Unit

    Definition Classes
      TraversableOnce → GenTraversableOnce

22. #### def copyToArray[B >: T](xs: Array[B], start: Int): Unit

    Definition Classes
      TraversableOnce → GenTraversableOnce

23. #### def copyToBuffer[B >: T](dest: Buffer[B]): Unit

    Definition Classes
      TraversableOnce

24. #### def count(p: (T) ⇒ Boolean): Int

    Definition Classes
      TraversableOnce → GenTraversableOnce

25. #### def drop(n: Int): Traversable[T]

    Definition Classes
      TraversableLike → GenTraversableLike

26. #### def dropWhile(p: (T) ⇒ Boolean): Traversable[T]

    Definition Classes
      TraversableLike → GenTraversableLike

27. #### final def eq(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

28. #### def equals(arg0: Any): Boolean

    Definition Classes
      AnyRef → Any

29. #### def exists(p: (T) ⇒ Boolean): Boolean

    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce

30. #### def filter(p: (T) ⇒ Boolean): Traversable[T]

    Definition Classes
      TraversableLike → GenTraversableLike

31. #### def filterNot(p: (T) ⇒ Boolean): Traversable[T]

    Definition Classes
      TraversableLike → GenTraversableLike

32. #### def finalize(): Unit

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )

33. #### def find(p: (T) ⇒ Boolean): Option[T]

    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce

34. #### def flatMap[B, That](f: (T) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[T], B, That]): That

    Definition Classes
      TraversableLike → GenTraversableLike → FilterMonadic

35. #### def flatten[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): Traversable[B]

    Definition Classes
      GenericTraversableTemplate

36. #### def fold[A1 >: T](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
      TraversableOnce → GenTraversableOnce

37. #### def foldLeft[B](z: B)(op: (B, T) ⇒ B): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

38. #### def foldRight[B](z: B)(op: (T, B) ⇒ B): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

39. #### def forall(p: (T) ⇒ Boolean): Boolean

    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce

40. #### def foreach[U](f: (T) ⇒ U): Unit

    Runs a for loop over each record in the file, and applies a function.

    Runs a for loop over each record in the file, and applies a function.

    f

      The function to apply to each record.

    Definition Classes
      ParquetFileTraversable → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic

41. #### def genericBuilder[B]: Builder[B, Traversable[B]]

    Definition Classes
      GenericTraversableTemplate

42. #### final def getClass(): Class[_]

    Definition Classes
      AnyRef → Any

43. #### def groupBy[K](f: (T) ⇒ K): Map[K, Traversable[T]]

    Definition Classes
      TraversableLike → GenTraversableLike

44. #### def hasDefiniteSize: Boolean

    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce

45. #### def hashCode(): Int

    Definition Classes
      AnyRef → Any

46. #### def head: T

    Definition Classes
      TraversableLike → GenTraversableLike

47. #### def headOption: Option[T]

    Definition Classes
      TraversableLike → GenTraversableLike

48. #### def init: Traversable[T]

    Definition Classes
      TraversableLike → GenTraversableLike

49. #### def inits: Iterator[Traversable[T]]

    Definition Classes
      TraversableLike

50. #### def isEmpty: Boolean

    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce

51. #### final def isInstanceOf[T0]: Boolean

    Definition Classes
      Any

52. #### final def isTraversableAgain: Boolean

    Definition Classes
      TraversableLike → GenTraversableLike → GenTraversableOnce

53. #### def last: T

    Definition Classes
      TraversableLike → GenTraversableLike

54. #### def lastOption: Option[T]

    Definition Classes
      TraversableLike → GenTraversableLike

55. #### def map[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[Traversable[T], B, That]): That

    Definition Classes
      TraversableLike → GenTraversableLike → FilterMonadic

56. #### def max[B >: T](implicit cmp: Ordering[B]): T

    Definition Classes
      TraversableOnce → GenTraversableOnce

57. #### def maxBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Definition Classes
      TraversableOnce → GenTraversableOnce

58. #### def min[B >: T](implicit cmp: Ordering[B]): T

    Definition Classes
      TraversableOnce → GenTraversableOnce

59. #### def minBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Definition Classes
      TraversableOnce → GenTraversableOnce

60. #### def mkString: String

    Definition Classes
      TraversableOnce → GenTraversableOnce

61. #### def mkString(sep: String): String

    Definition Classes
      TraversableOnce → GenTraversableOnce

62. #### def mkString(start: String, sep: String, end: String): String

    Definition Classes
      TraversableOnce → GenTraversableOnce

63. #### final def ne(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

64. #### def newBuilder: Builder[T, Traversable[T]]

    Attributes
      protected[this]
    Definition Classes
      GenericTraversableTemplate → HasNewBuilder

65. #### def nonEmpty: Boolean

    Definition Classes
      TraversableOnce → GenTraversableOnce

66. #### final def notify(): Unit

    Definition Classes
      AnyRef

67. #### final def notifyAll(): Unit

    Definition Classes
      AnyRef

68. #### def par: ParIterable[T]

    Definition Classes
      Parallelizable

69. #### def parCombiner: Combiner[T, ParIterable[T]]

    Attributes
      protected[this]
    Definition Classes
      TraversableLike → Parallelizable

70. #### def partition(p: (T) ⇒ Boolean): (Traversable[T], Traversable[T])

    Definition Classes
      TraversableLike → GenTraversableLike

71. #### def product[B >: T](implicit num: Numeric[B]): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

72. #### def reduce[A1 >: T](op: (A1, A1) ⇒ A1): A1

    Definition Classes
      TraversableOnce → GenTraversableOnce

73. #### def reduceLeft[B >: T](op: (B, T) ⇒ B): B

    Definition Classes
      TraversableOnce

74. #### def reduceLeftOption[B >: T](op: (B, T) ⇒ B): Option[B]

    Definition Classes
      TraversableOnce → GenTraversableOnce

75. #### def reduceOption[A1 >: T](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
      TraversableOnce → GenTraversableOnce

76. #### def reduceRight[B >: T](op: (T, B) ⇒ B): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

77. #### def reduceRightOption[B >: T](op: (T, B) ⇒ B): Option[B]

    Definition Classes
      TraversableOnce → GenTraversableOnce

78. #### def repr: Traversable[T]

    Definition Classes
      TraversableLike → GenTraversableLike

79. #### def reversed: List[T]

    Attributes
      protected[this]
    Definition Classes
      TraversableOnce

80. #### def scan[B >: T, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Traversable[T], B, That]): That

    Definition Classes
      TraversableLike → GenTraversableLike

81. #### def scanLeft[B, That](z: B)(op: (B, T) ⇒ B)(implicit bf: CanBuildFrom[Traversable[T], B, That]): That

    Definition Classes
      TraversableLike → GenTraversableLike

82. #### def scanRight[B, That](z: B)(op: (T, B) ⇒ B)(implicit bf: CanBuildFrom[Traversable[T], B, That]): That

    Definition Classes
      TraversableLike → GenTraversableLike
    Annotations
      @migration
    Migration

      (Changed in version 2.9.0) The behavior of `scanRight` has changed. The previous behavior can be reproduced with scanRight.reverse.

83. #### def seq: Traversable[T]

    Definition Classes
      Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce

84. #### def size: Int

    Definition Classes
      TraversableOnce → GenTraversableOnce

85. #### def slice(from: Int, until: Int): Traversable[T]

    Definition Classes
      TraversableLike → GenTraversableLike

86. #### def span(p: (T) ⇒ Boolean): (Traversable[T], Traversable[T])

    Definition Classes
      TraversableLike → GenTraversableLike

87. #### def splitAt(n: Int): (Traversable[T], Traversable[T])

    Definition Classes
      TraversableLike → GenTraversableLike

88. #### def stringPrefix: String

    Definition Classes
      TraversableLike → GenTraversableLike

89. #### def sum[B >: T](implicit num: Numeric[B]): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

90. #### final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
      AnyRef

91. #### def tail: Traversable[T]

    Definition Classes
      TraversableLike → GenTraversableLike

92. #### def tails: Iterator[Traversable[T]]

    Definition Classes
      TraversableLike

93. #### def take(n: Int): Traversable[T]

    Definition Classes
      TraversableLike → GenTraversableLike

94. #### def takeWhile(p: (T) ⇒ Boolean): Traversable[T]

    Definition Classes
      TraversableLike → GenTraversableLike

95. #### def thisCollection: Traversable[T]

    Attributes
      protected[this]
    Definition Classes
      TraversableLike

96. #### def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, T, Col[T]]): Col[T]

    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce

97. #### def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
      TraversableOnce → GenTraversableOnce

98. #### def toBuffer[B >: T]: Buffer[B]

    Definition Classes
      TraversableOnce → GenTraversableOnce

99. #### def toCollection(repr: Traversable[T]): Traversable[T]

    Attributes
      protected[this]
    Definition Classes
      TraversableLike

100. #### def toIndexedSeq: IndexedSeq[T]

     Definition Classes
       TraversableOnce → GenTraversableOnce

101. #### def toIterable: Iterable[T]

     Definition Classes
       TraversableOnce → GenTraversableOnce

102. #### def toIterator: Iterator[T]

     Definition Classes
       TraversableLike → GenTraversableOnce

103. #### def toList: List[T]

     Definition Classes
       TraversableOnce → GenTraversableOnce

104. #### def toMap[T, U](implicit ev: <:<[T, (T, U)]): Map[T, U]

     Definition Classes
       TraversableOnce → GenTraversableOnce

105. #### def toSeq: Seq[T]

     Definition Classes
       TraversableOnce → GenTraversableOnce

106. #### def toSet[B >: T]: Set[B]

     Definition Classes
       TraversableOnce → GenTraversableOnce

107. #### def toStream: Stream[T]

     Definition Classes
       TraversableLike → GenTraversableOnce

108. #### def toString(): String

     Definition Classes
       TraversableLike → Any

109. #### def toTraversable: Traversable[T]

     Definition Classes
       TraversableLike → TraversableOnce → GenTraversableOnce

110. #### def toVector: Vector[T]

     Definition Classes
       TraversableOnce → GenTraversableOnce

111. #### def transpose[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): Traversable[Traversable[B]]

     Definition Classes
       GenericTraversableTemplate
     Annotations
       @migration
     Migration

       (Changed in version 2.9.0) `transpose` throws an `IllegalArgumentException` if collections are not uniformly sized.

112. #### def unzip[A1, A2](implicit asPair: (T) ⇒ (A1, A2)): (Traversable[A1], Traversable[A2])

     Definition Classes
       GenericTraversableTemplate

113. #### def unzip3[A1, A2, A3](implicit asTriple: (T) ⇒ (A1, A2, A3)): (Traversable[A1], Traversable[A2], Traversable[A3])

     Definition Classes
       GenericTraversableTemplate

114. #### def view(from: Int, until: Int): TraversableView[T, Traversable[T]]

     Definition Classes
       TraversableLike

115. #### def view: TraversableView[T, Traversable[T]]

     Definition Classes
       TraversableLike

116. #### final def wait(): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

117. #### final def wait(arg0: Long, arg1: Int): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

118. #### final def wait(arg0: Long): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

119. #### def withFilter(p: (T) ⇒ Boolean): FilterMonadic[T, Traversable[T]]

     Definition Classes
       TraversableLike → FilterMonadic

### Deprecated Value Members

1. #### def /:\[A1 >: T](z: A1)(op: (A1, A1) ⇒ A1): A1

   Definition Classes
     GenTraversableOnce
   Annotations
     @deprecated
   Deprecated

     (Since version 2.10.0) use fold instead

### Inherited from Traversable[T]

### Inherited from GenTraversable[T]

### Inherited from GenericTraversableTemplate[T, Traversable]

### Inherited from TraversableLike[T, Traversable[T]]

### Inherited from GenTraversableLike[T, Traversable[T]]

### Inherited from Parallelizable[T, ParIterable[T]]

### Inherited from TraversableOnce[T]

### Inherited from GenTraversableOnce[T]

### Inherited from FilterMonadic[T, Traversable[T]]

### Inherited from HasNewBuilder[T, Traversable[T]]

### Inherited from AnyRef

### Inherited from Any

### Ungrouped