object BulletSparkUtils
Utility functions for use across the project.
- Alphabetic
- By Inheritance
- BulletSparkUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
createBulletData(pubSubMessage: PubSubMessage, broadcastedConfig: Broadcast[BulletSparkConfig]): BulletData
Creates a com.yahoo.bullet.spark.data.BulletData instance from a PubSubMessage.
-
def
createBulletQuerier(runningQueryData: RunningQueryData, mode: Mode, broadcastedConfig: Broadcast[BulletSparkConfig]): Querier
Creates a Querier instance from a com.yahoo.bullet.spark.data.RunningQueryData and a broadcasted com.yahoo.bullet.spark.utils.BulletSparkConfig.
-
def
createBulletQuerier(runningQuery: RunningQuery, mode: Mode, broadcastedConfig: Broadcast[BulletSparkConfig]): Querier
Creates a Querier instance from a RunningQuery and a broadcasted com.yahoo.bullet.spark.utils.BulletSparkConfig.
-
def
createErrorMessage(id: String, errorData: BulletErrorData): PubSubMessage
Creates a result PubSubMessage for queries that have errored using a com.yahoo.bullet.spark.data.BulletErrorData.
-
def
createFeedbackMessage(id: String, signal: Signal): PubSubMessage
Create a feedback PubSubMessage for signals.
-
def
createRateLimitErrorMessage(id: String, querierData: QuerierData, error: RateLimitError): PubSubMessage
Creates a result PubSubMessage for queries that have been rate-limited using a com.yahoo.bullet.spark.data.QuerierData.
-
def
createResultMessage(id: String, querierData: QuerierData): PubSubMessage
Creates an incremental result PubSubMessage from a com.yahoo.bullet.spark.data.QuerierData.
-
def
createResultMessageWithSignal(id: String, querierData: QuerierData, signal: Signal): PubSubMessage
Creates a final result PubSubMessage with the given signal from a com.yahoo.bullet.spark.data.QuerierData.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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()
-
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()
-
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
- @native() @throws( ... )