StructType defines a type for a [Series]
- Companion:
- object
trait Product
trait Seq[StructField]
trait Seq[StructField]
trait Equals
trait Iterable[StructField]
trait Iterable[StructField]
trait IterableOnce[StructField]
class DataType
trait DataTypeLike
trait Serializable
class Object
trait Matchable
class Any
Value members
Constructors
Concrete methods
Extracts the StructField with the given name.
Extracts the StructField with the given name.
- Throws:
- IllegalArgumentException
if a field with the given name does not exist
Returns the index of a given field.
Returns the index of a given field.
- Throws:
- IllegalArgumentException
if a field with the given name does not exist
Inherited methods
Returns true if other
is an acceptable input type for a function that expects this.
Returns true if other
is an acceptable input type for a function that expects this.
- Inherited from:
- DataTypeLike
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
- Inherited from:
- IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
- Inherited from:
- IterableOnceOps
def groupMapReduce[K, B](key: StructField => K)(f: StructField => B)(reduce: (B, B) => B): Map[K, B]
- Inherited from:
- IterableOps
@deprecatedOverriding(message = "Override indexOf(elem, from) instead - indexOf(elem) calls indexOf(elem, 0)", since = "2.13.0")
- Inherited from:
- SeqOps
@deprecatedOverriding(message = "Override indexOfSlice(that, from) instead - indexOfSlice(that) calls indexOfSlice(that, 0)", since = "2.13.0")
- Inherited from:
- SeqOps
@deprecatedOverriding(message = "Override indexWhere(p, from) instead - indexWhere(p) calls indexWhere(p, 0)", since = "2.13.0")
- Inherited from:
- SeqOps
@deprecatedOverriding(message = "Override lastIndexOfSlice(that, end) instead - lastIndexOfSlice(that) calls lastIndexOfSlice(that, Int.MaxValue)", since = "2.13.0")
- Inherited from:
- SeqOps
@deprecatedOverriding(message = "Override lastIndexWhere(p, end) instead - lastIndexWhere(p) calls lastIndexWhere(p, Int.MaxValue)", since = "2.13.0")
- Inherited from:
- SeqOps
@deprecatedOverriding(message = "nonEmpty is defined as !isEmpty; override isEmpty instead", since = "2.13.0")
- Inherited from:
- IterableOnceOps
Deprecated and Inherited methods
@inline @deprecated(message = "Use foldLeft instead of /:", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Use foldLeft instead of /:- Inherited from:
- IterableOnceOps
@inline @deprecated(message = "Use foldRight instead of :\\", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Use foldRight instead of :\\- Inherited from:
- IterableOnceOps
@deprecated(message = "`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.- Inherited from:
- IterableOnceOps
@inline @deprecatedOverriding(message = "Use iterableFactory instead", since = "2.13.0") @deprecated(message = "Use iterableFactory instead", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Use iterableFactory instead- Inherited from:
- IterableOps
@inline @deprecated(message = "Use `dest ++= coll` instead", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Use `dest ++= coll` instead- Inherited from:
- IterableOnceOps
@deprecated(message = "Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)- Inherited from:
- IterableOnceOps
@inline @deprecated(message = "Use segmentLength instead of prefixLength", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Use segmentLength instead of prefixLength- Inherited from:
- SeqOps
@deprecated(message = "Use coll instead of repr in a collection implementation, use the collection value itself from the outside", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Use coll instead of repr in a collection implementation, use the collection value itself from the outside- Inherited from:
- IterableOps
@deprecated(message = "Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)- Inherited from:
- SeqOps
@deprecated(message = "Iterable.seq always returns the iterable itself", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Iterable.seq always returns the iterable itself- Inherited from:
- Iterable
@deprecated(message = "toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.7")
- 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- Inherited from:
- Iterable
@inline @deprecated(message = "Use .iterator instead of .toIterator", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Use .iterator instead of .toIterator- Inherited from:
- IterableOnceOps
@inline @deprecated(message = "Use .to(LazyList) instead of .toStream", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Use .to(LazyList) instead of .toStream- Inherited from:
- IterableOnceOps
@deprecated(message = "toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.0")
- 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- Inherited from:
- IterableOps
@inline @deprecated(message = "Use `concat` instead", since = "2.13.0")
- Deprecated
[Since version 2.13.0]
Use `concat` instead- Inherited from:
- SeqOps