Class ConstructPipelineEvent
Object
org.apache.spark.sql.pipelines.logging.ConstructPipelineEvent
A factory object that is used to construct
PipelineEvents with common fields
automatically filled in. Developers should always use this factory rather than construct
an event directly from an empty proto.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PipelineEventapply(PipelineEventOrigin origin, EventLevel level, String message, EventDetails details, scala.Option<Throwable> exception, scala.Option<Timestamp> eventTimestamp) Returns a new event with the current or provided timestamp and the given origin/message.
-
Constructor Details
-
ConstructPipelineEvent
public ConstructPipelineEvent()
-
-
Method Details
-
apply
public static PipelineEvent apply(PipelineEventOrigin origin, EventLevel level, String message, EventDetails details, scala.Option<Throwable> exception, scala.Option<Timestamp> eventTimestamp) Returns a new event with the current or provided timestamp and the given origin/message.- Parameters:
origin- (undocumented)level- (undocumented)message- (undocumented)details- (undocumented)exception- (undocumented)eventTimestamp- (undocumented)- Returns:
- (undocumented)
-