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): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  10. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  11. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    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]) @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("This should always forward to the 3-arg version of this method", "2.13.4")
  22. def copyToArray[B >: Attribute](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
  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 finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  35. def find(p: (Attribute) => Boolean): Option[Attribute]
    Definition Classes
    IterableOnceOps
  36. def flatMap[B](f: (Attribute) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  37. def flatten[B](implicit asIterable: (Attribute) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  38. def fold[A1 >: Attribute](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  39. def foldLeft[B](z: B)(op: (B, Attribute) => B): B
    Definition Classes
    IterableOnceOps
  40. def foldRight[B](z: B)(op: (Attribute, B) => B): B
    Definition Classes
    IterableOnceOps
  41. def forall(p: (Attribute) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  42. def foreach[U](f: (Attribute) => U): Unit
    Definition Classes
    AttributeSet → IterableOnceOps
  43. def fromSpecific(coll: IterableOnce[Attribute]): Iterable[Attribute]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  44. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  45. def groupBy[K](f: (Attribute) => K): Map[K, Iterable[Attribute]]
    Definition Classes
    IterableOps
  46. def groupMap[K, B](key: (Attribute) => K)(f: (Attribute) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  47. def groupMapReduce[K, B](key: (Attribute) => K)(f: (Attribute) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  48. def grouped(size: Int): Iterator[Iterable[Attribute]]
    Definition Classes
    IterableOps
  49. def hashCode(): Int
    Definition Classes
    AttributeSet → AnyRef → Any
  50. def head: Attribute
    Definition Classes
    IterableOps
  51. def headOption: Option[Attribute]
    Definition Classes
    IterableOps
  52. def init: Iterable[Attribute]
    Definition Classes
    IterableOps
  53. def inits: Iterator[Iterable[Attribute]]
    Definition Classes
    IterableOps
  54. def intersect(other: AttributeSet): AttributeSet

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

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

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

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

  5. def companion: IterableFactory[Iterable]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @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 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)

  8. 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

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

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

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

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

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

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

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

    (Since version 2.13.0) Use toIterable instead

  13. 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