class S3ConnectorStreaming extends AnyRef
- Alphabetic
- By Inheritance
- S3ConnectorStreaming
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new S3ConnectorStreaming()
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() @IntrinsicCandidate()
- var count_table: String
- var delta_meta_table: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def get_spark_context(config: Config): SparkSession
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- var index_table: String
-
def
initialize_db(config: Config): Unit
Initializes the private object of this class along with any table required in S3
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var last_checked_table: String
- var meta_table: String
- var metadata: MetaData
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- var seq_table: String
- var single_table: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val unique_traces: Set[String]
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
write_count_table(pairs: Dataset[StreamingPair]): StreamingQuery
Handles the writing of the metrics for each event pair in the CountTable.
Handles the writing of the metrics for each event pair in the CountTable. This is the most complecated query in the streaming mode, because metrics should overwrite the previous records
- pairs
The calculated pairs for the last batch
- returns
Reference to the query, in order to use awaitTermination at the end of all the processes
-
def
write_index_table(pairs: Dataset[StreamingPair]): (StreamingQuery, StreamingQuery)
Handles the writing of the event pairs in the IndexTable.
Handles the writing of the event pairs in the IndexTable. The pairs have been calculated in the auth.datalab.siesta.Pipeline.SiestaStreamingPipeline using a stateful function.
- pairs
The calculated pairs of the last batch
- returns
Reference to the query, in order to use awaitTermination at the end of all the processes
-
def
write_sequence_table(df_events: Dataset[EventStream]): (StreamingQuery, StreamingQuery)
Handles the writing of the events in the SequenceTable.
Handles the writing of the events in the SequenceTable. There are 2 Streaming Queries. The first one is to continuous write the incoming events in the delta table and the second one is responsible to update the number of events and distinct traces in the metadata.
- df_events
The events stream as it is read from the input source
- returns
References to the two queries, in order to use awaitTermination at the end of all the processes
-
def
write_single_table(df_events: Dataset[EventStream]): StreamingQuery
Handles the writing of the events in the SingleTable.
Handles the writing of the events in the SingleTable. The original events are partitioned based on the event type and then written in the delta table.
- df_events
The events stream as it is read from the input source
- returns
Reference to the query, in order to use awaitTermination at the end of all the processes
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated