Class/Object

org.apache.spark.sql.rf

InternalRowTile

Related Docs: object InternalRowTile | package rf

Permalink

class InternalRowTile extends ArrayTile

Wrapper around a Tile encoded in a Catalyst InternalRow, for the purpose of providing compatible semantics over common operations.

Since

11/29/17

Linear Supertypes
ArrayTile, Tile, LazyLogging, MappableTile[Tile], MacroMappableTile[Tile], IterableTile, MacroIterableTile, CellGrid, Grid, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InternalRowTile
  2. ArrayTile
  3. Tile
  4. LazyLogging
  5. MappableTile
  6. MacroMappableTile
  7. IterableTile
  8. MacroIterableTile
  9. CellGrid
  10. Grid
  11. Serializable
  12. Serializable
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InternalRowTile(mem: InternalRow)

    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. def apply(i: Int): Int

    Permalink

    Reads the cell value at the given index as an Int.

    Reads the cell value at the given index as an Int.

    Definition Classes
    InternalRowTile → ArrayTile
  5. def applyDouble(i: Int): Double

    Permalink

    Reads the cell value at the given index as a Double.

    Reads the cell value at the given index as a Double.

    Definition Classes
    InternalRowTile → ArrayTile
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def asciiDraw(): String

    Permalink
    Definition Classes
    Tile
  8. def asciiDrawDouble(significantDigits: Int): String

    Permalink
    Definition Classes
    Tile
  9. def asciiDrawRange(colMin: Int, colMax: Int, rowMin: Int, rowMax: Int): String

    Permalink
    Definition Classes
    Tile
  10. val cellType: CellType

    Permalink

    Retrieve the cell type from the internal encoding.

    Retrieve the cell type from the internal encoding.

    Definition Classes
    InternalRowTile → CellGrid
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val cols: Int

    Permalink

    Retrieve the number of columns from the internal encoding.

    Retrieve the number of columns from the internal encoding.

    Definition Classes
    InternalRowTile → Grid
  13. def combine(other: Tile)(f: (Int, Int) ⇒ Int): Tile

    Permalink
    Definition Classes
    ArrayTile → Tile
  14. def combine(other: ArrayTile)(f: (Int, Int) ⇒ Int): ArrayTile

    Permalink
    Definition Classes
    ArrayTile
  15. def combineDouble(other: Tile)(f: (Double, Double) ⇒ Double): Tile

    Permalink
    Definition Classes
    ArrayTile → Tile
  16. def combineDouble(other: ArrayTile)(f: (Double, Double) ⇒ Double): ArrayTile

    Permalink
    Definition Classes
    ArrayTile
  17. def convert(targetCellType: CellType): ArrayTile

    Permalink
    Definition Classes
    ArrayTile → Tile
  18. def copy: InternalRowTile

    Permalink

    Definition Classes
    InternalRowTile → ArrayTile
  19. def dimensions: (Int, Int)

    Permalink
    Definition Classes
    Grid
  20. def downsample(newCols: Int, newRows: Int)(f: (CellSet) ⇒ Int): Tile

    Permalink
    Definition Classes
    Tile
  21. def dualCombine(r2: Tile)(f: (Int, Int) ⇒ Int)(g: (Double, Double) ⇒ Double): Tile

    Permalink
    Definition Classes
    Tile
  22. def dualForeach(f: (Int) ⇒ Unit)(g: (Double) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Tile
  23. def dualMap(f: (Int) ⇒ Int)(g: (Double) ⇒ Double): Tile

    Permalink
    Definition Classes
    Tile
  24. def dualMapIfSet(f: (Int) ⇒ Int)(g: (Double) ⇒ Double): Tile

    Permalink
    Definition Classes
    Tile
  25. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def equals(other: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def findMinMax: (Int, Int)

    Permalink
    Definition Classes
    Tile
  29. def findMinMaxDouble: (Double, Double)

    Permalink
    Definition Classes
    Tile
  30. def foreach(f: (Int) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ArrayTile → Tile
  31. macro def foreach(f: (Int, Int, Int) ⇒ Unit): Unit

    Permalink
    Definition Classes
    IterableTile
  32. def foreachDouble(f: (Double) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ArrayTile → Tile
  33. macro def foreachDouble(f: (Int, Int, Double) ⇒ Unit): Unit

    Permalink
    Definition Classes
    IterableTile
  34. def foreachDoubleVisitor(visitor: DoubleTileVisitor): Unit

    Permalink
    Definition Classes
    ArrayTile → MacroIterableTile
  35. def foreachIntVisitor(visitor: IntTileVisitor): Unit

    Permalink
    Definition Classes
    ArrayTile → MacroIterableTile
  36. def get(col: Int, row: Int): Int

    Permalink
    Definition Classes
    ArrayTile → Tile
  37. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  38. def getDouble(col: Int, row: Int): Double

    Permalink
    Definition Classes
    ArrayTile → Tile
  39. def gridBounds: GridBounds

    Permalink
    Definition Classes
    Grid
  40. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  41. def interpretAs(newCellType: CellType): Tile

    Permalink

    Definition Classes
    InternalRowTile → ArrayTile → Tile
  42. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  43. def isNoDataTile: Boolean

    Permalink
    Definition Classes
    Tile
  44. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  45. def map(f: (Int) ⇒ Int): Tile

    Permalink
    Definition Classes
    ArrayTile → Tile
  46. macro def map(f: (Int, Int, Int) ⇒ Int): Tile

    Permalink
    Definition Classes
    MappableTile
  47. def mapDouble(f: (Double) ⇒ Double): Tile

    Permalink
    Definition Classes
    ArrayTile → Tile
  48. macro def mapDouble(f: (Int, Int, Double) ⇒ Double): Tile

    Permalink
    Definition Classes
    MappableTile
  49. def mapDoubleMapper(mapper: DoubleTileMapper): Tile

    Permalink
    Definition Classes
    ArrayTile → MacroMappableTile
  50. def mapIfSet(f: (Int) ⇒ Int): Tile

    Permalink
    Definition Classes
    Tile
  51. def mapIfSetDouble(f: (Double) ⇒ Double): Tile

    Permalink
    Definition Classes
    Tile
  52. def mapIntMapper(mapper: IntTileMapper): Tile

    Permalink
    Definition Classes
    ArrayTile → MacroMappableTile
  53. def mutable: MutableArrayTile

    Permalink

    Definition Classes
    InternalRowTile → Tile
  54. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  55. def normalize(oldMin: Double, oldMax: Double, newMin: Double, newMax: Double): Tile

    Permalink
    Definition Classes
    Tile
  56. def normalize(oldMin: Int, oldMax: Int, newMin: Int, newMax: Int): Tile

    Permalink
    Definition Classes
    Tile
  57. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  59. def rescale(newMin: Double, newMax: Double): Tile

    Permalink
    Definition Classes
    Tile
  60. def rescale(newMin: Int, newMax: Int): Tile

    Permalink
    Definition Classes
    Tile
  61. val rows: Int

    Permalink

    Retrieve the number of rows from the internal encoding.

    Retrieve the number of rows from the internal encoding.

    Definition Classes
    InternalRowTile → Grid
  62. def size: Int

    Permalink
    Definition Classes
    Grid
  63. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  64. def toArray(): Array[Int]

    Permalink
    Definition Classes
    ArrayTile → Tile
  65. def toArrayDouble(): Array[Double]

    Permalink
    Definition Classes
    ArrayTile → Tile
  66. def toArrayTile(): ArrayTile

    Permalink

    Definition Classes
    InternalRowTile → ArrayTile → Tile
  67. lazy val toBytes: Array[Byte]

    Permalink

    Get the internally encoded tile data cells.

    Get the internally encoded tile data cells.

    Definition Classes
    InternalRowTile → Tile
  68. def toList: List[Int]

    Permalink
    Definition Classes
    ArrayTile
  69. def toListDouble: List[Double]

    Permalink
    Definition Classes
    ArrayTile
  70. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. def withNoData(noDataValue: Option[Double]): Tile

    Permalink

    Definition Classes
    InternalRowTile → ArrayTile → Tile

Inherited from ArrayTile

Inherited from Tile

Inherited from LazyLogging

Inherited from MappableTile[Tile]

Inherited from MacroMappableTile[Tile]

Inherited from IterableTile

Inherited from MacroIterableTile

Inherited from CellGrid

Inherited from Grid

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Memory Copying

Requires creating an intermediate copy of the complete Tile contents, and should be avoided.

Ungrouped