org.zuinnote.spark.bitcoin.block

BitcoinBlockRelation

case class BitcoinBlockRelation(location: String, maxBlockSize: Integer = ..., magic: String = ..., useDirectBuffer: Boolean = ..., isSplitable: Boolean = ..., readAuxPOW: Boolean = ..., enrich: Boolean = false)(sqlContext: SQLContext) extends BaseRelation with TableScan with Serializable with Product

Defines the schema of a BitcoinBlock for Spark SQL

Linear Supertypes
Product, Equals, Serializable, Serializable, TableScan, BaseRelation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BitcoinBlockRelation
  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 BitcoinBlockRelation(location: String, maxBlockSize: Integer = ..., magic: String = ..., useDirectBuffer: Boolean = ..., isSplitable: Boolean = ..., readAuxPOW: Boolean = ..., enrich: Boolean = false)(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. val LOG: Log

  7. final def asInstanceOf[T0]: T0

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

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

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

    returns BitcoinBlocks as rows

    Definition Classes
    BitcoinBlockRelation → TableScan
  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 isSplitable: Boolean

  16. val location: String

  17. val magic: String

  18. val maxBlockSize: Integer

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

    Definition Classes
    AnyRef
  20. def needConversion: Boolean

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

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

    Definition Classes
    AnyRef
  23. val readAuxPOW: Boolean

  24. def schema: StructType

    Definition Classes
    BitcoinBlockRelation → BaseRelation
  25. def sizeInBytes: Long

    Definition Classes
    BaseRelation
  26. val sqlContext: SQLContext

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

    Definition Classes
    AnyRef
  28. val useDirectBuffer: Boolean

  29. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. 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