Packages

c

org.zuinnote.spark.ethereum.block

EthereumBlockRelation

final case class EthereumBlockRelation(location: String, maxBlockSize: Integer = ..., useDirectBuffer: Boolean = ..., enrich: Boolean = false, chainId: Integer = 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
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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
  6. val chainId: Integer
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. val enrich: Boolean
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val location: String
  14. val maxBlockSize: Integer
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def needConversion: Boolean
    Definition Classes
    BaseRelation
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def schema: StructType
    Definition Classes
    EthereumBlockRelation → BaseRelation
  20. def sizeInBytes: Long
    Definition Classes
    BaseRelation
  21. val sqlContext: SQLContext
    Definition Classes
    EthereumBlockRelation → BaseRelation
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def unhandledFilters(filters: Array[Filter]): Array[Filter]
    Definition Classes
    BaseRelation
  24. val useDirectBuffer: Boolean
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @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