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(data: Iterator[Row]): IO[Unit]

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

    Permalink
  7. def buildFromDf(data: DataFrame): Unit

    Permalink
  8. def buildSubtrees(trees: Vector[AssetSubtree]): IO[Unit]

    Permalink
  9. lazy val client: GenericClient[IO]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def delete(toDelete: Vector[Asset], deleteMissingAssets: Boolean): IO[Unit]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def fetchCdfRoots(sourceRootExternalIds: Vector[String]): IO[Map[String, Asset]]

    Permalink
  15. def fetchCdfSubtree(root: AssetsIngestSchema): IO[Vector[Asset]]

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

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

    Permalink
    Definition Classes
    CdfRelation
  21. def insert(toInsert: Seq[AssetsIngestSchema], trees: Vector[AssetSubtree], createdRoots: Vector[Asset]): IO[Unit]

    Permalink
  22. final def isInstanceOf[T0]: Boolean

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

    Permalink
  24. lazy val itemsCreated: Counter

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def needConversion: Boolean

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

    Permalink
  32. def nodesToDeleteInsertUpdate(subtree: AssetSubtree, cdfTree: Vector[Asset]): (Vector[Asset], Vector[AssetsIngestSchema], Vector[AssetsIngestSchema])

    Permalink
  33. final def notify(): Unit

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

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

    Permalink
  36. def schema: StructType

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

    Permalink
    Definition Classes
    BaseRelation
  38. val sqlContext: SQLContext

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

    Permalink
    Definition Classes
    AnyRef
  40. def toAssetCreate(a: AssetsIngestSchema): AssetCreate

    Permalink
  41. def toAssetUpdate(a: AssetsIngestSchema): AssetUpdate

    Permalink
  42. def toString(): String

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

    Permalink
    Definition Classes
    BaseRelation
  44. def update(toUpdate: Vector[AssetsIngestSchema]): IO[Unit]

    Permalink
  45. def upsertRoots(newRoots: Vector[AssetsIngestSchema], sourceRoots: Map[String, Asset]): IO[Vector[Asset]]

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

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

    Permalink
  48. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. 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