class S3Connector extends DBConnector
- Alphabetic
- By Inheritance
- S3Connector
- DBConnector
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new S3Connector()
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()
-
def
closeSpark(): Unit
Closes spark connection
Closes spark connection
- Definition Classes
- DBConnector
-
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_metadata(config: Config): MetaData
This method constructs the appropriate metadata based on the already stored in the database and the new presented in the config object
This method constructs the appropriate metadata based on the already stored in the database and the new presented in the config object
- config
contains the configuration passed during execution
- returns
the metadata
- Definition Classes
- S3Connector → DBConnector
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
initialize_db(config: Config): Unit
Create the appropriate tables, remove previous ones
Create the appropriate tables, remove previous ones
- Definition Classes
- S3Connector → DBConnector
-
def
initialize_spark(config: Config): Unit
Spark initializes the connection to S3 utilizing the hadoop properties and the aws-bundle library
Spark initializes the connection to S3 utilizing the hadoop properties and the aws-bundle library
- Definition Classes
- S3Connector → DBConnector
-
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() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
read_last_checked_table(metaData: MetaData): RDD[LastChecked]
Returns data from LastChecked Table Loads data from the LastChecked Table, which contains the information of the last timestamp per event type pair per trace.
Returns data from LastChecked Table Loads data from the LastChecked Table, which contains the information of the last timestamp per event type pair per trace.
- metaData
Object containing the metadata
- returns
An RDD with the last timestamps per event type pair per trace
- Definition Classes
- S3Connector → DBConnector
-
def
read_sequence_table(metaData: MetaData, detailed: Boolean = false): RDD[EventTrait]
Read data as an rdd from the SeqTable
Read data as an rdd from the SeqTable
- metaData
Object containing the metadata
- returns
Object containing the metadata
- Definition Classes
- S3Connector → DBConnector
-
def
read_single_table(metaData: MetaData): RDD[Event]
Loads the single inverted index from S3, stored in the SingleTable
Loads the single inverted index from S3, stored in the SingleTable
- metaData
Object containing the metadata
- returns
In RDD the stored data
- Definition Classes
- S3Connector → DBConnector
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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(counts: RDD[Count], metaData: MetaData): Unit
Writes count to countTable
Writes count to countTable
- counts
Calculated basic statistics per event type pair in order to be stored in the count table
- metaData
Object containing the metadata
- Definition Classes
- S3Connector → DBConnector
-
def
write_index_table(newPairs: RDD[PairFull], metaData: MetaData): Unit
Write the combined pairs back to the S3, grouped by the interval and the first event
Write the combined pairs back to the S3, grouped by the interval and the first event
- newPairs
The newly generated pairs
- metaData
Object containing the metadata
- Definition Classes
- S3Connector → DBConnector
-
def
write_last_checked_table(lastChecked: RDD[LastChecked], metaData: MetaData): Unit
Stores new records for last checked back in the database
Stores new records for last checked back in the database
- lastChecked
Records containing the timestamp of last completion for each event type pair for each trace combined with the records that were previously read from the LastChecked Table. that way douplicate read is avoided
- metaData
Object containing the metadata
- Definition Classes
- S3Connector → DBConnector
-
def
write_metadata(metaData: MetaData): Unit
Persists metadata
Persists metadata
- metaData
Object containing the metadata
- Definition Classes
- S3Connector → DBConnector
-
def
write_sequence_table(sequenceRDD: RDD[EventTrait], metaData: MetaData, detailed: Boolean = false): Unit
This method writes traces to the auxiliary SeqTable.
This method writes traces to the auxiliary SeqTable. Since RDD will be used as intermediate results it is already persisted and should not be modified. Additionally, updates metaData object
- sequenceRDD
The RDD containing the traces with the new events
- metaData
Object containing the metadata
- Definition Classes
- S3Connector → DBConnector
-
def
write_single_table(sequenceRDD: RDD[EventTrait], metaData: MetaData): Unit
This method writes traces to the auxiliary SingleTable.
This method writes traces to the auxiliary SingleTable. The rdd that comes to this method is not persisted. Database should persist it before store it and unpersist it at the end. Additionally, updates metaData object.
- sequenceRDD
Contains the newly indexed events in a form of single inverted index
- metaData
Object containing the metadata
- Definition Classes
- S3Connector → DBConnector
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated