A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://spark.apache.org/docs/latest/api/scala/org/apache/spark/sql/types/StructType.html below:

Spark 4.0.0 ScalaDoc - org.apache.spark.sql.types.StructType

case class StructType(fields: Array[StructField]) extends DataType with Seq[StructField] with Product with Serializable



Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StructType
  2. Serializable
  3. Product
  4. Seq
  5. SeqOps
  6. Seq
  7. Equals
  8. SeqOps
  9. PartialFunction
  10. Function1
  11. Iterable
  12. Iterable
  13. IterableFactoryDefaults
  14. IterableOps
  15. IterableOnceOps
  16. IterableOnce
  17. DataType
  18. AbstractDataType
  19. AnyRef
  20. Any
Visibility
  1. Public
  2. Protected
Instance Constructors
  1.  new StructType()
  2.  new StructType(fields: Array[StructField])
Value Members
  1.  final def !=(arg0: Any): Boolean
  2.  final def ##: Int
  3.  final def ++[B >: StructField](suffix: IterableOnce[B]): Seq[B]
  4.  final def ++:[B >: StructField](prefix: IterableOnce[B]): Seq[B]
  5.  final def +:[B >: StructField](elem: B): Seq[B]
  6.  final def :+[B >: StructField](elem: B): Seq[B]
  7.  final def :++[B >: StructField](suffix: IterableOnce[B]): Seq[B]
  8.  final def ==(arg0: Any): Boolean
  9.  def add(name: String, dataType: String, nullable: Boolean, comment: String): StructType
  10.  def add(name: String, dataType: String, nullable: Boolean, metadata: Metadata): StructType
  11.  def add(name: String, dataType: String, nullable: Boolean): StructType
  12.  def add(name: String, dataType: String): StructType
  13.  def add(name: String, dataType: DataType, nullable: Boolean, comment: String): StructType
  14.  def add(name: String, dataType: DataType, nullable: Boolean, metadata: Metadata): StructType
  15.  def add(name: String, dataType: DataType, nullable: Boolean): StructType
  16.  def add(name: String, dataType: DataType): StructType
  17.  def add(field: StructField): StructType
  18.  final def addString(b: StringBuilder): b.type
  19.  final def addString(b: StringBuilder, sep: String): b.type
  20.  def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
  21.  def andThen[C](k: PartialFunction[StructField, C]): PartialFunction[Int, C]
  22.  def andThen[C](k: (StructField) => C): PartialFunction[Int, C]
  23.  def appended[B >: StructField](elem: B): Seq[B]
  24.  def appendedAll[B >: StructField](suffix: IterableOnce[B]): Seq[B]
  25.  def apply(fieldIndex: Int): StructField
  26.  def apply(names: Set[String]): StructType
  27.  def apply(name: String): StructField
  28.  def applyOrElse[A1 <: Int, B1 >: StructField](x: A1, default: (A1) => B1): B1
  29.  final def asInstanceOf[T0]: T0
  30.  def canEqual(that: Any): Boolean
  31.  def catalogString: String
  32.  def className: String
  33.  def clone(): AnyRef
  34.  final def coll: StructType.this.type
  35.  def collect[B](pf: PartialFunction[StructField, B]): Seq[B]
  36.  def collectFirst[B](pf: PartialFunction[StructField, B]): Option[B]
  37.  def combinations(n: Int): Iterator[Seq[StructField]]
  38.  def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, StructField]
  39.  def compose[A](g: (A) => Int): (A) => StructField
  40.  final def concat[B >: StructField](suffix: IterableOnce[B]): Seq[B]
  41.  def contains[A1 >: StructField](elem: A1): Boolean
  42.  def containsSlice[B >: StructField](that: Seq[B]): Boolean
  43.  def copyToArray[B >: StructField](xs: Array[B], start: Int, len: Int): Int
  44.  def copyToArray[B >: StructField](xs: Array[B], start: Int): Int
  45.  def copyToArray[B >: StructField](xs: Array[B]): Int
  46.  def corresponds[B](that: Seq[B])(p: (StructField, B) => Boolean): Boolean
  47.  def corresponds[B](that: IterableOnce[B])(p: (StructField, B) => Boolean): Boolean
  48.  def count(p: (StructField) => Boolean): Int
  49.  def defaultSize: Int
  50.  def diff[B >: StructField](that: Seq[B]): Seq[StructField]
  51.  def distinct: Seq[StructField]
  52.  def distinctBy[B](f: (StructField) => B): Seq[StructField]
  53.  def drop(n: Int): Seq[StructField]
  54.  def dropRight(n: Int): Seq[StructField]
  55.  def dropWhile(p: (StructField) => Boolean): Seq[StructField]
  56.  def elementWise: ElementWiseExtractor[Int, StructField]
  57.  def empty: Seq[StructField]
  58.  def endsWith[B >: StructField](that: Iterable[B]): Boolean
  59.  final def eq(arg0: AnyRef): Boolean
  60.  def equals(that: Any): Boolean
  61.  def exists(p: (StructField) => Boolean): Boolean
  62.  def fieldIndex(name: String): Int
  63.  def fieldNames: Array[String]
  64.  val fields: Array[StructField]
  65.  def filter(pred: (StructField) => Boolean): Seq[StructField]
  66.  def filterNot(pred: (StructField) => Boolean): Seq[StructField]
  67.  def find(p: (StructField) => Boolean): Option[StructField]
  68.  def findLast(p: (StructField) => Boolean): Option[StructField]
  69.  def flatMap[B](f: (StructField) => IterableOnce[B]): Seq[B]
  70.  def flatten[B](implicit asIterable: (StructField) => IterableOnce[B]): Seq[B]
  71.  def fold[A1 >: StructField](z: A1)(op: (A1, A1) => A1): A1
  72.  def foldLeft[B](z: B)(op: (B, StructField) => B): B
  73.  def foldRight[B](z: B)(op: (StructField, B) => B): B
  74.  def forall(p: (StructField) => Boolean): Boolean
  75.  def foreach[U](f: (StructField) => U): Unit
  76.  def fromSpecific(coll: IterableOnce[StructField]): Seq[StructField]
  77.  final def getClass(): Class[_ <: AnyRef]
  78.  def groupBy[K](f: (StructField) => K): Map[K, Seq[StructField]]
  79.  def groupMap[K, B](key: (StructField) => K)(f: (StructField) => B): Map[K, Seq[B]]
  80.  def groupMapReduce[K, B](key: (StructField) => K)(f: (StructField) => B)(reduce: (B, B) => B): Map[K, B]
  81.  def grouped(size: Int): Iterator[Seq[StructField]]
  82.  def hashCode(): Int
  83.  def head: StructField
  84.  def headOption: Option[StructField]
  85.  def indexOf[B >: StructField](elem: B): Int
  86.  def indexOf[B >: StructField](elem: B, from: Int): Int
  87.  def indexOfSlice[B >: StructField](that: Seq[B]): Int
  88.  def indexOfSlice[B >: StructField](that: Seq[B], from: Int): Int
  89.  def indexWhere(p: (StructField) => Boolean): Int
  90.  def indexWhere(p: (StructField) => Boolean, from: Int): Int
  91.  def indices: Range
  92.  def init: Seq[StructField]
  93.  def inits: Iterator[Seq[StructField]]
  94.  def intersect[B >: StructField](that: Seq[B]): Seq[StructField]
  95.  def isDefinedAt(idx: Int): Boolean
  96.  def isEmpty: Boolean
  97.  final def isInstanceOf[T0]: Boolean
  98.  def isTraversableAgain: Boolean
  99.  def iterableFactory: SeqFactory[Seq]
  100.  def iterator: Iterator[StructField]
  101.  def json: String
  102.  def knownSize: Int
  103.  def last: StructField
  104.  def lastIndexOf[B >: StructField](elem: B, end: Int): Int
  105.  def lastIndexOfSlice[B >: StructField](that: Seq[B]): Int
  106.  def lastIndexOfSlice[B >: StructField](that: Seq[B], end: Int): Int
  107.  def lastIndexWhere(p: (StructField) => Boolean): Int
  108.  def lastIndexWhere(p: (StructField) => Boolean, end: Int): Int
  109.  def lastOption: Option[StructField]
  110.  def lazyZip[B](that: Iterable[B]): LazyZip2[StructField, B, StructType.this.type]
  111.  def length: Int
  112.  def lengthCompare(that: Iterable[_]): Int
  113.  def lengthCompare(len: Int): Int
  114.  final def lengthIs: SizeCompareOps
  115.  def lift: (Int) => Option[StructField]
  116.  def map[B](f: (StructField) => B): Seq[B]
  117.  def max[B >: StructField](implicit ord: Ordering[B]): StructField
  118.  def maxBy[B](f: (StructField) => B)(implicit ord: Ordering[B]): StructField
  119.  def maxByOption[B](f: (StructField) => B)(implicit ord: Ordering[B]): Option[StructField]
  120.  def maxOption[B >: StructField](implicit ord: Ordering[B]): Option[StructField]
  121.  def min[B >: StructField](implicit ord: Ordering[B]): StructField
  122.  def minBy[B](f: (StructField) => B)(implicit ord: Ordering[B]): StructField
  123.  def minByOption[B](f: (StructField) => B)(implicit ord: Ordering[B]): Option[StructField]
  124.  def minOption[B >: StructField](implicit ord: Ordering[B]): Option[StructField]
  125.  final def mkString: String
  126.  final def mkString(sep: String): String
  127.  final def mkString(start: String, sep: String, end: String): String
  128.  def names: Array[String]
  129.  final def ne(arg0: AnyRef): Boolean
  130.  def newSpecificBuilder: Builder[StructField, Seq[StructField]]
  131.  def nonEmpty: Boolean
  132.  final def notify(): Unit
  133.  final def notifyAll(): Unit
  134.  def occCounts[B](sq: Seq[B]): Map[B, Int]
  135.  def orElse[A1 <: Int, B1 >: StructField](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
  136.  def padTo[B >: StructField](len: Int, elem: B): Seq[B]
  137.  def partition(p: (StructField) => Boolean): (Seq[StructField], Seq[StructField])
  138.  def partitionMap[A1, A2](f: (StructField) => Either[A1, A2]): (Seq[A1], Seq[A2])
  139.  def patch[B >: StructField](from: Int, other: IterableOnce[B], replaced: Int): Seq[B]
  140.  def permutations: Iterator[Seq[StructField]]
  141.  def prepended[B >: StructField](elem: B): Seq[B]
  142.  def prependedAll[B >: StructField](prefix: IterableOnce[B]): Seq[B]
  143.  def prettyJson: String
  144.  def printTreeString(): Unit
  145.  def product[B >: StructField](implicit num: Numeric[B]): B
  146.  def productElementNames: Iterator[String]
  147.  def reduce[B >: StructField](op: (B, B) => B): B
  148.  def reduceLeft[B >: StructField](op: (B, StructField) => B): B
  149.  def reduceLeftOption[B >: StructField](op: (B, StructField) => B): Option[B]
  150.  def reduceOption[B >: StructField](op: (B, B) => B): Option[B]
  151.  def reduceRight[B >: StructField](op: (StructField, B) => B): B
  152.  def reduceRightOption[B >: StructField](op: (StructField, B) => B): Option[B]
  153.  def reverse: Seq[StructField]
  154.  def reverseIterator: Iterator[StructField]
  155.  def reversed: Iterable[StructField]
  156.  def runWith[U](action: (StructField) => U): (Int) => Boolean
  157.  def sameElements[B >: StructField](that: IterableOnce[B]): Boolean
  158.  def scan[B >: StructField](z: B)(op: (B, B) => B): Seq[B]
  159.  def scanLeft[B](z: B)(op: (B, StructField) => B): Seq[B]
  160.  def scanRight[B](z: B)(op: (StructField, B) => B): Seq[B]
  161.  def search[B >: StructField](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
  162.  def search[B >: StructField](elem: B)(implicit ord: Ordering[B]): SearchResult
  163.  def segmentLength(p: (StructField) => Boolean, from: Int): Int
  164.  final def segmentLength(p: (StructField) => Boolean): Int
  165.  def simpleString: String
  166.  final def size: Int
  167.  final def sizeCompare(that: Iterable[_]): Int
  168.  final def sizeCompare(otherSize: Int): Int
  169.  final def sizeIs: SizeCompareOps
  170.  def slice(from: Int, until: Int): Seq[StructField]
  171.  def sliding(size: Int, step: Int): Iterator[Seq[StructField]]
  172.  def sliding(size: Int): Iterator[Seq[StructField]]
  173.  def sortBy[B](f: (StructField) => B)(implicit ord: Ordering[B]): Seq[StructField]
  174.  def sortWith(lt: (StructField, StructField) => Boolean): Seq[StructField]
  175.  def sorted[B >: StructField](implicit ord: Ordering[B]): Seq[StructField]
  176.  def span(p: (StructField) => Boolean): (Seq[StructField], Seq[StructField])
  177.  def splitAt(n: Int): (Seq[StructField], Seq[StructField])
  178.  def sql: String
  179.  def startsWith[B >: StructField](that: IterableOnce[B], offset: Int): Boolean
  180.  def stepper[S <: Stepper[_]](implicit shape: StepperShape[StructField, S]): S
  181.  def stringPrefix: String
  182.  def sum[B >: StructField](implicit num: Numeric[B]): B
  183.  final def synchronized[T0](arg0: => T0): T0
  184.  def tail: Seq[StructField]
  185.  def tails: Iterator[Seq[StructField]]
  186.  def take(n: Int): Seq[StructField]
  187.  def takeRight(n: Int): Seq[StructField]
  188.  def takeWhile(p: (StructField) => Boolean): Seq[StructField]
  189.  def tapEach[U](f: (StructField) => U): Seq[StructField]
  190.  def to[C1](factory: Factory[StructField, C1]): C1
  191.  def toArray[B >: StructField](implicit arg0: ClassTag[B]): Array[B]
  192.  final def toBuffer[B >: StructField]: Buffer[B]
  193.  def toDDL: String
  194.  def toIndexedSeq: IndexedSeq[StructField]
  195.  def toList: List[StructField]
  196.  def toMap[K, V](implicit ev: <:<[StructField, (K, V)]): Map[K, V]
  197.  def toNullable: StructType
  198.  final def toSeq: StructType.this.type
  199.  def toSet[B >: StructField]: Set[B]
  200.  def toString(): String
  201.  def toVector: Vector[StructField]
  202.  def transpose[B](implicit asIterable: (StructField) => Iterable[B]): Seq[Seq[B]]
  203.  def treeString(maxDepth: Int): String
  204.  def treeString: String
  205.  def typeName: String
  206.  def unapply(a: Int): Option[StructField]
  207.  def unzip[A1, A2](implicit asPair: (StructField) => (A1, A2)): (Seq[A1], Seq[A2])
  208.  def unzip3[A1, A2, A3](implicit asTriple: (StructField) => (A1, A2, A3)): (Seq[A1], Seq[A2], Seq[A3])
  209.  def updated[B >: StructField](index: Int, elem: B): Seq[B]
  210.  def view: SeqView[StructField]
  211.  final def wait(arg0: Long, arg1: Int): Unit
  212.  final def wait(arg0: Long): Unit
  213.  final def wait(): Unit
  214.  def withFilter(p: (StructField) => Boolean): WithFilter[StructField, [_]Seq[_]]
  215.  def zip[B](that: IterableOnce[B]): Seq[(StructField, B)]
  216.  def zipAll[A1 >: StructField, B](that: Iterable[B], thisElem: A1, thatElem: B): Seq[(A1, B)]
  217.  def zipWithIndex: Seq[(StructField, Int)]

Inherited from Product

Inherited from Equals

Inherited from IterableFactoryDefaults[StructField, [x]Seq[x]]

Inherited from AbstractDataType

Inherited from AnyRef

Inherited from Any


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4