package elements
- Alphabetic
- Public
- All
Type Members
-
case class
AlgorithmDefinition(bridge: MantikId, type: FunctionType) extends MantikDefinitionWithBridge with Product with Serializable
An Algorithm Definition inside a MantikHeader.
-
case class
BridgeDefinition(dockerImage: String, suitable: Seq[String], protocol: Int = 1, payloadContentType: Option[String] = Some("application/zip")) extends MantikDefinitionWithoutBridge with Product with Serializable
A Bridge definition.
A Bridge definition.
- protocol
0 ... Just pipe out DataSet, 1 ... Regular Format.
- payloadContentType
if set, the bridge expects a payload content type.
-
case class
CombinerDefinition(bridge: MantikId, input: Seq[DataType], output: Seq[DataType]) extends MantikDefinitionWithBridge with Product with Serializable
Combiner Definition (e.g.
Combiner Definition (e.g. for SQL Operations)
-
case class
DataSetDefinition(bridge: MantikId, type: DataType) extends MantikDefinitionWithBridge with Product with Serializable
A DataSet definition inside a MantikHeader
-
final
class
ItemId extends MantikId
Provides a stable identifier for Mantik Items.
Provides a stable identifier for Mantik Items.
In contrast to NamedMantikId this id always responds to the very same item. In practice, all NamedMantikId link to a ItemId which link to the item content.
They can not be overwritten but deleted.
In the moment they are random, but in future they shall represent hash values of the items.
-
sealed
trait
MantikDefinition extends AnyRef
A Basic Mantik Definition (algorithms, datasets, etc...)
-
sealed
trait
MantikDefinitionWithBridge extends MantikDefinition
A MantikDefinition which needs a Bridge.
-
sealed
trait
MantikDefinitionWithoutBridge extends MantikDefinition
A MantikDefinition which doesn't need a bridge.
-
case class
MantikHeader[T <: MantikDefinition](definition: T, metaJson: MetaJson, header: MantikHeaderMeta) extends Product with Serializable
A MantikHeader file.
A MantikHeader file. Contains one Mantik Definition together with it's JSON representation.
- definition
the base definition of the Mantik Item
- metaJson
the JSON source of the item and it's meta variables
- header
common optional meta fields of a MantikHeader (e.g. Name, Version, ...) Note: MetaJson and MantikHeaderMeta both have meta in their name, but are completely different things.
-
case class
MantikHeaderMeta(author: Option[String] = None, authorEmail: Option[String] = None, name: Option[String] = None, version: Option[String] = None, account: Option[String] = None) extends Product with Serializable
Contains Meta information inside a MantikHeader.
Contains Meta information inside a MantikHeader. All fields are optional.
All elements are directly parsed from the JSON.
- author
author of the file, for informative use only
- authorEmail
email of Author
- name
default name of the Artifact behind the MantikHeader.
- version
default version of the Artifact behind the mantik header.
- account
default account name of the Artifact behind the mantik header.
-
sealed
trait
MantikId extends AnyRef
Identifies a MantikArtifact.
Identifies a MantikArtifact. Can either be an (anonymous) ItemId or a NamedMantikId
-
final
case class
NamedMantikId(account: String = NamedMantikId.DefaultAccount, name: String, version: String = NamedMantikId.DefaultVersion) extends MantikId with Product with Serializable
A Named Mantik Artifact.
A Named Mantik Artifact.
- account
the users account, defaults to library.
- name
of the Mantik artifact. If it starts with @ it refers to a ItemId.
- version
the version, defaults to latest.
-
case class
OptionalFunctionType(input: Option[DataType] = None, output: Option[DataType] = None) extends Product with Serializable
A Function type where input/output are optional.
-
case class
PipelineDefinition(type: Option[OptionalFunctionType] = None, steps: List[PipelineStep]) extends MantikDefinitionWithoutBridge with Product with Serializable
A Pipeline.
A Pipeline. A special item which refers to other algorithm items which executed after each other.
-
sealed
trait
PipelineStep extends AnyRef
A Single step within a PipelineDefinition.
- case class TrainableAlgorithmDefinition(bridge: MantikId, trainedBridge: Option[MantikId] = None, type: FunctionType, trainingType: DataType, statType: DataType) extends MantikDefinitionWithBridge with Product with Serializable
Value Members
- object BridgeDefinition extends Serializable
- object ItemId
- object MantikDefinition extends DiscriminatorDependentCodec[MantikDefinition]
- object MantikHeader extends Serializable
- object MantikHeaderMeta extends Serializable
- object MantikId
- object NamedMantikId extends Serializable
- object OptionalFunctionType extends Serializable
- object PipelineStep