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, Serializable, Product, Seq[StructField], SeqLike[StructField, Seq[StructField]], GenSeq[StructField], GenSeqLike[StructField, Seq[StructField]], Iterable[StructField], IterableLike[StructField, Seq[StructField]], Equals, GenIterable[StructField], GenIterableLike[StructField, Seq[StructField]], Traversable[StructField], GenTraversable[StructField], GenericTraversableTemplate[StructField, Seq], TraversableLike[StructField, Seq[StructField]], GenTraversableLike[StructField, Seq[StructField]], Parallelizable[StructField, ParSeq[StructField]], TraversableOnce[StructField], GenTraversableOnce[StructField], FilterMonadic[StructField, Seq[StructField]], HasNewBuilder[StructField, Seq[com.snowflake.snowpark.types.StructField] @scala.annotation.unchecked.uncheckedVariance], PartialFunction[Int, StructField], (Int) ⇒ StructField, DataType, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. StructType
2. Serializable
3. Serializable
4. Product
5. Seq
6. SeqLike
7. GenSeq
8. GenSeqLike
9. Iterable
10. IterableLike
11. Equals
12. GenIterable
13. GenIterableLike
14. Traversable
15. GenTraversable
16. GenericTraversableTemplate
17. TraversableLike
18. GenTraversableLike
19. Parallelizable
20. TraversableOnce
21. GenTraversableOnce
22. FilterMonadic
23. HasNewBuilder
24. PartialFunction
25. Function1
26. DataType
27. AnyRef
28. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

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

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

### Type Members

1.  type Self = Seq[StructField]
   Attributes
     protected[this]
   Definition Classes
     TraversableLike
2.  class WithFilter extends FilterMonadic[A, Repr]
   Definition Classes
     TraversableLike

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  def ++[B >: StructField, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
   Definition Classes
     TraversableLike → GenTraversableLike
4.  def ++:[B >: StructField, That](that: Traversable[B])(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
   Definition Classes
     TraversableLike
5.  def ++:[B >: StructField, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
   Definition Classes
     TraversableLike
6.  def +:[B >: StructField, That](elem: B)(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
   Definition Classes
     SeqLike → GenSeqLike
7.  def :+[B >: StructField, That](elem: B)(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
   Definition Classes
     SeqLike → GenSeqLike
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.  def addString(b: StringBuilder): StringBuilder
    Definition Classes
      TraversableOnce
12.  def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
      TraversableOnce
13.  def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
      TraversableOnce
14.  def aggregate[B](z: ⇒ B)(seqop: (B, StructField) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
15.  def andThen[C](k: (StructField) ⇒ C): PartialFunction[Int, C]
    Definition Classes
      PartialFunction → Function1
16.  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

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

    Returns the corresponding StructField of the given index.

    Returns the corresponding StructField of the given index.

    Definition Classes
      StructType → SeqLike → GenSeqLike → Function1
    Since

      0.1.0

18.  def applyOrElse[A1 <: Int, B1 >: StructField](x: A1, default: (A1) ⇒ B1): B1
    Definition Classes
      PartialFunction
19.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
20.  def canEqual(that: Any): Boolean
    Definition Classes
      IterableLike → Equals
21.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native() @HotSpotIntrinsicCandidate()
22.  def collect[B, That](pf: PartialFunction[StructField, B])(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike
23.  def collectFirst[B](pf: PartialFunction[StructField, B]): Option[B]
    Definition Classes
      TraversableOnce
24.  def combinations(n: Int): Iterator[Seq[StructField]]
    Definition Classes
      SeqLike
25.  def companion: GenericCompanion[Seq]
    Definition Classes
      Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
26.  def compose[A](g: (A) ⇒ Int): (A) ⇒ StructField
    Definition Classes
      Function1
    Annotations
      @unspecialized()
27.  def contains[A1 >: StructField](elem: A1): Boolean
    Definition Classes
      SeqLike
28.  def containsSlice[B](that: GenSeq[B]): Boolean
    Definition Classes
      SeqLike
29.  def copyToArray[B >: StructField](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
      IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
30.  def copyToArray[B >: StructField](xs: Array[B]): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
31.  def copyToArray[B >: StructField](xs: Array[B], start: Int): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
32.  def copyToBuffer[B >: StructField](dest: Buffer[B]): Unit
    Definition Classes
      TraversableOnce
33.  def corresponds[B](that: GenSeq[B])(p: (StructField, B) ⇒ Boolean): Boolean
    Definition Classes
      SeqLike → GenSeqLike
34.  def count(p: (StructField) ⇒ Boolean): Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
35.  def diff[B >: StructField](that: GenSeq[B]): Seq[StructField]
    Definition Classes
      SeqLike → GenSeqLike
36.  def distinct: Seq[StructField]
    Definition Classes
      SeqLike → GenSeqLike
37.  def drop(n: Int): Seq[StructField]
    Definition Classes
      IterableLike → TraversableLike → GenTraversableLike
38.  def dropRight(n: Int): Seq[StructField]
    Definition Classes
      IterableLike
39.  def dropWhile(p: (StructField) ⇒ Boolean): Seq[StructField]
    Definition Classes
      TraversableLike → GenTraversableLike
40.  def endsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
      SeqLike → GenSeqLike
41.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
42.  def equals(that: Any): Boolean
    Definition Classes
      GenSeqLike → Equals → Any
43.  def exists(p: (StructField) ⇒ Boolean): Boolean
    Definition Classes
      IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
44.  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.

45.  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

46.  val fields: Array[StructField]
47.  def filter(p: (StructField) ⇒ Boolean): Seq[StructField]
    Definition Classes
      TraversableLike → GenTraversableLike
48.  def filterNot(p: (StructField) ⇒ Boolean): Seq[StructField]
    Definition Classes
      TraversableLike → GenTraversableLike
49.  def find(p: (StructField) ⇒ Boolean): Option[StructField]
    Definition Classes
      IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
50.  def flatMap[B, That](f: (StructField) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike → FilterMonadic
51.  def flatten[B](implicit asTraversable: (StructField) ⇒ GenTraversableOnce[B]): Seq[B]
    Definition Classes
      GenericTraversableTemplate
52.  def fold[A1 >: StructField](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
53.  def foldLeft[B](z: B)(op: (B, StructField) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
54.  def foldRight[B](z: B)(op: (StructField, B) ⇒ B): B
    Definition Classes
      IterableLike → TraversableOnce → GenTraversableOnce
55.  def forall(p: (StructField) ⇒ Boolean): Boolean
    Definition Classes
      IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
56.  def foreach[U](f: (StructField) ⇒ U): Unit
    Definition Classes
      IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
57.  def genericBuilder[B]: Builder[B, Seq[B]]
    Definition Classes
      GenericTraversableTemplate
58.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native() @HotSpotIntrinsicCandidate()
59.  def groupBy[K](f: (StructField) ⇒ K): Map[K, Seq[StructField]]
    Definition Classes
      TraversableLike → GenTraversableLike
60.  def grouped(size: Int): Iterator[Seq[StructField]]
    Definition Classes
      IterableLike
61.  def hasDefiniteSize: Boolean
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
62.  def hashCode(): Int
    Definition Classes
      GenSeqLike → Any
63.  def head: StructField
    Definition Classes
      IterableLike → TraversableLike → GenTraversableLike
64.  def headOption: Option[StructField]
    Definition Classes
      TraversableLike → GenTraversableLike
65.  def indexOf[B >: StructField](elem: B, from: Int): Int
    Definition Classes
      GenSeqLike
66.  def indexOf[B >: StructField](elem: B): Int
    Definition Classes
      GenSeqLike
67.  def indexOfSlice[B >: StructField](that: GenSeq[B], from: Int): Int
    Definition Classes
      SeqLike
68.  def indexOfSlice[B >: StructField](that: GenSeq[B]): Int
    Definition Classes
      SeqLike
69.  def indexWhere(p: (StructField) ⇒ Boolean, from: Int): Int
    Definition Classes
      SeqLike → GenSeqLike
70.  def indexWhere(p: (StructField) ⇒ Boolean): Int
    Definition Classes
      GenSeqLike
71.  def indices: Range
    Definition Classes
      SeqLike
72.  def init: Seq[StructField]
    Definition Classes
      TraversableLike → GenTraversableLike
73.  def inits: Iterator[Seq[StructField]]
    Definition Classes
      TraversableLike
74.  def intersect[B >: StructField](that: GenSeq[B]): Seq[StructField]
    Definition Classes
      SeqLike → GenSeqLike
75.  def isDefinedAt(idx: Int): Boolean
    Definition Classes
      GenSeqLike
76.  def isEmpty: Boolean
    Definition Classes
      SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
77.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
78.  final def isTraversableAgain: Boolean
    Definition Classes
      TraversableLike → GenTraversableLike → GenTraversableOnce
79.  def iterator: Iterator[StructField]

    Converts this object to Iterator.

    Converts this object to Iterator.

    Definition Classes
      StructType → IterableLike → GenIterableLike
    Since

      0.1.0

80.  def last: StructField
    Definition Classes
      TraversableLike → GenTraversableLike
81.  def lastIndexOf[B >: StructField](elem: B, end: Int): Int
    Definition Classes
      GenSeqLike
82.  def lastIndexOf[B >: StructField](elem: B): Int
    Definition Classes
      GenSeqLike
83.  def lastIndexOfSlice[B >: StructField](that: GenSeq[B], end: Int): Int
    Definition Classes
      SeqLike
84.  def lastIndexOfSlice[B >: StructField](that: GenSeq[B]): Int
    Definition Classes
      SeqLike
85.  def lastIndexWhere(p: (StructField) ⇒ Boolean, end: Int): Int
    Definition Classes
      SeqLike → GenSeqLike
86.  def lastIndexWhere(p: (StructField) ⇒ Boolean): Int
    Definition Classes
      GenSeqLike
87.  def lastOption: Option[StructField]
    Definition Classes
      TraversableLike → GenTraversableLike
88.  def length: Int

    Returns the total number of StructField

    Returns the total number of StructField

    Definition Classes
      StructType → SeqLike → GenSeqLike
    Since

      0.1.0

89.  def lengthCompare(len: Int): Int
    Definition Classes
      SeqLike
90.  def lift: (Int) ⇒ Option[StructField]
    Definition Classes
      PartialFunction
91.  def map[B, That](f: (StructField) ⇒ B)(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike → FilterMonadic
92.  def max[B >: StructField](implicit cmp: Ordering[B]): StructField
    Definition Classes
      TraversableOnce → GenTraversableOnce
93.  def maxBy[B](f: (StructField) ⇒ B)(implicit cmp: Ordering[B]): StructField
    Definition Classes
      TraversableOnce → GenTraversableOnce
94.  def min[B >: StructField](implicit cmp: Ordering[B]): StructField
    Definition Classes
      TraversableOnce → GenTraversableOnce
95.  def minBy[B](f: (StructField) ⇒ B)(implicit cmp: Ordering[B]): StructField
    Definition Classes
      TraversableOnce → GenTraversableOnce
96.  def mkString: String
    Definition Classes
      TraversableOnce → GenTraversableOnce
97.  def mkString(sep: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
98.  def mkString(start: String, sep: String, end: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
99.  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

100.  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

101.  final def ne(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
102.  def newBuilder: Builder[StructField, Seq[StructField]]
     Attributes
       protected[this]
     Definition Classes
       GenericTraversableTemplate → HasNewBuilder
103.  def nonEmpty: Boolean
     Definition Classes
       TraversableOnce → GenTraversableOnce
104.  final def notify(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native() @HotSpotIntrinsicCandidate()
105.  final def notifyAll(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native() @HotSpotIntrinsicCandidate()
106.  def orElse[A1 <: Int, B1 >: StructField](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
     Definition Classes
       PartialFunction
107.  def padTo[B >: StructField, That](len: Int, elem: B)(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
     Definition Classes
       SeqLike → GenSeqLike
108.  def par: ParSeq[StructField]
     Definition Classes
       Parallelizable
109.  def parCombiner: Combiner[StructField, ParSeq[StructField]]
     Attributes
       protected[this]
     Definition Classes
       SeqLike → TraversableLike → Parallelizable
110.  def partition(p: (StructField) ⇒ Boolean): (Seq[StructField], Seq[StructField])
     Definition Classes
       TraversableLike → GenTraversableLike
111.  def patch[B >: StructField, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
     Definition Classes
       SeqLike → GenSeqLike
112.  def permutations: Iterator[Seq[StructField]]
     Definition Classes
       SeqLike
113.  def prefixLength(p: (StructField) ⇒ Boolean): Int
     Definition Classes
       GenSeqLike
114.  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

115.  def product[B >: StructField](implicit num: Numeric[B]): B
     Definition Classes
       TraversableOnce → GenTraversableOnce
116.  def reduce[A1 >: StructField](op: (A1, A1) ⇒ A1): A1
     Definition Classes
       TraversableOnce → GenTraversableOnce
117.  def reduceLeft[B >: StructField](op: (B, StructField) ⇒ B): B
     Definition Classes
       TraversableOnce
118.  def reduceLeftOption[B >: StructField](op: (B, StructField) ⇒ B): Option[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
119.  def reduceOption[A1 >: StructField](op: (A1, A1) ⇒ A1): Option[A1]
     Definition Classes
       TraversableOnce → GenTraversableOnce
120.  def reduceRight[B >: StructField](op: (StructField, B) ⇒ B): B
     Definition Classes
       IterableLike → TraversableOnce → GenTraversableOnce
121.  def reduceRightOption[B >: StructField](op: (StructField, B) ⇒ B): Option[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
122.  def repr: Seq[StructField]
     Definition Classes
       TraversableLike → GenTraversableLike
123.  def reverse: Seq[StructField]
     Definition Classes
       SeqLike → GenSeqLike
124.  def reverseIterator: Iterator[StructField]
     Definition Classes
       SeqLike
125.  def reverseMap[B, That](f: (StructField) ⇒ B)(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
     Definition Classes
       SeqLike → GenSeqLike
126.  def reversed: List[StructField]
     Attributes
       protected[this]
     Definition Classes
       TraversableOnce
127.  def runWith[U](action: (StructField) ⇒ U): (Int) ⇒ Boolean
     Definition Classes
       PartialFunction
128.  def sameElements[B >: StructField](that: GenIterable[B]): Boolean
     Definition Classes
       IterableLike → GenIterableLike
129.  def scan[B >: StructField, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Seq[StructField], B, That]): That
     Definition Classes
       TraversableLike → GenTraversableLike
130.  def scanLeft[B, That](z: B)(op: (B, StructField) ⇒ B)(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
     Definition Classes
       TraversableLike → GenTraversableLike
131.  def scanRight[B, That](z: B)(op: (StructField, B) ⇒ B)(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
     Definition Classes
       TraversableLike → GenTraversableLike
     Annotations
       @migration
     Migration

       (Changed in version 2.9.0) The behavior of `scanRight` has changed. The previous behavior can be reproduced with scanRight.reverse.

132.  def segmentLength(p: (StructField) ⇒ Boolean, from: Int): Int
     Definition Classes
       SeqLike → GenSeqLike
133.  def seq: Seq[StructField]
     Definition Classes
       Seq → GenSeq → GenSeqLike → Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
134.  def size: Int
     Definition Classes
       SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
135.  def sizeHintIfCheap: Int
     Attributes
       protected[collection]
     Definition Classes
       GenTraversableOnce
136.  def slice(from: Int, until: Int): Seq[StructField]
     Definition Classes
       IterableLike → TraversableLike → GenTraversableLike
137.  def sliding(size: Int, step: Int): Iterator[Seq[StructField]]
     Definition Classes
       IterableLike
138.  def sliding(size: Int): Iterator[Seq[StructField]]
     Definition Classes
       IterableLike
139.  def sortBy[B](f: (StructField) ⇒ B)(implicit ord: Ordering[B]): Seq[StructField]
     Definition Classes
       SeqLike
140.  def sortWith(lt: (StructField, StructField) ⇒ Boolean): Seq[StructField]
     Definition Classes
       SeqLike
141.  def sorted[B >: StructField](implicit ord: Ordering[B]): Seq[StructField]
     Definition Classes
       SeqLike
142.  def span(p: (StructField) ⇒ Boolean): (Seq[StructField], Seq[StructField])
     Definition Classes
       TraversableLike → GenTraversableLike
143.  def splitAt(n: Int): (Seq[StructField], Seq[StructField])
     Definition Classes
       TraversableLike → GenTraversableLike
144.  def startsWith[B](that: GenSeq[B], offset: Int): Boolean
     Definition Classes
       SeqLike → GenSeqLike
145.  def startsWith[B](that: GenSeq[B]): Boolean
     Definition Classes
       GenSeqLike
146.  def stringPrefix: String
     Definition Classes
       TraversableLike → GenTraversableLike
147.  def sum[B >: StructField](implicit num: Numeric[B]): B
     Definition Classes
       TraversableOnce → GenTraversableOnce
148.  final def synchronized[T0](arg0: ⇒ T0): T0
     Definition Classes
       AnyRef
149.  def tail: Seq[StructField]
     Definition Classes
       TraversableLike → GenTraversableLike
150.  def tails: Iterator[Seq[StructField]]
     Definition Classes
       TraversableLike
151.  def take(n: Int): Seq[StructField]
     Definition Classes
       IterableLike → TraversableLike → GenTraversableLike
152.  def takeRight(n: Int): Seq[StructField]
     Definition Classes
       IterableLike
153.  def takeWhile(p: (StructField) ⇒ Boolean): Seq[StructField]
     Definition Classes
       IterableLike → TraversableLike → GenTraversableLike
154.  def thisCollection: Seq[StructField]
     Attributes
       protected[this]
     Definition Classes
       SeqLike → IterableLike → TraversableLike
155.  def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, StructField, Col[StructField]]): Col[StructField]
     Definition Classes
       TraversableLike → TraversableOnce → GenTraversableOnce
156.  def toArray[B >: StructField](implicit arg0: ClassTag[B]): Array[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
157.  def toAttributes: Seq[Attribute]
     Attributes
       protected[snowpark]
158.  def toBuffer[B >: StructField]: Buffer[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
159.  def toCollection(repr: Seq[StructField]): Seq[StructField]
     Attributes
       protected[this]
     Definition Classes
       SeqLike → IterableLike → TraversableLike
160.  def toIndexedSeq: IndexedSeq[StructField]
     Definition Classes
       TraversableOnce → GenTraversableOnce
161.  def toIterable: Iterable[StructField]
     Definition Classes
       IterableLike → TraversableOnce → GenTraversableOnce
162.  def toIterator: Iterator[StructField]
     Definition Classes
       IterableLike → TraversableLike → GenTraversableOnce
     Annotations
       @deprecatedOverriding( ... , "2.11.0" )
163.  def toList: List[StructField]
     Definition Classes
       TraversableOnce → GenTraversableOnce
164.  def toMap[T, U](implicit ev: <:<[StructField, (T, U)]): Map[T, U]
     Definition Classes
       TraversableOnce → GenTraversableOnce
165.  def toSeq: Seq[StructField]
     Definition Classes
       SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
166.  def toSet[B >: StructField]: Set[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
167.  def toStream: Stream[StructField]
     Definition Classes
       IterableLike → TraversableLike → GenTraversableOnce
168.  def toString(): String

     Returns a String values to represent this object info.

     Returns a String values to represent this object info.

     Definition Classes
       StructType → SeqLike → TraversableLike → Function1 → DataType → AnyRef → Any
     Since

       0.1.0

169.  def toTraversable: Traversable[StructField]
     Definition Classes
       TraversableLike → TraversableOnce → GenTraversableOnce
     Annotations
       @deprecatedOverriding( ... , "2.11.0" )
170.  def toVector: Vector[StructField]
     Definition Classes
       TraversableOnce → GenTraversableOnce
171.  def transpose[B](implicit asTraversable: (StructField) ⇒ GenTraversableOnce[B]): Seq[Seq[B]]
     Definition Classes
       GenericTraversableTemplate
     Annotations
       @migration
     Migration

       (Changed in version 2.9.0) `transpose` throws an `IllegalArgumentException` if collections are not uniformly sized.

172.  def typeName: String

     Returns a data type name.

     Returns a data type name.

     Definition Classes
       DataType
     Since

       0.1.0

173.  def union[B >: StructField, That](that: GenSeq[B])(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
     Definition Classes
       SeqLike → GenSeqLike
174.  def unzip[A1, A2](implicit asPair: (StructField) ⇒ (A1, A2)): (Seq[A1], Seq[A2])
     Definition Classes
       GenericTraversableTemplate
175.  def unzip3[A1, A2, A3](implicit asTriple: (StructField) ⇒ (A1, A2, A3)): (Seq[A1], Seq[A2], Seq[A3])
     Definition Classes
       GenericTraversableTemplate
176.  def updated[B >: StructField, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Seq[StructField], B, That]): That
     Definition Classes
       SeqLike → GenSeqLike
177.  def view(from: Int, until: Int): SeqView[StructField, Seq[StructField]]
     Definition Classes
       SeqLike → IterableLike → TraversableLike
178.  def view: SeqView[StructField, Seq[StructField]]
     Definition Classes
       SeqLike → IterableLike → TraversableLike
179.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
180.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
181.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
182.  def withFilter(p: (StructField) ⇒ Boolean): FilterMonadic[StructField, Seq[StructField]]
     Definition Classes
       TraversableLike → FilterMonadic
183.  def zip[A1 >: StructField, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Seq[StructField], (A1, B), That]): That
     Definition Classes
       IterableLike → GenIterableLike
184.  def zipAll[B, A1 >: StructField, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Seq[StructField], (A1, B), That]): That
     Definition Classes
       IterableLike → GenIterableLike
185.  def zipWithIndex[A1 >: StructField, That](implicit bf: CanBuildFrom[Seq[StructField], (A1, Int), That]): That
     Definition Classes
       IterableLike → GenIterableLike

### Deprecated Value Members

1.  def /:[B](z: B)(op: (B, StructField) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
   Annotations
     @deprecated
   Deprecated

     (Since version 2.12.10) Use foldLeft instead of /:

2.  def :\[B](z: B)(op: (StructField, B) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
   Annotations
     @deprecated
   Deprecated

     (Since version 2.12.10) Use foldRight instead of :\

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

### Inherited from Serializable

### Inherited from Product

### Inherited from Seq[StructField]

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

### Inherited from GenSeq[StructField]

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

### Inherited from Iterable[StructField]

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

### Inherited from Equals

### Inherited from GenIterable[StructField]

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

### Inherited from Traversable[StructField]

### Inherited from GenTraversable[StructField]

### Inherited from GenericTraversableTemplate[StructField, Seq]

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

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

### Inherited from Parallelizable[StructField, ParSeq[StructField]]

### Inherited from TraversableOnce[StructField]

### Inherited from GenTraversableOnce[StructField]

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

### Inherited from HasNewBuilder[StructField, Seq[com.snowflake.snowpark.types.StructField] @scala.annotation.unchecked.uncheckedVariance]

### Inherited from PartialFunction[Int, StructField]

### Inherited from (Int) ⇒ StructField

### Inherited from DataType

### Inherited from AnyRef

### Inherited from Any

### Ungrouped