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
- Alphabetic
- By Inheritance
Inherited
- StructType
- Serializable
- Product
- Seq
- SeqOps
- Seq
- Equals
- SeqOps
- PartialFunction
- Function1
- Iterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- DataType
- AbstractDataType
- AnyRef
- Any
Visibility
- Public
- Protected
Instance Constructors
- î
new StructType()
- î
new StructType(fields: Array[StructField])
Value Members
- î
final def !=(arg0: Any): Boolean
- î
final def ##: Int
- î
final def ++[B >: StructField](suffix: IterableOnce[B]): Seq[B]
- î
final def ++:[B >: StructField](prefix: IterableOnce[B]): Seq[B]
- î
final def +:[B >: StructField](elem: B): Seq[B]
- î
final def :+[B >: StructField](elem: B): Seq[B]
- î
final def :++[B >: StructField](suffix: IterableOnce[B]): Seq[B]
- î
final def ==(arg0: Any): Boolean
- î
def add(name: String, dataType: String, nullable: Boolean, comment: String): StructType
- î
def add(name: String, dataType: String, nullable: Boolean, metadata: Metadata): StructType
- î
def add(name: String, dataType: String, nullable: Boolean): StructType
- î
def add(name: String, dataType: String): StructType
- î
def add(name: String, dataType: DataType, nullable: Boolean, comment: String): StructType
- î
def add(name: String, dataType: DataType, nullable: Boolean, metadata: Metadata): StructType
- î
def add(name: String, dataType: DataType, nullable: Boolean): StructType
- î
def add(name: String, dataType: DataType): StructType
- î
def add(field: StructField): StructType
- î
final def addString(b: StringBuilder): b.type
- î
final def addString(b: StringBuilder, sep: String): b.type
- î
def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
- î
def andThen[C](k: PartialFunction[StructField, C]): PartialFunction[Int, C]
- î
def andThen[C](k: (StructField) => C): PartialFunction[Int, C]
- î
def appended[B >: StructField](elem: B): Seq[B]
- î
def appendedAll[B >: StructField](suffix: IterableOnce[B]): Seq[B]
- î
def apply(fieldIndex: Int): StructField
- î
def apply(names: Set[String]): StructType
- î
def apply(name: String): StructField
- î
def applyOrElse[A1 <: Int, B1 >: StructField](x: A1, default: (A1) => B1): B1
- î
final def asInstanceOf[T0]: T0
- î
def canEqual(that: Any): Boolean
- î
def catalogString: String
- î
def className: String
- î
def clone(): AnyRef
- î
final def coll: StructType.this.type
- î
def collect[B](pf: PartialFunction[StructField, B]): Seq[B]
- î
def collectFirst[B](pf: PartialFunction[StructField, B]): Option[B]
- î
def combinations(n: Int): Iterator[Seq[StructField]]
- î
def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, StructField]
- î
def compose[A](g: (A) => Int): (A) => StructField
- î
final def concat[B >: StructField](suffix: IterableOnce[B]): Seq[B]
- î
def contains[A1 >: StructField](elem: A1): Boolean
- î
def containsSlice[B >: StructField](that: Seq[B]): Boolean
- î
def copyToArray[B >: StructField](xs: Array[B], start: Int, len: Int): Int
- î
def copyToArray[B >: StructField](xs: Array[B], start: Int): Int
- î
def copyToArray[B >: StructField](xs: Array[B]): Int
- î
def corresponds[B](that: Seq[B])(p: (StructField, B) => Boolean): Boolean
- î
def corresponds[B](that: IterableOnce[B])(p: (StructField, B) => Boolean): Boolean
- î
def count(p: (StructField) => Boolean): Int
- î
def defaultSize: Int
- î
def diff[B >: StructField](that: Seq[B]): Seq[StructField]
- î
def distinct: Seq[StructField]
- î
def distinctBy[B](f: (StructField) => B): Seq[StructField]
- î
def drop(n: Int): Seq[StructField]
- î
def dropRight(n: Int): Seq[StructField]
- î
def dropWhile(p: (StructField) => Boolean): Seq[StructField]
- î
def elementWise: ElementWiseExtractor[Int, StructField]
- î
def empty: Seq[StructField]
- î
def endsWith[B >: StructField](that: Iterable[B]): Boolean
- î
final def eq(arg0: AnyRef): Boolean
- î
def equals(that: Any): Boolean
- î
def exists(p: (StructField) => Boolean): Boolean
- î
def fieldIndex(name: String): Int
- î
def fieldNames: Array[String]
- î
val fields: Array[StructField]
- î
def filter(pred: (StructField) => Boolean): Seq[StructField]
- î
def filterNot(pred: (StructField) => Boolean): Seq[StructField]
- î
def find(p: (StructField) => Boolean): Option[StructField]
- î
def findLast(p: (StructField) => Boolean): Option[StructField]
- î
def flatMap[B](f: (StructField) => IterableOnce[B]): Seq[B]
- î
def flatten[B](implicit asIterable: (StructField) => IterableOnce[B]): Seq[B]
- î
def fold[A1 >: StructField](z: A1)(op: (A1, A1) => A1): A1
- î
def foldLeft[B](z: B)(op: (B, StructField) => B): B
- î
def foldRight[B](z: B)(op: (StructField, B) => B): B
- î
def forall(p: (StructField) => Boolean): Boolean
- î
def foreach[U](f: (StructField) => U): Unit
- î
def fromSpecific(coll: IterableOnce[StructField]): Seq[StructField]
- î
final def getClass(): Class[_ <: AnyRef]
- î
def groupBy[K](f: (StructField) => K): Map[K, Seq[StructField]]
- î
def groupMap[K, B](key: (StructField) => K)(f: (StructField) => B): Map[K, Seq[B]]
- î
def groupMapReduce[K, B](key: (StructField) => K)(f: (StructField) => B)(reduce: (B, B) => B): Map[K, B]
- î
def grouped(size: Int): Iterator[Seq[StructField]]
- î
def hashCode(): Int
- î
def head: StructField
- î
def headOption: Option[StructField]
- î
def indexOf[B >: StructField](elem: B): Int
- î
def indexOf[B >: StructField](elem: B, from: Int): Int
- î
def indexOfSlice[B >: StructField](that: Seq[B]): Int
- î
def indexOfSlice[B >: StructField](that: Seq[B], from: Int): Int
- î
def indexWhere(p: (StructField) => Boolean): Int
- î
def indexWhere(p: (StructField) => Boolean, from: Int): Int
- î
def indices: Range
- î
def init: Seq[StructField]
- î
def inits: Iterator[Seq[StructField]]
- î
def intersect[B >: StructField](that: Seq[B]): Seq[StructField]
- î
def isDefinedAt(idx: Int): Boolean
- î
def isEmpty: Boolean
- î
final def isInstanceOf[T0]: Boolean
- î
def isTraversableAgain: Boolean
- î
def iterableFactory: SeqFactory[Seq]
- î
def iterator: Iterator[StructField]
- î
def json: String
- î
def knownSize: Int
- î
def last: StructField
- î
def lastIndexOf[B >: StructField](elem: B, end: Int): Int
- î
def lastIndexOfSlice[B >: StructField](that: Seq[B]): Int
- î
def lastIndexOfSlice[B >: StructField](that: Seq[B], end: Int): Int
- î
def lastIndexWhere(p: (StructField) => Boolean): Int
- î
def lastIndexWhere(p: (StructField) => Boolean, end: Int): Int
- î
def lastOption: Option[StructField]
- î
def lazyZip[B](that: Iterable[B]): LazyZip2[StructField, B, StructType.this.type]
- î
def length: Int
- î
def lengthCompare(that: Iterable[_]): Int
- î
def lengthCompare(len: Int): Int
- î
final def lengthIs: SizeCompareOps
- î
def lift: (Int) => Option[StructField]
- î
def map[B](f: (StructField) => B): Seq[B]
- î
def max[B >: StructField](implicit ord: Ordering[B]): StructField
- î
def maxBy[B](f: (StructField) => B)(implicit ord: Ordering[B]): StructField
- î
def maxByOption[B](f: (StructField) => B)(implicit ord: Ordering[B]): Option[StructField]
- î
def maxOption[B >: StructField](implicit ord: Ordering[B]): Option[StructField]
- î
def min[B >: StructField](implicit ord: Ordering[B]): StructField
- î
def minBy[B](f: (StructField) => B)(implicit ord: Ordering[B]): StructField
- î
def minByOption[B](f: (StructField) => B)(implicit ord: Ordering[B]): Option[StructField]
- î
def minOption[B >: StructField](implicit ord: Ordering[B]): Option[StructField]
- î
final def mkString: String
- î
final def mkString(sep: String): String
- î
final def mkString(start: String, sep: String, end: String): String
- î
def names: Array[String]
- î
final def ne(arg0: AnyRef): Boolean
- î
def newSpecificBuilder: Builder[StructField, Seq[StructField]]
- î
def nonEmpty: Boolean
- î
final def notify(): Unit
- î
final def notifyAll(): Unit
- î
def occCounts[B](sq: Seq[B]): Map[B, Int]
- î
def orElse[A1 <: Int, B1 >: StructField](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- î
def padTo[B >: StructField](len: Int, elem: B): Seq[B]
- î
def partition(p: (StructField) => Boolean): (Seq[StructField], Seq[StructField])
- î
def partitionMap[A1, A2](f: (StructField) => Either[A1, A2]): (Seq[A1], Seq[A2])
- î
def patch[B >: StructField](from: Int, other: IterableOnce[B], replaced: Int): Seq[B]
- î
def permutations: Iterator[Seq[StructField]]
- î
def prepended[B >: StructField](elem: B): Seq[B]
- î
def prependedAll[B >: StructField](prefix: IterableOnce[B]): Seq[B]
- î
def prettyJson: String
- î
def printTreeString(): Unit
- î
def product[B >: StructField](implicit num: Numeric[B]): B
- î
def productElementNames: Iterator[String]
- î
def reduce[B >: StructField](op: (B, B) => B): B
- î
def reduceLeft[B >: StructField](op: (B, StructField) => B): B
- î
def reduceLeftOption[B >: StructField](op: (B, StructField) => B): Option[B]
- î
def reduceOption[B >: StructField](op: (B, B) => B): Option[B]
- î
def reduceRight[B >: StructField](op: (StructField, B) => B): B
- î
def reduceRightOption[B >: StructField](op: (StructField, B) => B): Option[B]
- î
def reverse: Seq[StructField]
- î
def reverseIterator: Iterator[StructField]
- î
def reversed: Iterable[StructField]
- î
def runWith[U](action: (StructField) => U): (Int) => Boolean
- î
def sameElements[B >: StructField](that: IterableOnce[B]): Boolean
- î
def scan[B >: StructField](z: B)(op: (B, B) => B): Seq[B]
- î
def scanLeft[B](z: B)(op: (B, StructField) => B): Seq[B]
- î
def scanRight[B](z: B)(op: (StructField, B) => B): Seq[B]
- î
def search[B >: StructField](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
- î
def search[B >: StructField](elem: B)(implicit ord: Ordering[B]): SearchResult
- î
def segmentLength(p: (StructField) => Boolean, from: Int): Int
- î
final def segmentLength(p: (StructField) => Boolean): Int
- î
def simpleString: String
- î
final def size: Int
- î
final def sizeCompare(that: Iterable[_]): Int
- î
final def sizeCompare(otherSize: Int): Int
- î
final def sizeIs: SizeCompareOps
- î
def slice(from: Int, until: Int): Seq[StructField]
- î
def sliding(size: Int, step: Int): Iterator[Seq[StructField]]
- î
def sliding(size: Int): Iterator[Seq[StructField]]
- î
def sortBy[B](f: (StructField) => B)(implicit ord: Ordering[B]): Seq[StructField]
- î
def sortWith(lt: (StructField, StructField) => Boolean): Seq[StructField]
- î
def sorted[B >: StructField](implicit ord: Ordering[B]): Seq[StructField]
- î
def span(p: (StructField) => Boolean): (Seq[StructField], Seq[StructField])
- î
def splitAt(n: Int): (Seq[StructField], Seq[StructField])
- î
def sql: String
- î
def startsWith[B >: StructField](that: IterableOnce[B], offset: Int): Boolean
- î
def stepper[S <: Stepper[_]](implicit shape: StepperShape[StructField, S]): S
- î
def stringPrefix: String
- î
def sum[B >: StructField](implicit num: Numeric[B]): B
- î
final def synchronized[T0](arg0: => T0): T0
- î
def tail: Seq[StructField]
- î
def tails: Iterator[Seq[StructField]]
- î
def take(n: Int): Seq[StructField]
- î
def takeRight(n: Int): Seq[StructField]
- î
def takeWhile(p: (StructField) => Boolean): Seq[StructField]
- î
def tapEach[U](f: (StructField) => U): Seq[StructField]
- î
def to[C1](factory: Factory[StructField, C1]): C1
- î
def toArray[B >: StructField](implicit arg0: ClassTag[B]): Array[B]
- î
final def toBuffer[B >: StructField]: Buffer[B]
- î
def toDDL: String
- î
def toIndexedSeq: IndexedSeq[StructField]
- î
def toList: List[StructField]
- î
def toMap[K, V](implicit ev: <:<[StructField, (K, V)]): Map[K, V]
- î
def toNullable: StructType
- î
final def toSeq: StructType.this.type
- î
def toSet[B >: StructField]: Set[B]
- î
def toString(): String
- î
def toVector: Vector[StructField]
- î
def transpose[B](implicit asIterable: (StructField) => Iterable[B]): Seq[Seq[B]]
- î
def treeString(maxDepth: Int): String
- î
def treeString: String
- î
def typeName: String
- î
def unapply(a: Int): Option[StructField]
- î
def unzip[A1, A2](implicit asPair: (StructField) => (A1, A2)): (Seq[A1], Seq[A2])
- î
def unzip3[A1, A2, A3](implicit asTriple: (StructField) => (A1, A2, A3)): (Seq[A1], Seq[A2], Seq[A3])
- î
def updated[B >: StructField](index: Int, elem: B): Seq[B]
- î
def view: SeqView[StructField]
- î
final def wait(arg0: Long, arg1: Int): Unit
- î
final def wait(arg0: Long): Unit
- î
final def wait(): Unit
- î
def withFilter(p: (StructField) => Boolean): WithFilter[StructField, [_]Seq[_]]
- î
def zip[B](that: IterableOnce[B]): Seq[(StructField, B)]
- î
def zipAll[A1 >: StructField, B](that: Iterable[B], thisElem: A1, thatElem: B): Seq[(A1, B)]
- î
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