Packages

case class Config(system: String = "siesta", database: String = "s3", mode: String = "positions", filename: String = "synthetic", log_name: String = "synthetic", compression: String = "snappy", delete_all: Boolean = false, delete_previous: Boolean = false, lookback_days: Int = 30, traces: Int = 100, event_types: Int = 10, length_min: Int = 10, length_max: Int = 90, k: Int = -1, duration_determination: Boolean = false, declare_incremental: Boolean = false) extends Product with Serializable

This class is the configuration object that is initialized in auth.datalab.siesta.siesta_main from the command arguments. It holds the following information

system

What system will be used for indexing (Signature, Set-Containment, SIESTA or online SIESTA)

database

In what database the data will be stored. Note that for Signature and Set-Containment only Cassandra is available. Therefore only for SIESTA both options are available.

mode

This parameter is specific for siesta and determines whether the timestamps or positions of the event type pairs will be stored in IndexTable

filename

The path to the logfile that will be indexed

log_name

The name of the log database. Since multiple log databases can be available (similar to SQL). The same name must be given if this is an incremental indexing, in order to append the log in the correct tables.

compression

The compression algorithm that will be used while storing the indices in the database.

delete_all

Flag parameter determines if all the previous tables in the database (despite the log database name) will be deleted.

delete_previous

Flag parameter determines if the previous tables of this particular log database will be deleted.

lookback_days

Numeric parameter, determines the maximum distance (in days) between two events in order to create an event pair. That is if two events' timestamp have difference larger than this parameter they will be not stored in IndexTable.

traces

This parameter concerns the random generator. Defines the number of traces that will be random generated.

event_types

This parameter concerns the random generator. Defines the number of event types that will be contained in the traces.

length_min

This parameter concerns the random generator. Defines the minimum length of the generated traces.

length_max

This parameter concerns the random generator. Defines the maximum length of the generated traces.

k

Specifies the number of frequent events that will be used in the Signature method. If -1 is set it will use k=|unique event types|

duration_determination

Flag parameter determines if the duration of the events will be calculated and stored in.

See also

ParsingArguments, which describes how the parameters are parsed from the command line and what are the available values for each parameter.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Config
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Config(system: String = "siesta", database: String = "s3", mode: String = "positions", filename: String = "synthetic", log_name: String = "synthetic", compression: String = "snappy", delete_all: Boolean = false, delete_previous: Boolean = false, lookback_days: Int = 30, traces: Int = 100, event_types: Int = 10, length_min: Int = 10, length_max: Int = 90, k: Int = -1, duration_determination: Boolean = false, declare_incremental: Boolean = false)

    system

    What system will be used for indexing (Signature, Set-Containment, SIESTA or online SIESTA)

    database

    In what database the data will be stored. Note that for Signature and Set-Containment only Cassandra is available. Therefore only for SIESTA both options are available.

    mode

    This parameter is specific for siesta and determines whether the timestamps or positions of the event type pairs will be stored in IndexTable

    filename

    The path to the logfile that will be indexed

    log_name

    The name of the log database. Since multiple log databases can be available (similar to SQL). The same name must be given if this is an incremental indexing, in order to append the log in the correct tables.

    compression

    The compression algorithm that will be used while storing the indices in the database.

    delete_all

    Flag parameter determines if all the previous tables in the database (despite the log database name) will be deleted.

    delete_previous

    Flag parameter determines if the previous tables of this particular log database will be deleted.

    lookback_days

    Numeric parameter, determines the maximum distance (in days) between two events in order to create an event pair. That is if two events' timestamp have difference larger than this parameter they will be not stored in IndexTable.

    traces

    This parameter concerns the random generator. Defines the number of traces that will be random generated.

    event_types

    This parameter concerns the random generator. Defines the number of event types that will be contained in the traces.

    length_min

    This parameter concerns the random generator. Defines the minimum length of the generated traces.

    length_max

    This parameter concerns the random generator. Defines the maximum length of the generated traces.

    k

    Specifies the number of frequent events that will be used in the Signature method. If -1 is set it will use k=|unique event types|

    duration_determination

    Flag parameter determines if the duration of the events will be calculated and stored in.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. val compression: String
  7. val database: String
  8. val declare_incremental: Boolean
  9. val delete_all: Boolean
  10. val delete_previous: Boolean
  11. val duration_determination: Boolean
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val event_types: Int
  14. val filename: String
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val k: Int
  18. val length_max: Int
  19. val length_min: Int
  20. val log_name: String
  21. val lookback_days: Int
  22. val mode: String
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. val system: String
  28. val traces: Int
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped