org.zuinnote.spark.ethereum.block

EthereumBlockRelation

final case class EthereumBlockRelation(location: String, maxBlockSize: Integer = ..., useDirectBuffer: Boolean = ..., enrich: Boolean = false, chainId: Integer = scala.this.Predef.int2Integer(1))(sqlContext: SQLContext) extends BaseRelation with TableScan with Serializable with Product

Defines the schema of a EthereumBlock for Spark SQL

Linear Supertypes
Product, Equals, Serializable, Serializable, TableScan, BaseRelation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EthereumBlockRelation
  2. Product
  3. Equals
  4. Serializable
  5. Serializable
  6. TableScan
  7. BaseRelation
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EthereumBlockRelation(location: String, maxBlockSize: Integer = ..., useDirectBuffer: Boolean = ..., enrich: Boolean = false, chainId: Integer = scala.this.Predef.int2Integer(1))(sqlContext: SQLContext)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def buildScan(): RDD[Row]

    Used by Spark to fetch Ethereum blocks according to the schema specified above from files.

    Used by Spark to fetch Ethereum blocks according to the schema specified above from files.

    returns EthereumBlocks as rows

    Definition Classes
    EthereumBlockRelation → TableScan
  8. val chainId: Integer

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val enrich: Boolean

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

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

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

    Definition Classes
    Any
  15. val location: String

  16. val maxBlockSize: Integer

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

    Definition Classes
    AnyRef
  18. def needConversion: Boolean

    Definition Classes
    BaseRelation
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def schema: StructType

    Definition Classes
    EthereumBlockRelation → BaseRelation
  22. def sizeInBytes: Long

    Definition Classes
    BaseRelation
  23. val sqlContext: SQLContext

    Definition Classes
    EthereumBlockRelation → BaseRelation
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def unhandledFilters(filters: Array[Filter]): Array[Filter]

    Definition Classes
    BaseRelation
  26. val useDirectBuffer: Boolean

  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from TableScan

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped