Snowpark Scala API Reference 1.19.0 - com.snowflake.snowpark.types.StructType
Keywords: Snowpark Scala API Reference 1.19.0 com.snowflake.snowpark.types.StructType

Snowpark Scala API Reference1.19.0 < Back


# Packages

-  package root
  Definition Classes
    root
-  package com
  Definition Classes
    root
-  package snowflake
  Definition Classes
    com
-  package snowpark
  Definition Classes
    snowflake
-  package types

  This package contains all Snowpark logical types.

  This package contains all Snowpark logical types.

  Definition Classes
    snowpark
  Since

    0.1.0

- ArrayType
- BinaryType
- BooleanType
- ByteType
- ColumnIdentifier
- DataType
- DateType
- DecimalType
- DoubleType
- FloatType
- Geography
- GeographyType
- Geometry
- GeometryType
- IntegerType
- LongType
- MapType
- ShortType
- StringType
- StructField
- StructType
- TimeType
- TimestampType
- Variant
- VariantType

c

com.snowflake.snowpark.types

# StructType

###
Companion object StructType

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

StructType data type, represents table schema.

Since

  0.1.0

Linear Supertypes
Serializable, Product, Seq[StructField], SeqOps[StructField, Seq, Seq[StructField]], Seq[StructField], Equals, SeqOps[StructField, [_]Seq[_], Seq[StructField]], PartialFunction[Int, StructField], (Int) => StructField, Iterable[StructField], Iterable[StructField], IterableFactoryDefaults[StructField, [x]Seq[x]], IterableOps[StructField, [_]Seq[_], Seq[StructField]], IterableOnceOps[StructField, [_]Seq[_], Seq[StructField]], IterableOnce[StructField], DataType, AnyRef, Any

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. AnyRef
19. Any

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Instance Constructors

1.  new StructType(fields: Array[StructField] = Array())

   Creates a new StructType object based on the given array of StructField.

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  final def ++[B >: StructField](suffix: IterableOnce[B]): Seq[B]
   Definition Classes
     IterableOps
   Annotations
     @inline()
4.  final def ++:[B >: StructField](prefix: IterableOnce[B]): Seq[B]
   Definition Classes
     SeqOps → IterableOps
   Annotations
     @inline()
5.  final def +:[B >: StructField](elem: B): Seq[B]
   Definition Classes
     SeqOps
   Annotations
     @inline()
6.  final def :+[B >: StructField](elem: B): Seq[B]
   Definition Classes
     SeqOps
   Annotations
     @inline()
7.  final def :++[B >: StructField](suffix: IterableOnce[B]): Seq[B]
   Definition Classes
     SeqOps
   Annotations
     @inline()
8.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def add(name: String, dataType: DataType, nullable: Boolean = true): StructType

   Appends a new StructField to the end of this object.

   Appends a new StructField to the end of this object.

   Since

     0.1.0

10.  def add(field: StructField): StructType

    Appends a new StructField to the end of this object.

    Appends a new StructField to the end of this object.

    Since

      0.1.0

11.  final def addString(b: StringBuilder): b.type
    Definition Classes
      IterableOnceOps
    Annotations
      @inline()
12.  final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
      IterableOnceOps
    Annotations
      @inline()
13.  def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
      IterableOnceOps
14.  def andThen[C](k: PartialFunction[StructField, C]): PartialFunction[Int, C]
    Definition Classes
      PartialFunction
15.  def andThen[C](k: (StructField) => C): PartialFunction[Int, C]
    Definition Classes
      PartialFunction → Function1
16.  def appended[B >: StructField](elem: B): Seq[B]
    Definition Classes
      SeqOps
17.  def appendedAll[B >: StructField](suffix: IterableOnce[B]): Seq[B]
    Definition Classes
      SeqOps
18.  def apply(name: String): StructField

    Return the corresponding StructField object of the given name.

    Return the corresponding StructField object of the given name.

    Since

      0.1.0

19.  def apply(idx: Int): StructField

    Returns the corresponding StructField of the given index.

    Returns the corresponding StructField of the given index.

    Definition Classes
      StructType → SeqOps → Function1
    Since

      0.1.0

20.  def applyOrElse[A1 <: Int, B1 >: StructField](x: A1, default: (A1) => B1): B1
    Definition Classes
      PartialFunction
21.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
22.  def canEqual(that: Any): Boolean
    Definition Classes
      Seq → Equals
23.  def className: String
    Attributes
      protected[this]
    Definition Classes
      Iterable
24.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
25.  final def coll: StructType.this.type
    Attributes
      protected
    Definition Classes
      Iterable → IterableOps
26.  def collect[B](pf: PartialFunction[StructField, B]): Seq[B]
    Definition Classes
      IterableOps → IterableOnceOps
27.  def collectFirst[B](pf: PartialFunction[StructField, B]): Option[B]
    Definition Classes
      IterableOnceOps
28.  def combinations(n: Int): Iterator[Seq[StructField]]
    Definition Classes
      SeqOps
29.  def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, StructField]
    Definition Classes
      PartialFunction
30.  def compose[A](g: (A) => Int): (A) => StructField
    Definition Classes
      Function1
    Annotations
      @unspecialized()
31.  final def concat[B >: StructField](suffix: IterableOnce[B]): Seq[B]
    Definition Classes
      SeqOps → IterableOps
    Annotations
      @inline()
32.  def contains[A1 >: StructField](elem: A1): Boolean
    Definition Classes
      SeqOps
33.  def containsSlice[B >: StructField](that: Seq[B]): Boolean
    Definition Classes
      SeqOps
34.  def copyToArray[B >: StructField](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
      IterableOnceOps
35.  def copyToArray[B >: StructField](xs: Array[B], start: Int): Int
    Definition Classes
      IterableOnceOps
    Annotations
      @deprecatedOverriding()
36.  def copyToArray[B >: StructField](xs: Array[B]): Int
    Definition Classes
      IterableOnceOps
    Annotations
      @deprecatedOverriding()
37.  def corresponds[B](that: Seq[B])(p: (StructField, B) => Boolean): Boolean
    Definition Classes
      SeqOps
38.  def corresponds[B](that: IterableOnce[B])(p: (StructField, B) => Boolean): Boolean
    Definition Classes
      IterableOnceOps
39.  def count(p: (StructField) => Boolean): Int
    Definition Classes
      IterableOnceOps
40.  def diff[B >: StructField](that: Seq[B]): Seq[StructField]
    Definition Classes
      SeqOps
41.  def distinct: Seq[StructField]
    Definition Classes
      SeqOps
42.  def distinctBy[B](f: (StructField) => B): Seq[StructField]
    Definition Classes
      SeqOps
43.  def drop(n: Int): Seq[StructField]
    Definition Classes
      IterableOps → IterableOnceOps
44.  def dropRight(n: Int): Seq[StructField]
    Definition Classes
      IterableOps
45.  def dropWhile(p: (StructField) => Boolean): Seq[StructField]
    Definition Classes
      IterableOps → IterableOnceOps
46.  def elementWise: ElementWiseExtractor[Int, StructField]
    Definition Classes
      PartialFunction
47.  def empty: Seq[StructField]
    Definition Classes
      IterableFactoryDefaults → IterableOps
48.  def endsWith[B >: StructField](that: Iterable[B]): Boolean
    Definition Classes
      SeqOps
49.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
50.  def equals(o: Any): Boolean
    Definition Classes
      Seq → Equals → AnyRef → Any
51.  def exists(p: (StructField) => Boolean): Boolean
    Definition Classes
      IterableOnceOps
52.  def fieldIndex(fieldName: String): Int

    Return the index of the specified field.

    Return the index of the specified field.

    fieldName

      the name of the field.

    returns

      the index of the field with the specified name.

    Since

      1.15.0

    Exceptions thrown

      `IllegalArgumentException` if the given field name does not exist in the schema.

53.  def fieldNames: Seq[String]

    Retrieves the names of all StructField in this StructType.

    Retrieves the names of all StructField in this StructType. This is an alias of names.

    Example:

        val schema = StructType(Array(StructField("c1", IntegerType), StructField("c2", StringType)))
        schema.fieldNames
        // res: Seq[String] = List("C1", "C2")

    returns

      a sequence representing the names of the fields in this StructType.

    Since

      1.17.0

54.  val fields: Array[StructField]
55.  def filter(pred: (StructField) => Boolean): Seq[StructField]
    Definition Classes
      IterableOps → IterableOnceOps
56.  def filterNot(pred: (StructField) => Boolean): Seq[StructField]
    Definition Classes
      IterableOps → IterableOnceOps
57.  def find(p: (StructField) => Boolean): Option[StructField]
    Definition Classes
      IterableOnceOps
58.  def findLast(p: (StructField) => Boolean): Option[StructField]
    Definition Classes
      SeqOps
59.  def flatMap[B](f: (StructField) => IterableOnce[B]): Seq[B]
    Definition Classes
      IterableOps → IterableOnceOps
60.  def flatten[B](implicit asIterable: (StructField) => IterableOnce[B]): Seq[B]
    Definition Classes
      IterableOps → IterableOnceOps
61.  def fold[A1 >: StructField](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
      IterableOnceOps
62.  def foldLeft[B](z: B)(op: (B, StructField) => B): B
    Definition Classes
      IterableOnceOps
63.  def foldRight[B](z: B)(op: (StructField, B) => B): B
    Definition Classes
      IterableOnceOps
64.  def forall(p: (StructField) => Boolean): Boolean
    Definition Classes
      IterableOnceOps
65.  def foreach[U](f: (StructField) => U): Unit
    Definition Classes
      IterableOnceOps
66.  def fromSpecific(coll: IterableOnce[StructField]): Seq[StructField]
    Attributes
      protected
    Definition Classes
      IterableFactoryDefaults → IterableOps
67.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @HotSpotIntrinsicCandidate() @native()
68.  def groupBy[K](f: (StructField) => K): Map[K, Seq[StructField]]
    Definition Classes
      IterableOps
69.  def groupMap[K, B](key: (StructField) => K)(f: (StructField) => B): Map[K, Seq[B]]
    Definition Classes
      IterableOps
70.  def groupMapReduce[K, B](key: (StructField) => K)(f: (StructField) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
      IterableOps
71.  def grouped(size: Int): Iterator[Seq[StructField]]
    Definition Classes
      IterableOps
72.  def hashCode(): Int
    Definition Classes
      Seq → AnyRef → Any
73.  def head: StructField
    Definition Classes
      IterableOps
74.  def headOption: Option[StructField]
    Definition Classes
      IterableOps
75.  def indexOf[B >: StructField](elem: B): Int
    Definition Classes
      SeqOps
    Annotations
      @deprecatedOverriding()
76.  def indexOf[B >: StructField](elem: B, from: Int): Int
    Definition Classes
      SeqOps
77.  def indexOfSlice[B >: StructField](that: Seq[B]): Int
    Definition Classes
      SeqOps
    Annotations
      @deprecatedOverriding()
78.  def indexOfSlice[B >: StructField](that: Seq[B], from: Int): Int
    Definition Classes
      SeqOps
79.  def indexWhere(p: (StructField) => Boolean): Int
    Definition Classes
      SeqOps
    Annotations
      @deprecatedOverriding()
80.  def indexWhere(p: (StructField) => Boolean, from: Int): Int
    Definition Classes
      SeqOps
81.  def indices: Range
    Definition Classes
      SeqOps
82.  def init: Seq[StructField]
    Definition Classes
      IterableOps
83.  def inits: Iterator[Seq[StructField]]
    Definition Classes
      IterableOps
84.  def intersect[B >: StructField](that: Seq[B]): Seq[StructField]
    Definition Classes
      SeqOps
85.  def isDefinedAt(idx: Int): Boolean
    Definition Classes
      SeqOps
86.  def isEmpty: Boolean
    Definition Classes
      SeqOps → IterableOnceOps
87.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
88.  def isTraversableAgain: Boolean
    Definition Classes
      IterableOps → IterableOnceOps
89.  def iterableFactory: SeqFactory[Seq]
    Definition Classes
      Seq → Seq → Iterable → Iterable → IterableOps
90.  def iterator: Iterator[StructField]

    Converts this object to Iterator.

    Converts this object to Iterator.

    Definition Classes
      StructType → IterableOnce
    Since

      0.1.0

91.  def knownSize: Int
    Definition Classes
      IterableOnce
92.  def last: StructField
    Definition Classes
      IterableOps
93.  def lastIndexOf[B >: StructField](elem: B, end: Int): Int
    Definition Classes
      SeqOps
94.  def lastIndexOfSlice[B >: StructField](that: Seq[B]): Int
    Definition Classes
      SeqOps
    Annotations
      @deprecatedOverriding()
95.  def lastIndexOfSlice[B >: StructField](that: Seq[B], end: Int): Int
    Definition Classes
      SeqOps
96.  def lastIndexWhere(p: (StructField) => Boolean): Int
    Definition Classes
      SeqOps
    Annotations
      @deprecatedOverriding()
97.  def lastIndexWhere(p: (StructField) => Boolean, end: Int): Int
    Definition Classes
      SeqOps
98.  def lastOption: Option[StructField]
    Definition Classes
      IterableOps
99.  def lazyZip[B](that: Iterable[B]): LazyZip2[StructField, B, StructType.this.type]
    Definition Classes
      Iterable
100.  def length: Int

     Returns the total number of StructField

     Returns the total number of StructField

     Definition Classes
       StructType → SeqOps
     Since

       0.1.0

101.  def lengthCompare(that: Iterable[_]): Int
     Definition Classes
       SeqOps
102.  def lengthCompare(len: Int): Int
     Definition Classes
       SeqOps
103.  final def lengthIs: SizeCompareOps
     Definition Classes
       SeqOps
     Annotations
       @inline()
104.  def lift: (Int) => Option[StructField]
     Definition Classes
       PartialFunction
105.  def map[B](f: (StructField) => B): Seq[B]
     Definition Classes
       IterableOps → IterableOnceOps
106.  def max[B >: StructField](implicit ord: Ordering[B]): StructField
     Definition Classes
       IterableOnceOps
107.  def maxBy[B](f: (StructField) => B)(implicit ord: Ordering[B]): StructField
     Definition Classes
       IterableOnceOps
108.  def maxByOption[B](f: (StructField) => B)(implicit ord: Ordering[B]): Option[StructField]
     Definition Classes
       IterableOnceOps
109.  def maxOption[B >: StructField](implicit ord: Ordering[B]): Option[StructField]
     Definition Classes
       IterableOnceOps
110.  def min[B >: StructField](implicit ord: Ordering[B]): StructField
     Definition Classes
       IterableOnceOps
111.  def minBy[B](f: (StructField) => B)(implicit ord: Ordering[B]): StructField
     Definition Classes
       IterableOnceOps
112.  def minByOption[B](f: (StructField) => B)(implicit ord: Ordering[B]): Option[StructField]
     Definition Classes
       IterableOnceOps
113.  def minOption[B >: StructField](implicit ord: Ordering[B]): Option[StructField]
     Definition Classes
       IterableOnceOps
114.  final def mkString: String
     Definition Classes
       IterableOnceOps
     Annotations
       @inline()
115.  final def mkString(sep: String): String
     Definition Classes
       IterableOnceOps
     Annotations
       @inline()
116.  final def mkString(start: String, sep: String, end: String): String
     Definition Classes
       IterableOnceOps
117.  def nameToField(name: String): Option[StructField]

     Returns the corresponding StructField object of the given name.

     Returns the corresponding StructField object of the given name.

     Since

       0.1.0

118.  def names: Seq[String]

     Retrieves the names of all StructField in this StructType.

     Retrieves the names of all StructField in this StructType.

     Example:

         val schema = StructType(Array(StructField("c1", IntegerType), StructField("c2", StringType)))
         schema.names
         // res: Seq[String] = List("C1", "C2")

     returns

       a sequence representing the names of the fields in this StructType.

     Since

       0.1.0

119.  final def ne(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
120.  def newSpecificBuilder: Builder[StructField, Seq[StructField]]
     Attributes
       protected
     Definition Classes
       IterableFactoryDefaults → IterableOps
121.  def nonEmpty: Boolean
     Definition Classes
       IterableOnceOps
     Annotations
       @deprecatedOverriding()
122.  final def notify(): Unit
     Definition Classes
       AnyRef
     Annotations
       @HotSpotIntrinsicCandidate() @native()
123.  final def notifyAll(): Unit
     Definition Classes
       AnyRef
     Annotations
       @HotSpotIntrinsicCandidate() @native()
124.  def occCounts[B](sq: Seq[B]): Map[B, Int]
     Attributes
       protected[collection]
     Definition Classes
       SeqOps
125.  def orElse[A1 <: Int, B1 >: StructField](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
     Definition Classes
       PartialFunction
126.  def padTo[B >: StructField](len: Int, elem: B): Seq[B]
     Definition Classes
       SeqOps
127.  def partition(p: (StructField) => Boolean): (Seq[StructField], Seq[StructField])
     Definition Classes
       IterableOps
128.  def partitionMap[A1, A2](f: (StructField) => Either[A1, A2]): (Seq[A1], Seq[A2])
     Definition Classes
       IterableOps
129.  def patch[B >: StructField](from: Int, other: IterableOnce[B], replaced: Int): Seq[B]
     Definition Classes
       SeqOps
130.  def permutations: Iterator[Seq[StructField]]
     Definition Classes
       SeqOps
131.  def prepended[B >: StructField](elem: B): Seq[B]
     Definition Classes
       SeqOps
132.  def prependedAll[B >: StructField](prefix: IterableOnce[B]): Seq[B]
     Definition Classes
       SeqOps
133.  def printTreeString(): Unit

     Prints the StructType content in a tree structure diagram.

     Prints the StructType content in a tree structure diagram.

     Since

       0.9.0

134.  def product[B >: StructField](implicit num: Numeric[B]): B
     Definition Classes
       IterableOnceOps
135.  def productElementNames: Iterator[String]
     Definition Classes
       Product
136.  def reduce[B >: StructField](op: (B, B) => B): B
     Definition Classes
       IterableOnceOps
137.  def reduceLeft[B >: StructField](op: (B, StructField) => B): B
     Definition Classes
       IterableOnceOps
138.  def reduceLeftOption[B >: StructField](op: (B, StructField) => B): Option[B]
     Definition Classes
       IterableOnceOps
139.  def reduceOption[B >: StructField](op: (B, B) => B): Option[B]
     Definition Classes
       IterableOnceOps
140.  def reduceRight[B >: StructField](op: (StructField, B) => B): B
     Definition Classes
       IterableOnceOps
141.  def reduceRightOption[B >: StructField](op: (StructField, B) => B): Option[B]
     Definition Classes
       IterableOnceOps
142.  def reverse: Seq[StructField]
     Definition Classes
       SeqOps
143.  def reverseIterator: Iterator[StructField]
     Definition Classes
       SeqOps
144.  def reversed: Iterable[StructField]
     Attributes
       protected
     Definition Classes
       IterableOnceOps
145.  def runWith[U](action: (StructField) => U): (Int) => Boolean
     Definition Classes
       PartialFunction
146.  def sameElements[B >: StructField](that: IterableOnce[B]): Boolean
     Definition Classes
       SeqOps
147.  def scan[B >: StructField](z: B)(op: (B, B) => B): Seq[B]
     Definition Classes
       IterableOps
148.  def scanLeft[B](z: B)(op: (B, StructField) => B): Seq[B]
     Definition Classes
       IterableOps → IterableOnceOps
149.  def scanRight[B](z: B)(op: (StructField, B) => B): Seq[B]
     Definition Classes
       IterableOps
150.  def search[B >: StructField](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
     Definition Classes
       SeqOps
151.  def search[B >: StructField](elem: B)(implicit ord: Ordering[B]): SearchResult
     Definition Classes
       SeqOps
152.  def segmentLength(p: (StructField) => Boolean, from: Int): Int
     Definition Classes
       SeqOps
153.  final def segmentLength(p: (StructField) => Boolean): Int
     Definition Classes
       SeqOps
154.  final def size: Int
     Definition Classes
       SeqOps → IterableOnceOps
155.  final def sizeCompare(that: Iterable[_]): Int
     Definition Classes
       SeqOps → IterableOps
156.  final def sizeCompare(otherSize: Int): Int
     Definition Classes
       SeqOps → IterableOps
157.  final def sizeIs: SizeCompareOps
     Definition Classes
       IterableOps
     Annotations
       @inline()
158.  def slice(from: Int, until: Int): Seq[StructField]
     Definition Classes
       IterableOps → IterableOnceOps
159.  def sliding(size: Int, step: Int): Iterator[Seq[StructField]]
     Definition Classes
       IterableOps
160.  def sliding(size: Int): Iterator[Seq[StructField]]
     Definition Classes
       IterableOps
161.  def sortBy[B](f: (StructField) => B)(implicit ord: Ordering[B]): Seq[StructField]
     Definition Classes
       SeqOps
162.  def sortWith(lt: (StructField, StructField) => Boolean): Seq[StructField]
     Definition Classes
       SeqOps
163.  def sorted[B >: StructField](implicit ord: Ordering[B]): Seq[StructField]
     Definition Classes
       SeqOps
164.  def span(p: (StructField) => Boolean): (Seq[StructField], Seq[StructField])
     Definition Classes
       IterableOps → IterableOnceOps
165.  def splitAt(n: Int): (Seq[StructField], Seq[StructField])
     Definition Classes
       IterableOps → IterableOnceOps
166.  def startsWith[B >: StructField](that: IterableOnce[B], offset: Int): Boolean
     Definition Classes
       SeqOps
167.  def stepper[S <: Stepper[_]](implicit shape: StepperShape[StructField, S]): S
     Definition Classes
       IterableOnce
168.  def stringPrefix: String
     Attributes
       protected[this]
     Definition Classes
       Seq → Iterable
169.  def sum[B >: StructField](implicit num: Numeric[B]): B
     Definition Classes
       IterableOnceOps
170.  final def synchronized[T0](arg0: => T0): T0
     Definition Classes
       AnyRef
171.  def tail: Seq[StructField]
     Definition Classes
       IterableOps
172.  def tails: Iterator[Seq[StructField]]
     Definition Classes
       IterableOps
173.  def take(n: Int): Seq[StructField]
     Definition Classes
       IterableOps → IterableOnceOps
174.  def takeRight(n: Int): Seq[StructField]
     Definition Classes
       IterableOps
175.  def takeWhile(p: (StructField) => Boolean): Seq[StructField]
     Definition Classes
       IterableOps → IterableOnceOps
176.  def tapEach[U](f: (StructField) => U): Seq[StructField]
     Definition Classes
       IterableOps → IterableOnceOps
177.  def to[C1](factory: Factory[StructField, C1]): C1
     Definition Classes
       IterableOnceOps
178.  def toArray[B >: StructField](implicit arg0: ClassTag[B]): Array[B]
     Definition Classes
       IterableOnceOps
179.  def toAttributes: Seq[Attribute]
     Attributes
       protected[snowpark]
180.  final def toBuffer[B >: StructField]: Buffer[B]
     Definition Classes
       IterableOnceOps
     Annotations
       @inline()
181.  def toIndexedSeq: IndexedSeq[StructField]
     Definition Classes
       IterableOnceOps
182.  def toList: List[StructField]
     Definition Classes
       IterableOnceOps
183.  def toMap[K, V](implicit ev: <:<[StructField, (K, V)]): Map[K, V]
     Definition Classes
       IterableOnceOps
184.  final def toSeq: StructType.this.type
     Definition Classes
       Seq → IterableOnceOps
185.  def toSet[B >: StructField]: Set[B]
     Definition Classes
       IterableOnceOps
186.  def toString(): String

     Returns a String values to represent this object info.

     Returns a String values to represent this object info.

     Definition Classes
       StructType → Seq → Function1 → Iterable → DataType → AnyRef → Any
     Since

       0.1.0

187.  def toVector: Vector[StructField]
     Definition Classes
       IterableOnceOps
188.  def transpose[B](implicit asIterable: (StructField) => Iterable[B]): Seq[Seq[B]]
     Definition Classes
       IterableOps
189.  def typeName: String

     Returns a data type name.

     Returns a data type name.

     Definition Classes
       DataType
     Since

       0.1.0

190.  def unapply(a: Int): Option[StructField]
     Definition Classes
       PartialFunction
191.  def unzip[A1, A2](implicit asPair: (StructField) => (A1, A2)): (Seq[A1], Seq[A2])
     Definition Classes
       IterableOps
192.  def unzip3[A1, A2, A3](implicit asTriple: (StructField) => (A1, A2, A3)): (Seq[A1], Seq[A2], Seq[A3])
     Definition Classes
       IterableOps
193.  def updated[B >: StructField](index: Int, elem: B): Seq[B]
     Definition Classes
       SeqOps
194.  def view: SeqView[StructField]
     Definition Classes
       SeqOps → IterableOps
195.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.InterruptedException])
196.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.InterruptedException]) @native()
197.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.InterruptedException])
198.  def withFilter(p: (StructField) => Boolean): WithFilter[StructField, [_]Seq[_]]
     Definition Classes
       IterableOps
199.  def zip[B](that: IterableOnce[B]): Seq[(StructField, B)]
     Definition Classes
       IterableOps
200.  def zipAll[A1 >: StructField, B](that: Iterable[B], thisElem: A1, thatElem: B): Seq[(A1, B)]
     Definition Classes
       IterableOps
201.  def zipWithIndex: Seq[(StructField, Int)]
     Definition Classes
       IterableOps → IterableOnceOps

### Deprecated Value Members

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

     (Since version 2.13.0) Use foldLeft instead of /:

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

     (Since version 2.13.0) Use foldRight instead of :\

3.  def aggregate[B](z: => B)(seqop: (B, StructField) => 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`.

4.  def companion: IterableFactory[[_]Seq[_]]
   Definition Classes
     IterableOps
   Annotations
     @deprecated @deprecatedOverriding() @inline()
   Deprecated

     (Since version 2.13.0) Use iterableFactory instead

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

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

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

     (Since version 9)

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 prefixLength(p: (StructField) => Boolean): Int
   Definition Classes
     SeqOps
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.13.0) Use segmentLength instead of prefixLength

9.  final def repr: Seq[StructField]
   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 reverseMap[B](f: (StructField) => B): Seq[B]
    Definition Classes
      SeqOps
    Annotations
      @deprecated
    Deprecated

      (Since version 2.13.0) Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)

11.  def seq: StructType.this.type
    Definition Classes
      Iterable
    Annotations
      @deprecated
    Deprecated

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

12.  final def toIterable: StructType.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

13.  final def toIterator: Iterator[StructField]
    Definition Classes
      IterableOnceOps
    Annotations
      @deprecated @inline()
    Deprecated

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

14.  final def toStream: Stream[StructField]
    Definition Classes
      IterableOnceOps
    Annotations
      @deprecated @inline()
    Deprecated

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

15.  final def toTraversable: Traversable[StructField]
    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

16.  final def union[B >: StructField](that: Seq[B]): Seq[B]
    Definition Classes
      SeqOps
    Annotations
      @deprecated @inline()
    Deprecated

      (Since version 2.13.0) Use `concat` instead

17.  def view(from: Int, until: Int): View[StructField]
    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 Product

### Inherited from Seq[StructField]

### Inherited from SeqOps[StructField, Seq, Seq[StructField]]

### Inherited from Seq[StructField]

### Inherited from Equals

### Inherited from SeqOps[StructField, [_]Seq[_], Seq[StructField]]

### Inherited from PartialFunction[Int, StructField]

### Inherited from (Int) => StructField

### Inherited from Iterable[StructField]

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

### Inherited from IterableOps[StructField, [_]Seq[_], Seq[StructField]]

### Inherited from IterableOnceOps[StructField, [_]Seq[_], Seq[StructField]]

### Inherited from IterableOnce[StructField]

### Inherited from DataType

### Inherited from AnyRef

### Inherited from Any

### Ungrouped