trait Publishing extends AnyRef
Groups transformations for DeltaSet[Partition.Key, Payload, P]
or
DeltaSet[Partition.Key, Option[Payload], P]
that publish the payload.
- Alphabetic
- By Inheritance
- Publishing
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
autoIdAssigner: BaseSetIdAssigner
The ID assigner used to automatically assign DeltaSet IDs if not provided.
The ID assigner used to automatically assign DeltaSet IDs if not provided.
- Attributes
- protected
-
abstract
def
publish(layers: Set[Id], id: Id = autoIdAssigner("publish"), configOverride: Override = DeltaSetConfig.noOverride): PublishedSet
Publishes the payloads in this DeltaSet.
Publishes the payloads in this DeltaSet.
This function does not shuffle any data any data.
- layers
The set of layers in the output catalog to publish to. Must be a superset of the layers in the
layer
component the partition keys in the upstream DeltaSet.- id
Deprecated.
- configOverride
Deprecated.
- returns
A PublishedSet that reflects the metadata of the published partitions.
- Note
All arguments must be serializable, since this transformation is serialized and sent to workers nodes.
-
abstract
def
publishPart(layers: Set[Id], partMapper: PublishedPartMapper, part: Int, id: Id = autoIdAssigner("partialPublish"), configOverride: Override = DeltaSetConfig.noOverride): PublishedPart
Publishes the payloads in this DeltaSet using multi part publishing.
Publishes the payloads in this DeltaSet using multi part publishing. Use this transformation if you need to publish multiple times to the same layer (or set of layers) disjoint parts of the output data. This is especially useful if you need to read back each part individually to compute the remaining parts. The returned PublishedParts need to be combined using DeltaContext.unionPublishedParts to get the final PublishedSet.
This function does not shuffle any data any data.
- layers
The set of layers in the output catalog to publish to. Must be a superset of the layers in the
layer
component the partition keys in the upstream DeltaSet.- partMapper
The PublishedPartMapper used in this multi part publishing.
- part
The part number.
- id
Deprecated.
- configOverride
Deprecated.
- returns
A PublishedPart that reflects the metadata of the published partitions.
- Note
All arguments must be serializable, since this transformation is serialized and sent to workers nodes.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()