Class/Object

cognite.spark.v1

AssetHierarchyBuilder

Related Docs: object AssetHierarchyBuilder | package v1

Permalink

class AssetHierarchyBuilder extends CdfRelation

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

Instance Constructors

  1. new AssetHierarchyBuilder(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 build(df: DataFrame): IO[Unit]

    Permalink
  6. def buildAssetMap(source: Array[AssetsIngestSchema]): HashMap[String, AssetsIngestSchema]

    Permalink
  7. def buildSubtree(root: AssetsIngestSchema, children: Array[AssetsIngestSchema]): IO[Unit]

    Permalink
  8. lazy val client: GenericClient[IO]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def delete(toDelete: Seq[Asset], deleteMissingAssets: Boolean, batchSize: Int): 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 fetchCdfRoot(sourceRootExternalId: String): IO[Option[Asset]]

    Permalink
  14. def fetchCdfSubtree(root: AssetsIngestSchema): IO[List[Asset]]

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  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(toInsert: Seq[AssetsIngestSchema], batchSize: Int): IO[Unit]

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isMostlyEqual(updatedAsset: AssetsIngestSchema, asset: Asset): Boolean

    Permalink
  22. lazy val itemsCreated: Counter

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    CdfRelation
  26. def iterateChildren(currentChildren: Array[AssetsIngestSchema], parents: Array[String], visited: Seq[AssetsIngestSchema]): Seq[AssetsIngestSchema]

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

    Permalink
    Definition Classes
    AnyRef
  28. def needConversion: Boolean

    Permalink
    Definition Classes
    BaseRelation
  29. def needsUpdate(child: AssetsIngestSchema, cdfTreeByExternalId: Map[String, Asset]): Boolean

    Permalink
  30. def nodesToDeleteInsertUpdate(root: AssetsIngestSchema, children: Seq[AssetsIngestSchema], cdfTree: Seq[Asset]): (Seq[Asset], Seq[AssetsIngestSchema], Seq[AssetsIngestSchema])

    Permalink
  31. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  33. def orderChildren(rootId: String, nodes: Array[AssetsIngestSchema]): Array[AssetsIngestSchema]

    Permalink
  34. def schema: StructType

    Permalink
    Definition Classes
    AssetHierarchyBuilder → BaseRelation
  35. def sizeInBytes: Long

    Permalink
    Definition Classes
    BaseRelation
  36. val sqlContext: SQLContext

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

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

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

    Permalink
    Definition Classes
    BaseRelation
  40. def update(toUpdate: Seq[AssetsIngestSchema], batchSize: Int): IO[Unit]

    Permalink
  41. def upsertRoot(newRoot: AssetsIngestSchema, sourceRoot: Option[Asset]): IO[Unit]

    Permalink
  42. def validateSourceTree(source: Array[AssetsIngestSchema]): Unit

    Permalink
  43. def validateSubtreeRoots(roots: Seq[AssetsIngestSchema]): IO[Unit]

    Permalink
  44. final def wait(): Unit

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

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

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

Inherited from CdfRelation

Inherited from Serializable

Inherited from Serializable

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped