Class

ai.h2o.sparkling.backend.external

ExternalBackendReader

Related Doc: package external

Permalink

class ExternalBackendReader extends Reader

Linear Supertypes
shared.Reader, TimeZoneConversions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExternalBackendReader
  2. Reader
  3. TimeZoneConversions
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExternalBackendReader(keyName: String, chunkIdx: Int, numRows: Int, nodeDesc: NodeDesc, expectedTypes: Array[Byte], selectedColumnIndices: Array[Int], conf: H2OConf, sparkTimeZone: TimeZone)

    Permalink

    keyName

    key name of frame to query data from

    chunkIdx

    chunk index

    nodeDesc

    the h2o node which has data for chunk with the chunkIdx

Type Members

  1. type DataSource = ChunkAutoBufferReader

    Permalink

    Type from which we query the data

    Type from which we query the data

    Definition Classes
    ExternalBackendReader → Reader
  2. type OptionReader = (Int) ⇒ Option[Any]

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

    Permalink
    Definition Classes
    Reader

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
    Reader
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalBackendReader → Reader
  7. def byteAt(source: DataSource): Byte

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalBackendReader → Reader
  8. val chunkIdx: Int

    Permalink

    chunk index

    chunk index

    Definition Classes
    ExternalBackendReader → Reader
  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
    Reader
  11. val conf: H2OConf

    Permalink
  12. def doubleAt(source: DataSource): Double

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalBackendReader → Reader
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def floatAt(source: DataSource): Float

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalBackendReader → Reader
  17. def fromSparkTimeZoneToUTC(date: Date): Long

    Permalink
    Definition Classes
    TimeZoneConversions
  18. def fromSparkTimeZoneToUTC(timestamp: Timestamp): Long

    Permalink
    Definition Classes
    TimeZoneConversions
  19. def fromSparkTimeZoneToUTC(timestamp: Long): Long

    Permalink
    Definition Classes
    TimeZoneConversions
  20. def fromUTCToSparkTimeZone(timestamp: Long): Long

    Permalink
    Definition Classes
    TimeZoneConversions
  21. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    ExternalBackendReader → Reader
  23. def hashCode(): Int

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

    Permalink
    Definition Classes
    Reader
  25. def intAt(source: DataSource): Int

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalBackendReader → Reader
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. val keyName: String

    Permalink

    key name of frame to query data from

    key name of frame to query data from

    Definition Classes
    ExternalBackendReader → Reader
  28. def longAt(source: DataSource): Long

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalBackendReader → Reader
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. val nodeDesc: NodeDesc

    Permalink

    the h2o node which has data for chunk with the chunkIdx

  31. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  33. val numRows: Int

    Permalink
    Definition Classes
    ExternalBackendReader → Reader
  34. lazy val readerMapByName: Map[NameOfType, Reader]

    Permalink
    Definition Classes
    Reader
  35. 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
    ExternalBackendReader → Reader
  36. 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
    ExternalBackendReader → Reader
  37. var rowIdx: Int

    Permalink

    Current row index

    Current row index

    Definition Classes
    Reader
  38. def shortAt(source: DataSource): Short

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalBackendReader → Reader
  39. val sparkTimeZone: TimeZone

    Permalink
  40. def string(source: DataSource): String

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalBackendReader → Reader
  41. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Attributes
    protected
    Definition Classes
    Reader
  43. def toString(): String

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

    Permalink
    Attributes
    protected
    Definition Classes
    Reader
  45. final def wait(): Unit

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

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

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

Inherited from shared.Reader

Inherited from TimeZoneConversions

Inherited from AnyRef

Inherited from Any

Ungrouped