Class/Object

org.hablapps.sparkOptics

Lens

Related Docs: object Lens | package sparkOptics

Permalink

sealed abstract class Lens extends AnyRef

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

Abstract Value Members

  1. abstract def column: Vector[String]

    Permalink

    Focused column vector

    Focused column vector

    returns

    the vector

  2. abstract def focusDataType: DataType

    Permalink

    The spark sql type of the focused element

    The spark sql type of the focused element

    returns

    a spark DataType value

    See also

    org.apache.spark.sql.types.DataType

  3. abstract def innerSchema: StructType

    Permalink

    Schema of the structure that holds the focused element.

    Schema of the structure that holds the focused element.

    returns

    a spark StructType

    See also

    org.apache.spark.sql.types.StructType

  4. abstract def prune(prev: Vector[String] = Vector.empty): Array[Column]

    Permalink

    Removes the focused column

    Removes the focused column

    prev

    the vector with the strings of the columns that prefix this lens.

    returns

    an array of columns with the modifications.

  5. abstract def renameWithPrefix(newName: String, prev: Vector[String]): Array[Column]

    Permalink

    Renames the column of focused element.

    Renames the column of focused element.

    newName

    the new name of the column.

    prev

    the vector with the strings of the columns that prefix this lens.

    returns

    an array of columns with the modifications.

  6. abstract def schema: StructType

    Permalink

    Schema of the context element.

    Schema of the context element.

    returns

    a spark StructType

    See also

    org.apache.spark.sql.types.StructType

  7. abstract def setAux(newValue: Column, prev: Vector[String]): Array[Column]

    Permalink

    Sets a new value in the focused lens, with previous columns.

    Sets a new value in the focused lens, with previous columns.

    newValue

    the new value to set.

    prev

    the vector with the strings of the columns that prefix this lens.

    returns

    the array of columns with the modifications.

Concrete 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 composeLens(nextLens: Lens): Lens

    Permalink
  7. def composeProtoLens(nextProto: ProtoLens): Lens

    Permalink

    Compose a lens with a protoLens.

    Compose a lens with a protoLens.

    nextProto

    protolens with columns inside the structure already focused.

    returns

    a lens focusing into the protoLens reference.

  8. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get: Column

    Permalink

    The column reference that is in focus.

    The column reference that is in focus.

    returns

    a spark Column

    See also

    org.apache.spark.sql.Column

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

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

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

    Permalink
    Definition Classes
    Any
  15. def modify(f: (Column) ⇒ Column): Array[Column]

    Permalink

    Modifies the column with the provided function.

    Modifies the column with the provided function.

    f

    the new value to set.

    returns

    the array of columns with the modifications.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def rename(newName: String): Array[Column]

    Permalink

    Renames the column of focused element.

    Renames the column of focused element.

    newName

    the new name of the column.

    returns

    an array with all the columns to use in a select.

  20. def set(c: Column): Array[Column]

    Permalink

    Sets a value in the focused column.

    Sets a value in the focused column.

    c

    the new value to set.

    returns

    the array of columns with the modifications.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped