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).
- Alphabetic
- By Inheritance
- AttributeSet
- Serializable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(elem: Attribute): AttributeSet
Returns a new AttributeSet that contains
elemin addition to the current elements. - def ++(other: AttributeSet): AttributeSet
Returns a new AttributeSet that contains all of the Attributes found in
other. - final def ++[B >: Attribute](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def -(elem: Attribute): AttributeSet
Returns a new AttributeSet that does not contain
elem. - def --(other: Iterable[NamedExpression]): AttributeSet
Returns a new AttributeSet that does not contain any of the Attributes found in
other. - final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addString(b: StringBuilder): StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- IterableOnceOps
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def className: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def coll: AttributeSet.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[B](pf: PartialFunction[Attribute, B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[Attribute, B]): Option[B]
- Definition Classes
- IterableOnceOps
- def concat[B >: Attribute](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- def contains(elem: NamedExpression): Boolean
Returns true if this set contains an Attribute with the same expression id as
elem - def copyToArray[B >: Attribute](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- 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")
- 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")
- def corresponds[B](that: IterableOnce[B])(p: (Attribute, B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: (Attribute) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def drop(n: Int): Iterable[Attribute]
- Definition Classes
- IterableOps → IterableOnceOps
- def dropRight(n: Int): Iterable[Attribute]
- Definition Classes
- IterableOps
- def dropWhile(p: (Attribute) => Boolean): Iterable[Attribute]
- Definition Classes
- IterableOps → IterableOnceOps
- def empty: Iterable[Attribute]
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- def exists(p: (Attribute) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(f: (Attribute) => Boolean): AttributeSet
Returns a new AttributeSet contain only the Attributes where
fevaluates to true.Returns a new AttributeSet contain only the Attributes where
fevaluates to true.- Definition Classes
- AttributeSet → IterableOps → IterableOnceOps
- def filterNot(pred: (Attribute) => Boolean): Iterable[Attribute]
- Definition Classes
- IterableOps → IterableOnceOps
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(p: (Attribute) => Boolean): Option[Attribute]
- Definition Classes
- IterableOnceOps
- def flatMap[B](f: (Attribute) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: (Attribute) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def fold[A1 >: Attribute](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, Attribute) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: (Attribute, B) => B): B
- Definition Classes
- IterableOnceOps
- def forall(p: (Attribute) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: (Attribute) => U): Unit
- Definition Classes
- AttributeSet → IterableOnceOps
- def fromSpecific(coll: IterableOnce[Attribute]): Iterable[Attribute]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def groupBy[K](f: (Attribute) => K): Map[K, Iterable[Attribute]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: (Attribute) => K)(f: (Attribute) => B): Map[K, Iterable[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: (Attribute) => K)(f: (Attribute) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[Iterable[Attribute]]
- Definition Classes
- IterableOps
- def hashCode(): Int
- Definition Classes
- AttributeSet → AnyRef → Any
- def head: Attribute
- Definition Classes
- IterableOps
- def headOption: Option[Attribute]
- Definition Classes
- IterableOps
- def init: Iterable[Attribute]
- Definition Classes
- IterableOps
- def inits: Iterator[Iterable[Attribute]]
- Definition Classes
- IterableOps
- def intersect(other: AttributeSet): AttributeSet
Returns a new AttributeSet that only contains Attributes that are found in
thisandother. - def isEmpty: Boolean
- Definition Classes
- AttributeSet → IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: IterableFactory[Iterable]
- Definition Classes
- Iterable → IterableOps
- 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
- def knownSize: Int
- Definition Classes
- IterableOnce
- def last: Attribute
- Definition Classes
- IterableOps
- def lastOption: Option[Attribute]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[Attribute, B, AttributeSet.this.type]
- Definition Classes
- Iterable
- def map[B](f: (Attribute) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def max[B >: Attribute](implicit ord: Ordering[B]): Attribute
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: (Attribute) => B)(implicit cmp: Ordering[B]): Attribute
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: (Attribute) => B)(implicit cmp: Ordering[B]): Option[Attribute]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: Attribute](implicit ord: Ordering[B]): Option[Attribute]
- Definition Classes
- IterableOnceOps
- def min[B >: Attribute](implicit ord: Ordering[B]): Attribute
- Definition Classes
- IterableOnceOps
- def minBy[B](f: (Attribute) => B)(implicit cmp: Ordering[B]): Attribute
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: (Attribute) => B)(implicit cmp: Ordering[B]): Option[Attribute]
- Definition Classes
- IterableOnceOps
- def minOption[B >: Attribute](implicit ord: Ordering[B]): Option[Attribute]
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[Attribute, Iterable[Attribute]]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def partition(p: (Attribute) => Boolean): (Iterable[Attribute], Iterable[Attribute])
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: (Attribute) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def product[B >: Attribute](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def reduce[B >: Attribute](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: Attribute](op: (B, Attribute) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: Attribute](op: (B, Attribute) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: Attribute](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: Attribute](op: (Attribute, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: Attribute](op: (Attribute, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reversed: Iterable[Attribute]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def scan[B >: Attribute](z: B)(op: (B, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, Attribute) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: (Attribute, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def size: Int
- Definition Classes
- IterableOnceOps
- def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Definition Classes
- IterableOps
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): Iterable[Attribute]
- Definition Classes
- IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[Iterable[Attribute]]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[Iterable[Attribute]]
- Definition Classes
- IterableOps
- def span(p: (Attribute) => Boolean): (Iterable[Attribute], Iterable[Attribute])
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (Iterable[Attribute], Iterable[Attribute])
- Definition Classes
- IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[Attribute, S]): S
- Definition Classes
- IterableOnce
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- Annotations
- @deprecatedOverriding("Override className instead", "2.13.0")
- def subsetOf(other: AttributeSet): Boolean
Returns true if the Attributes in this set are a subset of the Attributes in
other. - def sum[B >: Attribute](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: Iterable[Attribute]
- Definition Classes
- IterableOps
- def tails: Iterator[Iterable[Attribute]]
- Definition Classes
- IterableOps
- def take(n: Int): Iterable[Attribute]
- Definition Classes
- IterableOps → IterableOnceOps
- def takeRight(n: Int): Iterable[Attribute]
- Definition Classes
- IterableOps
- def takeWhile(p: (Attribute) => Boolean): Iterable[Attribute]
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: (Attribute) => U): Iterable[Attribute]
- Definition Classes
- IterableOps → IterableOnceOps
- def to[C1](factory: Factory[Attribute, C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: Attribute](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: Attribute]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: IndexedSeq[Attribute]
- Definition Classes
- IterableOnceOps
- final def toIterable: AttributeSet.this.type
- Definition Classes
- Iterable → IterableOps
- def toList: List[Attribute]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[Attribute, (K, V)]): Map[K, V]
- Definition Classes
- IterableOnceOps
- def toSeq: Seq[Attribute]
- Definition Classes
- AttributeSet → IterableOnceOps
- def toSet[B >: Attribute]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- AttributeSet → Iterable → AnyRef → Any
- def toVector: Vector[Attribute]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: (Attribute) => Iterable[B]): Iterable[Iterable[B]]
- Definition Classes
- IterableOps
- def unzip[A1, A2](implicit asPair: (Attribute) => (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (Attribute) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- IterableOps
- def view: View[Attribute]
- Definition Classes
- IterableOps
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withFilter(p: (Attribute) => Boolean): WithFilter[Attribute, Iterable]
- Definition Classes
- IterableOps
- def zip[B](that: IterableOnce[B]): Iterable[(Attribute, B)]
- Definition Classes
- IterableOps
- def zipAll[A1 >: Attribute, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: Iterable[(Attribute, Int)]
- Definition Classes
- IterableOps → IterableOnceOps
Deprecated Value Members
- 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
- 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 /:
- 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 :\
- 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)
aggregateis not relevant for sequential collections. UsefoldLeft(z)(seqop)instead.
- 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
- final def copyToBuffer[B >: Attribute](dest: Buffer[B]): Unit
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= collinstead
- 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)
- 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
- def seq: AttributeSet.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- final def toIterator: Iterator[Attribute]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toStream: Stream[Attribute]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[Attribute]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use toIterable instead
- 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)