Trait/Object

io.eels

Frame

Related Docs: object Frame | package eels

Permalink

trait Frame extends AnyRef

Self Type
Frame
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Frame
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def rows(): Observable[Row]

    Permalink

    Returns an Observable which can be subscribed to in order to receieve all the rows held by this Frame.

  2. abstract def schema(): Schema

    Permalink

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(other: Frame): Frame

    Permalink

    Joins two frames together, such that the elements of the given frame are appended to the end of this frame.

    Joins two frames together, such that the elements of the given frame are appended to the end of this frame. This operation is the same as a concat operation.

  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def addField(field: Field, defaultValue: Any): Frame

    Permalink

    Returns a new Frame with the given field added at the end.

    Returns a new Frame with the given field added at the end. The value of this field for each Row is specified by the default value. The value must be compatible with the field definition. Eg, an error will occur if the field had type Int and the default value was 1.3

  6. def addField(name: String, defaultValue: Any): Frame

    Permalink

    Returns a new Frame with the new field of type String added at the end.

    Returns a new Frame with the new field of type String added at the end. The value of this field for each Row is specified by the default value.

  7. def addFieldIfNotExists(field: Field, defaultValue: Any): Frame

    Permalink
  8. def addFieldIfNotExists(name: String, defaultValue: Any): Frame

    Permalink
  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def drop(k: Int): Frame

    Permalink
  12. def dropNullRows(): Frame

    Permalink
  13. def dropWhile(fieldName: String, pred: (Any) ⇒ Boolean): Frame

    Permalink
  14. def dropWhile(pred: (Row) ⇒ Boolean): Frame

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def exists(p: (Row) ⇒ Boolean): Boolean

    Permalink
  18. def explode(fn: (Row) ⇒ Seq[Row]): Frame

    Permalink
  19. def filter(fieldName: String, p: (Any) ⇒ Boolean): Frame

    Permalink

    Filters where the given field name matches the given predicate.

  20. def filter(p: (Row) ⇒ Boolean): Frame

    Permalink
  21. def filterNot(p: (Row) ⇒ Boolean): Frame

    Permalink
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def find(p: (Row) ⇒ Boolean): Row

    Permalink
  24. def fold[A](initial: A)(fn: (A, Row) ⇒ A): A

    Permalink
  25. def forall(p: (Row) ⇒ Boolean): Boolean

    Permalink
  26. def foreach[U](fn: (Row) ⇒ U): Frame

    Permalink

    Execute a side effecting function for every row in the frame, returning the same Frame.

    Execute a side effecting function for every row in the frame, returning the same Frame.

    fn

    the function to execute

    returns

    this frame, to allow for builder style chaining

  27. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. def head(): Row

    Permalink
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. def join(other: Frame): Frame

    Permalink

    Combines two frames together such that the fields from this frame are joined with the fields of the given frame.

    Combines two frames together such that the fields from this frame are joined with the fields of the given frame. Eg, if this frame has A,B and the given frame has C,D then the result will be A,B,C,D

  32. def map(f: (Row) ⇒ Row): Frame

    Permalink
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  36. def projection(fields: Seq[String]): Frame

    Permalink

    Returns a new frame which contains the given list of fields from the existing frame.

  37. def projection(first: String, rest: String*): Frame

    Permalink
  38. def projectionExpression(expr: String): Frame

    Permalink
  39. def removeField(fieldName: String, caseSensitive: Boolean = true): Frame

    Permalink
  40. def renameField(nameFrom: String, nameTo: String): Frame

    Permalink
  41. def replace(fieldName: String, fn: (Any) ⇒ Any): Frame

    Permalink

    For each row, the value corresponding to the given fieldName is applied to the function.

    For each row, the value corresponding to the given fieldName is applied to the function. The result of the function is the new value for that cell.

  42. def replace(fieldName: String, from: String, target: Any): Frame

    Permalink

    Replaces any values that match "form" with the value "target".

    Replaces any values that match "form" with the value "target". This operation only applies to the field name specified.

  43. def replace(from: String, target: Any): Frame

    Permalink

    Foreach row, any values that match "from" will be replaced with "target".

    Foreach row, any values that match "from" will be replaced with "target". This operation applies to all values for all rows.

  44. def replaceNullValues(defaultValue: String): Frame

    Permalink
  45. def sample(k: Int): Frame

    Permalink

    Returns a new Frame where only each "k" row is retained.

    Returns a new Frame where only each "k" row is retained. Ie, if sample is 2, then on average, every other row will be returned. If sample is 10 then only 10% of rows will be returned. When running concurrently, the rows that are sampled will vary depending on the ordering that the workers pull through the rows. Each stream (thread) uses its own count for the sample.

  46. def size(): Long

    Permalink
  47. def stripCharsFromFieldNames(chars: Seq[Char]): Frame

    Permalink
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  49. def takeWhile(fieldName: String, pred: (Any) ⇒ Boolean): Frame

    Permalink
  50. def takeWhile(pred: (Row) ⇒ Boolean): Frame

    Permalink
  51. def to(sink: Sink, observer: Observer[Row] = NoopObserver): Long

    Permalink
  52. def toList(): List[Row]

    Permalink
  53. def toSet(): Set[Row]

    Permalink
  54. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  55. def union(other: Frame): Frame

    Permalink
  56. def updateField(field: Field): Frame

    Permalink
  57. def updateFieldType(fieldName: String, fieldType: FieldType): Frame

    Permalink
  58. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. def withLowerCaseSchema(): Frame

    Permalink

    Returns a new Frame where the schema has been lowercased.

    Returns a new Frame where the schema has been lowercased. This does not affect values.

Inherited from AnyRef

Inherited from Any

Ungrouped