class ContinuousRecordEndpoint extends ThreadSafeRpcEndpoint
A RPC end point for continuous readers to poll for records from the driver.
- Alphabetic
- By Inheritance
- ContinuousRecordEndpoint
- ThreadSafeRpcEndpoint
- RpcEndpoint
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ContinuousRecordEndpoint(buckets: Seq[Seq[UnsafeRow]], lock: AnyRef)
- buckets
the data buckets. Each bucket contains a sequence of items to be returned for a partition. The number of buckets should be equal to to the number of partitions.
- lock
a lock object for locking the buckets for read
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
onConnected(remoteAddress: RpcAddress): Unit
- Definition Classes
- RpcEndpoint
-
def
onDisconnected(remoteAddress: RpcAddress): Unit
- Definition Classes
- RpcEndpoint
-
def
onError(cause: Throwable): Unit
- Definition Classes
- RpcEndpoint
-
def
onNetworkError(cause: Throwable, remoteAddress: RpcAddress): Unit
- Definition Classes
- RpcEndpoint
-
def
onStart(): Unit
- Definition Classes
- RpcEndpoint
-
def
onStop(): Unit
- Definition Classes
- RpcEndpoint
-
def
receive: PartialFunction[Any, Unit]
- Definition Classes
- RpcEndpoint
-
def
receiveAndReply(context: RpcCallContext): PartialFunction[Any, Unit]
Process messages from
RpcEndpointRef.ask
.Process messages from
RpcEndpointRef.ask
. If receiving a unmatched message,SparkException
will be thrown and sent toonError
.- Definition Classes
- ContinuousRecordEndpoint → RpcEndpoint
-
val
rpcEnv: RpcEnv
- Definition Classes
- ContinuousRecordEndpoint → RpcEndpoint
-
final
def
self: RpcEndpointRef
- Definition Classes
- RpcEndpoint
-
def
setStartOffsets(offsets: Seq[Int]): Unit
Sets the start offset.
Sets the start offset.
- offsets
the base offset per partition to be used while retrieving the data in {#receiveAndReply}.
-
final
def
stop(): Unit
- Definition Classes
- RpcEndpoint
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... ) @native()