Packages

class AttributeSet extends Iterable[Attribute] with Serializable

A Set designed to hold AttributeReference objects, that performs equality checking using expression id instead of standard java equality. Using expression id means that these sets will correctly test for membership, even when the AttributeReferences in question differ cosmetically (e.g., the names have different capitalizations).

Note that we do not override equality for Attribute references as it is really weird when AttributeReference("a"...) == AttributeReference("b", ...). This tactic leads to broken tests, and also makes doing transformations hard (we always try keep older trees instead of new ones when the transformation was a no-op).

Linear Supertypes
Serializable, Iterable[Attribute], IterableFactoryDefaults[Attribute, Iterable], IterableOps[Attribute, Iterable, Iterable[Attribute]], IterableOnceOps[Attribute, Iterable, Iterable[Attribute]], IterableOnce[Attribute], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AttributeSet
  2. Serializable
  3. Iterable
  4. IterableFactoryDefaults
  5. IterableOps
  6. IterableOnceOps
  7. IterableOnce
  8. AnyRef
  9. 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. def +(elem: Attribute): AttributeSet

    Returns a new AttributeSet that contains elem in addition to the current elements.

  4. def ++(other: AttributeSet): AttributeSet

    Returns a new AttributeSet that contains all of the Attributes found in other.

  5. final def ++[B >: Attribute](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  6. def -(elem: Attribute): AttributeSet

    Returns a new AttributeSet that does not contain elem.

  7. def --(other: Iterable[NamedExpression]): AttributeSet

    Returns a new AttributeSet that does not contain any of the Attributes found in other.

  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  10. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  11. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  15. final def coll: AttributeSet.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  16. def collect[B](pf: PartialFunction[Attribute, B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  17. def collectFirst[B](pf: PartialFunction[Attribute, B]): Option[B]
    Definition Classes
    IterableOnceOps
  18. def concat[B >: Attribute](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  19. def contains(elem: NamedExpression): Boolean

    Returns true if this set contains an Attribute with the same expression id as elem

  20. def copyToArray[B >: Attribute](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  21. def copyToArray[B >: Attribute](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  22. def copyToArray[B >: Attribute](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  23. def corresponds[B](that: IterableOnce[B])(p: (Attribute, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  24. def count(p: (Attribute) => Boolean): Int
    Definition Classes
    IterableOnceOps
  25. def drop(n: Int): Iterable[Attribute]
    Definition Classes
    IterableOps → IterableOnceOps
  26. def dropRight(n: Int): Iterable[Attribute]
    Definition Classes
    IterableOps
  27. def dropWhile(p: (Attribute) => Boolean): Iterable[Attribute]
    Definition Classes
    IterableOps → IterableOnceOps
  28. def empty: Iterable[Attribute]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(other: Any): Boolean

    Returns true if the members of this AttributeSet and other are the same.

    Returns true if the members of this AttributeSet and other are the same.

    Definition Classes
    AttributeSet → AnyRef → Any
  31. def exists(p: (Attribute) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  32. def filter(f: (Attribute) => Boolean): AttributeSet

    Returns a new AttributeSet contain only the Attributes where f evaluates to true.

    Returns a new AttributeSet contain only the Attributes where f evaluates to true.

    Definition Classes
    AttributeSet → IterableOps → IterableOnceOps
  33. def filterNot(pred: (Attribute) => Boolean): Iterable[Attribute]
    Definition Classes
    IterableOps → IterableOnceOps
  34. def find(p: (Attribute) => Boolean): Option[Attribute]
    Definition Classes
    IterableOnceOps
  35. def flatMap[B](f: (Attribute) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  36. def flatten[B](implicit asIterable: (Attribute) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  37. def fold[A1 >: Attribute](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  38. def foldLeft[B](z: B)(op: (B, Attribute) => B): B
    Definition Classes
    IterableOnceOps
  39. def foldRight[B](z: B)(op: (Attribute, B) => B): B
    Definition Classes
    IterableOnceOps
  40. def forall(p: (Attribute) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  41. def foreach[U](f: (Attribute) => U): Unit
    Definition Classes
    AttributeSet → IterableOnceOps
  42. def fromSpecific(coll: IterableOnce[Attribute]): Iterable[Attribute]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  43. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  44. def groupBy[K](f: (Attribute) => K): Map[K, Iterable[Attribute]]
    Definition Classes
    IterableOps
  45. def groupMap[K, B](key: (Attribute) => K)(f: (Attribute) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  46. def groupMapReduce[K, B](key: (Attribute) => K)(f: (Attribute) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  47. def grouped(size: Int): Iterator[Iterable[Attribute]]
    Definition Classes
    IterableOps
  48. def hashCode(): Int
    Definition Classes
    AttributeSet → AnyRef → Any
  49. def head: Attribute
    Definition Classes
    IterableOps
  50. def headOption: Option[Attribute]
    Definition Classes
    IterableOps
  51. def init: Iterable[Attribute]
    Definition Classes
    IterableOps
  52. def inits: Iterator[Iterable[Attribute]]
    Definition Classes
    IterableOps
  53. def intersect(other: AttributeSet): AttributeSet

    Returns a new AttributeSet that only contains Attributes that are found in this and other.

  54. def isEmpty: Boolean
    Definition Classes
    AttributeSet → IterableOnceOps
  55. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  56. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  57. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → IterableOps
  58. def iterator: Iterator[Attribute]

    Returns an iterator containing all of the attributes in the set.

    Returns an iterator containing all of the attributes in the set.

    Definition Classes
    AttributeSet → IterableOnce
  59. def knownSize: Int
    Definition Classes
    IterableOnce
  60. def last: Attribute
    Definition Classes
    IterableOps
  61. def lastOption: Option[Attribute]
    Definition Classes
    IterableOps
  62. def lazyZip[B](that: Iterable[B]): LazyZip2[Attribute, B, AttributeSet.this.type]
    Definition Classes
    Iterable
  63. def map[B](f: (Attribute) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  64. def max[B >: Attribute](implicit ord: Ordering[B]): Attribute
    Definition Classes
    IterableOnceOps
  65. def maxBy[B](f: (Attribute) => B)(implicit ord: Ordering[B]): Attribute
    Definition Classes
    IterableOnceOps
  66. def maxByOption[B](f: (Attribute) => B)(implicit ord: Ordering[B]): Option[Attribute]
    Definition Classes
    IterableOnceOps
  67. def maxOption[B >: Attribute](implicit ord: Ordering[B]): Option[Attribute]
    Definition Classes
    IterableOnceOps
  68. def min[B >: Attribute](implicit ord: Ordering[B]): Attribute
    Definition Classes
    IterableOnceOps
  69. def minBy[B](f: (Attribute) => B)(implicit ord: Ordering[B]): Attribute
    Definition Classes
    IterableOnceOps
  70. def minByOption[B](f: (Attribute) => B)(implicit ord: Ordering[B]): Option[Attribute]
    Definition Classes
    IterableOnceOps
  71. def minOption[B >: Attribute](implicit ord: Ordering[B]): Option[Attribute]
    Definition Classes
    IterableOnceOps
  72. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  73. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  74. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  75. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  76. def newSpecificBuilder: Builder[Attribute, Iterable[Attribute]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  77. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  78. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  79. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  80. def partition(p: (Attribute) => Boolean): (Iterable[Attribute], Iterable[Attribute])
    Definition Classes
    IterableOps
  81. def partitionMap[A1, A2](f: (Attribute) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  82. def product[B >: Attribute](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  83. def reduce[B >: Attribute](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  84. def reduceLeft[B >: Attribute](op: (B, Attribute) => B): B
    Definition Classes
    IterableOnceOps
  85. def reduceLeftOption[B >: Attribute](op: (B, Attribute) => B): Option[B]
    Definition Classes
    IterableOnceOps
  86. def reduceOption[B >: Attribute](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  87. def reduceRight[B >: Attribute](op: (Attribute, B) => B): B
    Definition Classes
    IterableOnceOps
  88. def reduceRightOption[B >: Attribute](op: (Attribute, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  89. def reversed: Iterable[Attribute]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  90. def scan[B >: Attribute](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  91. def scanLeft[B](z: B)(op: (B, Attribute) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  92. def scanRight[B](z: B)(op: (Attribute, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  93. def size: Int
    Definition Classes
    IterableOnceOps
  94. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  95. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  96. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  97. def slice(from: Int, until: Int): Iterable[Attribute]
    Definition Classes
    IterableOps → IterableOnceOps
  98. def sliding(size: Int, step: Int): Iterator[Iterable[Attribute]]
    Definition Classes
    IterableOps
  99. def sliding(size: Int): Iterator[Iterable[Attribute]]
    Definition Classes
    IterableOps
  100. def span(p: (Attribute) => Boolean): (Iterable[Attribute], Iterable[Attribute])
    Definition Classes
    IterableOps → IterableOnceOps
  101. def splitAt(n: Int): (Iterable[Attribute], Iterable[Attribute])
    Definition Classes
    IterableOps → IterableOnceOps
  102. def stepper[S <: Stepper[_]](implicit shape: StepperShape[Attribute, S]): S
    Definition Classes
    IterableOnce
  103. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
    Annotations
    @deprecatedOverriding()
  104. def subsetOf(other: AttributeSet): Boolean

    Returns true if the Attributes in this set are a subset of the Attributes in other.

  105. def sum[B >: Attribute](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  106. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  107. def tail: Iterable[Attribute]
    Definition Classes
    IterableOps
  108. def tails: Iterator[Iterable[Attribute]]
    Definition Classes
    IterableOps
  109. def take(n: Int): Iterable[Attribute]
    Definition Classes
    IterableOps → IterableOnceOps
  110. def takeRight(n: Int): Iterable[Attribute]
    Definition Classes
    IterableOps
  111. def takeWhile(p: (Attribute) => Boolean): Iterable[Attribute]
    Definition Classes
    IterableOps → IterableOnceOps
  112. def tapEach[U](f: (Attribute) => U): Iterable[Attribute]
    Definition Classes
    IterableOps → IterableOnceOps
  113. def to[C1](factory: Factory[Attribute, C1]): C1
    Definition Classes
    IterableOnceOps
  114. def toArray[B >: Attribute](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  115. final def toBuffer[B >: Attribute]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  116. def toIndexedSeq: IndexedSeq[Attribute]
    Definition Classes
    IterableOnceOps
  117. def toList: List[Attribute]
    Definition Classes
    IterableOnceOps
  118. def toMap[K, V](implicit ev: <:<[Attribute, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  119. def toSeq: Seq[Attribute]
    Definition Classes
    AttributeSet → IterableOnceOps
  120. def toSet[B >: Attribute]: Set[B]
    Definition Classes
    IterableOnceOps
  121. def toString(): String
    Definition Classes
    AttributeSet → Iterable → AnyRef → Any
  122. def toVector: Vector[Attribute]
    Definition Classes
    IterableOnceOps
  123. def transpose[B](implicit asIterable: (Attribute) => Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  124. def unzip[A1, A2](implicit asPair: (Attribute) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  125. def unzip3[A1, A2, A3](implicit asTriple: (Attribute) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    IterableOps
  126. def view: View[Attribute]
    Definition Classes
    IterableOps
  127. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  128. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  129. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  130. def withFilter(p: (Attribute) => Boolean): WithFilter[Attribute, Iterable]
    Definition Classes
    IterableOps
  131. def zip[B](that: IterableOnce[B]): Iterable[(Attribute, B)]
    Definition Classes
    IterableOps
  132. def zipAll[A1 >: Attribute, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  133. def zipWithIndex: Iterable[(Attribute, Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Deprecated Value Members

  1. def ++:[B >: Attribute](that: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  2. final def /:[B](z: B)(op: (B, Attribute) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  3. final def :\[B](z: B)(op: (Attribute, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  4. def aggregate[B](z: => B)(seqop: (B, Attribute) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) For sequential collections, prefer foldLeft(z)(seqop). For parallel collections, use ParIterableLike#aggregate.

  5. def companion: IterableFactory[Iterable]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  6. final def copyToBuffer[B >: Attribute](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

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

    (Since version 9)

  8. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  9. final def repr: Iterable[Attribute]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  10. def seq: AttributeSet.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  11. final def toIterable: AttributeSet.this.type
    Definition Classes
    Iterable → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  12. final def toIterator: Iterator[Attribute]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  13. final def toStream: Stream[Attribute]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  14. final def toTraversable: Traversable[Attribute]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  15. def view(from: Int, until: Int): View[Attribute]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from Serializable

Inherited from Iterable[Attribute]

Inherited from IterableFactoryDefaults[Attribute, Iterable]

Inherited from IterableOps[Attribute, Iterable, Iterable[Attribute]]

Inherited from IterableOnceOps[Attribute, Iterable, Iterable[Attribute]]

Inherited from IterableOnce[Attribute]

Inherited from AnyRef

Inherited from Any

Ungrouped