Class

com.audienceproject

ArtifactsMetadataClient

Related Doc: package audienceproject

Permalink

class ArtifactsMetadataClient extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArtifactsMetadataClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ArtifactsMetadataClient(dynamoDbClient: AmazonDynamoDB = ..., tableName: String = "artifacts_metadata")

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def delete(uuid: String): Unit

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getAttributeNameOrder(attributesNames: Seq[String]): Map[String, Int]

    Permalink
  11. def getByType(artifactType: String, latest: Boolean = true, metadata: Map[String, Any] = Map.empty[String, String]): Option[ArtifactMetadata]

    Permalink

    Returns an ArtifactMetaData matching the search criteria by doing a DynamoDB scan

    Returns an ArtifactMetaData matching the search criteria by doing a DynamoDB scan

    artifactType

    the string that identifies the artifact type

    latest

    if true, the artifact that was logged latest is returned. If false, the artifact that was logged first is returned

    metadata

    specifies the search based on exact match, where a key in the map is a column name and the value is the exact value

    returns

    A single artifact, with multiple matches being resolved by time of logging

  12. def getByUuid(uuid: String): Option[ArtifactMetadata]

    Permalink
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getExpressionKeyPlaceholderNames(attributesNameOrder: Map[String, Int]): Map[String, String]

    Permalink
  15. def getLatestBefore(artifactType: String, yyyy: Int, mm: Int, dd: Int, latest: Boolean = true, metadata: Map[String, Any] = Map.empty[String, String]): Option[ArtifactMetadata]

    Permalink
  16. def getLatestBeforeWithDateString(artifactType: String, date: String, latest: Boolean = true, metadata: Map[String, Any] = Map.empty[String, String]): Option[ArtifactMetadata]

    Permalink
  17. def getUuid: String

    Permalink
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def log(artifactType: String, timestamp: Long = System.currentTimeMillis(), uuid: String = getUuid, location: Option[String] = None, metadata: Map[String, Any] = Map.empty[String, String]): String

    Permalink

    Adds an artifact metadata entry

    Adds an artifact metadata entry

    artifactType

    The type of artifact in string format

    timestamp

    The unixtimestamp creation time. Is automatically set if not overwritten

    uuid

    The uuid that identifies this artifact. Is automatically set if not overwritten

    location

    The location of the artifact. If it contains {artifact-id}, it will be replaced with the generated uuid.

    metadata

    The collection of column names and values that is to be stored for this artifact.

    returns

    Uuid for the artifact

  21. def logWithReferenceTime(artifactType: String, yyyy: Int, mm: Int, dd: Int, timestamp: Long = System.currentTimeMillis(), uuid: String = getUuid, location: Option[String] = None, metadata: Map[String, Any] = Map.empty[String, String]): String

    Permalink

    Sugar method to easily add reference time in correct format.

    Sugar method to easily add reference time in correct format. This makes it easy for other projects to resolve dependencies, as they can query by type and reference time

    artifactType

    The type of artifact in string format

    yyyy

    Reference date of the artifact. This is to easily resolve dependencies for other projects

    mm

    Reference date of the artifact. This is to easily resolve dependencies for other projects

    dd

    Reference date of the artifact. This is to easily resolve dependencies for other projects

    timestamp

    The unixtimestamp creation time. Is automatically set if not overwritten

    uuid

    The uuid that identifies this artifact. Is automatically set if not overwritten

    location

    The location of the artifact

    metadata

    The collection of column names and values that is to be stored for this artifact.

    returns

    Uuid for the artifact

  22. def logWithReferenceTimeAsDateString(artifactType: String, date: String, timestamp: Long = System.currentTimeMillis(), uuid: String = getUuid, location: Option[String] = None, metadata: Map[String, Any] = Map.empty[String, String]): String

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def put[T](key: String, value: Any, item: Item): Item

    Permalink
  27. def put[T](key: String, value: Any, valueMap: ValueMap): ValueMap

    Permalink
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped