Class/Object

cognite.spark.v1

EventsRelation

Related Docs: object EventsRelation | package v1

Permalink

class EventsRelation extends SdkV1Relation[Event, Long] with InsertableRelation with WritableRelation

Linear Supertypes
WritableRelation, InsertableRelation, SdkV1Relation[Event, Long], PrunedFilteredScan, TableScan, CdfRelation, Serializable, Serializable, BaseRelation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventsRelation
  2. WritableRelation
  3. InsertableRelation
  4. SdkV1Relation
  5. PrunedFilteredScan
  6. TableScan
  7. CdfRelation
  8. Serializable
  9. Serializable
  10. BaseRelation
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EventsRelation(config: RelationConfig)(sqlContext: SQLContext)

    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 buildScan(requiredColumns: Array[String], filters: Array[Filter]): RDD[Row]

    Permalink
    Definition Classes
    SdkV1Relation → PrunedFilteredScan
  6. def buildScan(): RDD[Row]

    Permalink
    Definition Classes
    SdkV1Relation → TableScan
  7. lazy val client: GenericClient[IO]

    Permalink
    Definition Classes
    CdfRelation
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def createOrUpdateByExternalId[R <: ToCreate[C], U <: WithSetExternalId, C <: WithGetExternalId, S <: WithExternalIdGeneric[ExternalIdF], ExternalIdF[_], T <: UpdateByExternalId[R, U, IO] with Create[R, C, IO]](existingExternalIds: Set[String], resourceCreates: Seq[S], resource: T, doUpsert: Boolean)(implicit transformToUpdate: Transformer[S, U], transformToCreate: Transformer[S, C]): IO[Unit]

    Permalink
    Definition Classes
    SdkV1Relation
  10. def delete(rows: Seq[Row]): IO[Unit]

    Permalink
    Definition Classes
    EventsRelationWritableRelation
  11. def deleteWithIgnoreUnknownIds(resource: DeleteByIdsWithIgnoreUnknownIds[IO, Long], deletes: Seq[DeleteItem], ignoreUnknownIds: Boolean = true): IO[Unit]

    Permalink
    Definition Classes
    SdkV1Relation
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def eventsFilterFromMap(m: Map[String, String]): EventsFilter

    Permalink
  15. implicit def fieldToSetter[T](implicit arg0: Manifest[T]): Transformer[OptionalField[T], Option[Setter[T]]]

    Permalink
    Definition Classes
    CdfRelation
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def genericUpsert[R <: ToUpdate[Up] with ToCreate[C] with WithId[Long], U <: WithExternalIdGeneric[OptionalField] with WithId[Option[Long]], C <: WithExternalId, Up <: WithSetExternalId, Re <: UpdateById[R, Up, IO] with UpdateByExternalId[R, Up, IO] with Create[R, C, IO]](items: Seq[U], isUpdateEmpty: (Up) ⇒ Boolean, resource: Re, mustBeUpdate: (U) ⇒ Boolean = (_: U) => false)(implicit transformToUpdate: Transformer[U, Up], transformToCreate: Transformer[U, C]): IO[Unit]

    Permalink
    Definition Classes
    SdkV1Relation
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getFromRowsAndCreate(rows: Seq[Row], doUpsert: Boolean = true): IO[Unit]

    Permalink
    Definition Classes
    EventsRelationSdkV1Relation
  20. def getStreams(filters: Array[Filter])(client: GenericClient[IO], limit: Option[Int], numPartitions: Int): Seq[Stream[IO, Event]]

    Permalink
    Definition Classes
    EventsRelationSdkV1Relation
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def incMetrics(counter: Counter, count: Int): IO[Unit]

    Permalink
    Definition Classes
    CdfRelation
  23. def insert(rows: Seq[Row]): IO[Unit]

    Permalink
    Definition Classes
    EventsRelationWritableRelation
  24. def insert(data: DataFrame, overwrite: Boolean): Unit

    Permalink
    Definition Classes
    SdkV1Relation
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. lazy val itemsCreated: Counter

    Permalink
    Attributes
    protected
    Definition Classes
    CdfRelation
  27. lazy val itemsDeleted: Counter

    Permalink
    Attributes
    protected
    Definition Classes
    CdfRelation
  28. lazy val itemsRead: Counter

    Permalink
    Attributes
    protected
    Definition Classes
    CdfRelation
  29. lazy val itemsUpdated: Counter

    Permalink
    Attributes
    protected
    Definition Classes
    CdfRelation
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. def needConversion: Boolean

    Permalink
    Definition Classes
    BaseRelation
  32. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  34. def schema: StructType

    Permalink
    Definition Classes
    EventsRelationSdkV1Relation → BaseRelation
  35. implicit def seqStrToCogIdSetter: Transformer[Option[Seq[String]], Option[NonNullableSetter[Seq[CogniteExternalId]]]]

    Permalink
    Definition Classes
    CdfRelation
  36. def sizeInBytes: Long

    Permalink
    Definition Classes
    BaseRelation
  37. val sqlContext: SQLContext

    Permalink
    Definition Classes
    EventsRelation → BaseRelation
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toRow(a: Event): Row

    Permalink
    Definition Classes
    EventsRelationSdkV1Relation
  40. def toRow(item: Event, requiredColumns: Array[String]): Row

    Permalink
    Definition Classes
    SdkV1Relation
  41. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  42. def unhandledFilters(filters: Array[Filter]): Array[Filter]

    Permalink
    Definition Classes
    BaseRelation
  43. def uniqueId(a: Event): Long

    Permalink
    Definition Classes
    EventsRelationSdkV1Relation
  44. def update(rows: Seq[Row]): IO[Unit]

    Permalink
    Definition Classes
    EventsRelationWritableRelation
  45. def updateByIdOrExternalId[P <: WithExternalIdGeneric[OptionalField] with WithId[Option[Long]], U <: WithSetExternalId, T <: UpdateById[R, U, IO] with UpdateByExternalId[R, U, IO], R <: ToUpdate[U] with WithId[Long]](updates: Seq[P], resource: T, isUpdateEmpty: (U) ⇒ Boolean)(implicit transform: Transformer[P, U]): IO[Unit]

    Permalink
    Definition Classes
    SdkV1Relation
  46. def upsert(rows: Seq[Row]): IO[Unit]

    Permalink
    Definition Classes
    EventsRelationWritableRelation
  47. final def wait(): Unit

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

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

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

Inherited from WritableRelation

Inherited from InsertableRelation

Inherited from SdkV1Relation[Event, Long]

Inherited from PrunedFilteredScan

Inherited from TableScan

Inherited from CdfRelation

Inherited from Serializable

Inherited from Serializable

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped