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
Ordering
- Alphabetic
- By Inheritance
Inherited
- EthereumBlockRelation
- Product
- Equals
- Serializable
- Serializable
- TableScan
- BaseRelation
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new EthereumBlockRelation(location: String, maxBlockSize: Integer = ..., useDirectBuffer: Boolean = ..., enrich: Boolean = false, chainId: Integer = 1)(sqlContext: SQLContext)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
- val chainId: Integer
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val enrich: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val location: String
- val maxBlockSize: Integer
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
needConversion: Boolean
- Definition Classes
- BaseRelation
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
schema: StructType
- Definition Classes
- EthereumBlockRelation → BaseRelation
-
def
sizeInBytes: Long
- Definition Classes
- BaseRelation
-
val
sqlContext: SQLContext
- Definition Classes
- EthereumBlockRelation → BaseRelation
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
unhandledFilters(filters: Array[Filter]): Array[Filter]
- Definition Classes
- BaseRelation
- val useDirectBuffer: Boolean
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )