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. 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. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    CdfRelation
  20. def insert(toInsert: Seq[AssetsIngestSchema], newSubtreeRoot: Asset, batchSize: Int): IO[Unit]

    Permalink
  21. final def isInstanceOf[T0]: Boolean

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

    Permalink
  23. lazy val itemsCreated: Counter

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def needConversion: Boolean

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

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

    Permalink
  32. final def notify(): Unit

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

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

    Permalink
  35. def schema: StructType

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

    Permalink
    Definition Classes
    BaseRelation
  37. val sqlContext: SQLContext

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

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

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

    Permalink
  41. def toString(): String

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

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

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

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

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

    Permalink
  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 CdfRelation

Inherited from Serializable

Inherited from Serializable

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped