Class

cognite.spark.v1

SdkV1Relation

Related Doc: package v1

Permalink

abstract class SdkV1Relation[A <: Product, I] extends CdfRelation with Serializable with TableScan with PrunedFilteredScan

Linear Supertypes
PrunedFilteredScan, TableScan, CdfRelation, Serializable, Serializable, BaseRelation, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SdkV1Relation
  2. PrunedFilteredScan
  3. TableScan
  4. CdfRelation
  5. Serializable
  6. Serializable
  7. BaseRelation
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SdkV1Relation(config: RelationConfig, shortName: String)

    Permalink

Abstract Value Members

  1. abstract def getStreams(filters: Array[Filter])(client: GenericClient[IO], limit: Option[Int], numPartitions: Int): Seq[Stream[IO, A]]

    Permalink
  2. abstract def schema: StructType

    Permalink
    Definition Classes
    SdkV1Relation → BaseRelation
  3. abstract def sqlContext: SQLContext

    Permalink
    Definition Classes
    BaseRelation
  4. abstract def toRow(a: A): Row

    Permalink
  5. abstract def uniqueId(a: A): I

    Permalink

Concrete 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 <: WithExternalId, U <: WithSetExternalId, C <: WithExternalId, T <: UpdateByExternalId[R, U, IO] with Create[R, C, IO]](existingExternalIds: Set[String], resourceCreates: Seq[C], resource: T, doUpsert: Boolean)(implicit transform: Transformer[C, U]): IO[Unit]

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def genericUpsert[R <: WithExternalId with WithId[Long], U <: WithExternalId with WithId[Option[Long]], C <: WithExternalId, Up <: WithSetExternalId, Re <: UpdateById[R, Up, IO] with UpdateByExternalId[R, Up, IO] with Create[R, C, IO]](itemsToUpdate: Seq[U], itemsToCreate: Seq[C], isUpdateEmpty: (Up) ⇒ Boolean, resource: Re)(implicit transformUpsertToUpdate: Transformer[U, Up], transformCreateToUpdate: Transformer[C, Up]): IO[Unit]

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

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

    Permalink
  17. def hashCode(): Int

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

    Permalink
    Definition Classes
    CdfRelation
  19. def insert(data: DataFrame, overwrite: Boolean): Unit

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. lazy val itemsCreated: Counter

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def needConversion: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def sizeInBytes: Long

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

    Permalink
    Definition Classes
    AnyRef
  31. def toRow(item: A, requiredColumns: Array[String]): Row

    Permalink
  32. def toString(): String

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

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

    Permalink
  35. final def wait(): Unit

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

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

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

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