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 deleteMissingChildren(trees: Vector[AssetSubtree], 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 fetchCdfAssets(sourceRootExternalIds: Vector[String]): IO[Map[String, 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]): IO[Vector[Asset]]

    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 nodesToInsertUpdate(nodes: Vector[AssetsIngestSchema], cdfTree: Map[String, Asset]): (Vector[AssetsIngestSchema], Vector[AssetsIngestSchema], Vector[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]): Vector[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 toAssetCreate(a: AssetsIngestSchema): AssetCreate

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

    Permalink
  40. def toString(): String

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

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

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

    Permalink
  44. def validateNoRootChange(source: AssetSubtree, roots: Iterable[Asset], assets: Map[String, Asset]): Unit

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

    Permalink
  46. def validateSubtreeRoots(roots: Vector[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