Class

org.apache.spark.h2o.backends.internal

InternalReadConverterCtx

Related Doc: package internal

Permalink

class InternalReadConverterCtx extends ReadConverterCtx

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

Instance Constructors

  1. new InternalReadConverterCtx(keyName: String, chunkIdx: Int)

    Permalink

Type Members

  1. type DataSource = Chunk

    Permalink

    Type from which we query the data

    Type from which we query the data

    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  2. type OptionReader = (Int) ⇒ Option[Any]

    Permalink
    Definition Classes
    ReadConverterCtx
  3. type Reader = (Int) ⇒ Any

    Permalink
    Definition Classes
    ReadConverterCtx

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. lazy val ExtractorsTable: Map[SimpleType[_], Function1[DataSource, _]]

    Permalink

    This map registers for each type corresponding extractor

    This map registers for each type corresponding extractor

    Given a a column number, returns an Option[T] with the value parsed according to the type. You can override it.

    A map from type name to option reader

    Attributes
    protected
    Definition Classes
    ReadConverterCtx
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def booleanAt(source: Chunk): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  7. def byteAt(source: Chunk): Byte

    Permalink
    Attributes
    protected
    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  8. val chunkIdx: Int

    Permalink

    Chunk Idx/Partition index

    Chunk Idx/Partition index

    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def columnValueProviders(columnIndexesWithTypes: Array[(Int, SimpleType[_])]): Array[() ⇒ Option[Any]]

    Permalink

    For a given array of source column indexes and required data types, produces an array of value providers.

    For a given array of source column indexes and required data types, produces an array of value providers.

    columnIndexesWithTypes

    lists which columns we need, and what are the required types

    returns

    an array of value providers. Each provider gives the current column value

    Definition Classes
    ReadConverterCtx
  11. def doubleAt(source: DataSource): Double

    Permalink
    Attributes
    protected
    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  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. def floatAt(source: Chunk): Float

    Permalink
    Attributes
    protected
    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hasNext: Boolean

    Permalink
    Definition Classes
    ReadConverterCtx
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def increaseRowIdx(): Unit

    Permalink
    Definition Classes
    ReadConverterCtx
  20. def intAt(source: Chunk): Int

    Permalink
    Attributes
    protected
    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. val keyName: String

    Permalink

    Key pointing to H2OFrame containing the data

    Key pointing to H2OFrame containing the data

    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  23. def longAt(source: DataSource): Long

    Permalink
    Attributes
    protected
    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. lazy val numRows: Int

    Permalink

    Number of rows in this partition

    Number of rows in this partition

    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  28. lazy val readerMapByName: Map[NameOfType, Reader]

    Permalink
    Definition Classes
    ReadConverterCtx
  29. def returnOption[T](read: (DataSource) ⇒ T)(columnNum: Int): Option[T]

    Permalink

    Returns Option with data was successfully obtained or none otherwise

    Returns Option with data was successfully obtained or none otherwise

    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  30. def returnSimple[T](ifMissing: (String) ⇒ T, read: (DataSource) ⇒ T)(columnNum: Int): T

    Permalink

    Returns the data if it was obtained successfully or the default value

    Returns the data if it was obtained successfully or the default value

    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  31. var rowIdx: Int

    Permalink

    Current row index

    Current row index

    Definition Classes
    ReadConverterCtx
  32. def shortAt(source: Chunk): Short

    Permalink
    Attributes
    protected
    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  33. def string(source: DataSource): String

    Permalink
    Attributes
    protected
    Definition Classes
    InternalReadConverterCtxReadConverterCtx
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def timestamp(source: DataSource): Long

    Permalink
    Attributes
    protected
    Definition Classes
    ReadConverterCtx
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. def utfString(source: DataSource): UTF8String

    Permalink
    Attributes
    protected
    Definition Classes
    ReadConverterCtx
  38. final def wait(): Unit

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

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

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

Inherited from ReadConverterCtx

Inherited from AnyRef

Inherited from Any

Ungrouped