Packages

final class WithRelations extends GeneratedMessage with WithRelationsOrBuilder

Relation of type [[WithRelations]].

This relation contains a root plan, and one or more references that are used by the root plan.
There are two ways of referencing a relation, by name (through a subquery alias), or by plan_id
(using RelationCommon.plan_id).

This relation can be used to implement CTEs, describe DAGs, or to reduce tree depth.

Protobuf type spark.connect.WithRelations

Linear Supertypes
WithRelationsOrBuilder, GeneratedMessage, Serializable, AbstractMessage, Message, MessageOrBuilder, AbstractMessageLite[MessageType, BuilderType], MessageLite, MessageLiteOrBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithRelations
  2. WithRelationsOrBuilder
  3. GeneratedMessage
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(obj: AnyRef): Boolean
    Definition Classes
    WithRelations → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  8. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  9. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def getDefaultInstanceForType(): WithRelations
    Definition Classes
    WithRelations → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  12. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  13. def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  14. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  15. def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessage → AbstractMessage → MessageOrBuilder
  16. def getParserForType(): Parser[WithRelations]
    Definition Classes
    WithRelations → GeneratedMessage → Message → MessageLite
    Annotations
    @Override()
  17. def getReferences(index: Int): Relation

    (Required) Plans referenced by the root plan. Relations in this list are also allowed to
    contain references to other relations in this list, as long they do not form cycles.
    

    (Required) Plans referenced by the root plan. Relations in this list are also allowed to
    contain references to other relations in this list, as long they do not form cycles.
    

    repeated .spark.connect.Relation references = 2;

    Definition Classes
    WithRelationsWithRelationsOrBuilder
    Annotations
    @Override()
  18. def getReferencesCount(): Int

    (Required) Plans referenced by the root plan. Relations in this list are also allowed to
    contain references to other relations in this list, as long they do not form cycles.
    

    (Required) Plans referenced by the root plan. Relations in this list are also allowed to
    contain references to other relations in this list, as long they do not form cycles.
    

    repeated .spark.connect.Relation references = 2;

    Definition Classes
    WithRelationsWithRelationsOrBuilder
    Annotations
    @Override()
  19. def getReferencesList(): List[Relation]

    (Required) Plans referenced by the root plan. Relations in this list are also allowed to
    contain references to other relations in this list, as long they do not form cycles.
    

    (Required) Plans referenced by the root plan. Relations in this list are also allowed to
    contain references to other relations in this list, as long they do not form cycles.
    

    repeated .spark.connect.Relation references = 2;

    Definition Classes
    WithRelationsWithRelationsOrBuilder
    Annotations
    @Override()
  20. def getReferencesOrBuilder(index: Int): RelationOrBuilder

    (Required) Plans referenced by the root plan. Relations in this list are also allowed to
    contain references to other relations in this list, as long they do not form cycles.
    

    (Required) Plans referenced by the root plan. Relations in this list are also allowed to
    contain references to other relations in this list, as long they do not form cycles.
    

    repeated .spark.connect.Relation references = 2;

    Definition Classes
    WithRelationsWithRelationsOrBuilder
    Annotations
    @Override()
  21. def getReferencesOrBuilderList(): List[_ <: RelationOrBuilder]

    (Required) Plans referenced by the root plan. Relations in this list are also allowed to
    contain references to other relations in this list, as long they do not form cycles.
    

    (Required) Plans referenced by the root plan. Relations in this list are also allowed to
    contain references to other relations in this list, as long they do not form cycles.
    

    repeated .spark.connect.Relation references = 2;

    Definition Classes
    WithRelationsWithRelationsOrBuilder
    Annotations
    @Override()
  22. def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  23. def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  24. def getRoot(): Relation

    (Required) Plan at the root of the query tree. This plan is expected to contain one or more
    references. Those references get expanded later on by the engine.
    

    (Required) Plan at the root of the query tree. This plan is expected to contain one or more
    references. Those references get expanded later on by the engine.
    

    .spark.connect.Relation root = 1;

    returns

    The root.

    Definition Classes
    WithRelationsWithRelationsOrBuilder
    Annotations
    @Override()
  25. def getRootOrBuilder(): RelationOrBuilder

    (Required) Plan at the root of the query tree. This plan is expected to contain one or more
    references. Those references get expanded later on by the engine.
    

    (Required) Plan at the root of the query tree. This plan is expected to contain one or more
    references. Those references get expanded later on by the engine.
    

    .spark.connect.Relation root = 1;

    Definition Classes
    WithRelationsWithRelationsOrBuilder
    Annotations
    @Override()
  26. def getSerializedSize(): Int
    Definition Classes
    WithRelations → GeneratedMessage → AbstractMessage → MessageLite
    Annotations
    @Override()
  27. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  28. def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  29. def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessage → AbstractMessage → MessageOrBuilder
  30. def hasRoot(): Boolean

    (Required) Plan at the root of the query tree. This plan is expected to contain one or more
    references. Those references get expanded later on by the engine.
    

    (Required) Plan at the root of the query tree. This plan is expected to contain one or more
    references. Those references get expanded later on by the engine.
    

    .spark.connect.Relation root = 1;

    returns

    Whether the root field is set.

    Definition Classes
    WithRelationsWithRelationsOrBuilder
    Annotations
    @Override()
  31. def hashCode(): Int
    Definition Classes
    WithRelations → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  32. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[proto]
    Definition Classes
    WithRelations → GeneratedMessage
    Annotations
    @Override()
  33. def internalGetMapFieldReflection(fieldNumber: Int): MapFieldReflectionAccessor
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
  34. final def isInitialized(): Boolean
    Definition Classes
    WithRelations → GeneratedMessage → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[proto]
    Definition Classes
    WithRelations → AbstractMessage
    Annotations
    @Override()
  38. def newBuilderForType(): Builder
    Definition Classes
    WithRelations → Message → MessageLite
    Annotations
    @Override()
  39. def newInstance(unused: UnusedPrivateParameter): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  42. def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[java.io.IOException])
  43. def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[java.io.IOException])
  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def toBuilder(): Builder
    Definition Classes
    WithRelations → Message → MessageLite
    Annotations
    @Override()
  46. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  47. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  48. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  53. def writeReplace(): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[java.io.ObjectStreamException])
  54. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    WithRelations → GeneratedMessage → AbstractMessage → MessageLite
    Annotations
    @Override()
  55. def writeTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @Deprecated
    Deprecated
  3. def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
    Deprecated

Inherited from WithRelationsOrBuilder

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped