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
- Alphabetic
- By Inheritance
- StructType
- Serializable
- Serializable
- Product
- Seq
- SeqLike
- GenSeq
- GenSeqLike
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- PartialFunction
- Function1
- DataType
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
StructType
(
fields:
Array
[
StructField
] =
Array()
)
Creates a new StructType object based on the given array of StructField .
Type Members
-
type
Self
=
Seq
[
StructField
]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
class
WithFilter
extends
FilterMonadic
[
A
,
Repr
]
- Definition Classes
- TraversableLike
Value Members
-
final
def
!=
(
arg0:
Any
)
:
Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##
()
:
Int
- Definition Classes
- AnyRef → Any
-
def
++
[
B >:
StructField
,
That
]
(
that:
GenTraversableOnce
[
B
]
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:
[
B >:
StructField
,
That
]
(
that:
Traversable
[
B
]
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- TraversableLike
-
def
++:
[
B >:
StructField
,
That
]
(
that:
TraversableOnce
[
B
]
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- TraversableLike
-
def
+:
[
B >:
StructField
,
That
]
(
elem:
B
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- SeqLike → GenSeqLike
-
def
:+
[
B >:
StructField
,
That
]
(
elem:
B
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- SeqLike → GenSeqLike
-
final
def
==
(
arg0:
Any
)
:
Boolean
- Definition Classes
- AnyRef → Any
-
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
-
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
-
def
addString
(
b:
StringBuilder
)
:
StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString
(
b:
StringBuilder
,
sep:
String
)
:
StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString
(
b:
StringBuilder
,
start:
String
,
sep:
String
,
end:
String
)
:
StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate
[
B
]
(
z: ⇒
B
)
(
seqop: (
B
,
StructField
) ⇒
B
,
combop: (
B
,
B
) ⇒
B
)
:
B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen
[
C
]
(
k: (
StructField
) ⇒
C
)
:
PartialFunction
[
Int
,
C
]
- Definition Classes
- PartialFunction → Function1
-
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
-
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
-
def
applyOrElse
[
A1 <:
Int
,
B1 >:
StructField
]
(
x:
A1
,
default: (
A1
) ⇒
B1
)
:
B1
- Definition Classes
- PartialFunction
-
final
def
asInstanceOf
[
T0
]
:
T0
- Definition Classes
- Any
-
def
canEqual
(
that:
Any
)
:
Boolean
- Definition Classes
- IterableLike → Equals
-
def
clone
()
:
AnyRef
- Attributes
- protected[ lang ]
- Definition Classes
- AnyRef
- Annotations
- @throws ( ... ) @native () @HotSpotIntrinsicCandidate ()
-
def
collect
[
B
,
That
]
(
pf:
PartialFunction
[
StructField
,
B
]
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst
[
B
]
(
pf:
PartialFunction
[
StructField
,
B
]
)
:
Option
[
B
]
- Definition Classes
- TraversableOnce
-
def
combinations
(
n:
Int
)
:
Iterator
[
Seq
[
StructField
]]
- Definition Classes
- SeqLike
-
def
companion
:
GenericCompanion
[
Seq
]
- Definition Classes
- Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose
[
A
]
(
g: (
A
) ⇒
Int
)
: (
A
) ⇒
StructField
- Definition Classes
- Function1
- Annotations
- @unspecialized ()
-
def
contains
[
A1 >:
StructField
]
(
elem:
A1
)
:
Boolean
- Definition Classes
- SeqLike
-
def
containsSlice
[
B
]
(
that:
GenSeq
[
B
]
)
:
Boolean
- Definition Classes
- SeqLike
-
def
copyToArray
[
B >:
StructField
]
(
xs:
Array
[
B
]
,
start:
Int
,
len:
Int
)
:
Unit
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray
[
B >:
StructField
]
(
xs:
Array
[
B
]
)
:
Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray
[
B >:
StructField
]
(
xs:
Array
[
B
]
,
start:
Int
)
:
Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer
[
B >:
StructField
]
(
dest:
Buffer
[
B
]
)
:
Unit
- Definition Classes
- TraversableOnce
-
def
corresponds
[
B
]
(
that:
GenSeq
[
B
]
)
(
p: (
StructField
,
B
) ⇒
Boolean
)
:
Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
count
(
p: (
StructField
) ⇒
Boolean
)
:
Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
diff
[
B >:
StructField
]
(
that:
GenSeq
[
B
]
)
:
Seq
[
StructField
]
- Definition Classes
- SeqLike → GenSeqLike
-
def
distinct
:
Seq
[
StructField
]
- Definition Classes
- SeqLike → GenSeqLike
-
def
drop
(
n:
Int
)
:
Seq
[
StructField
]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight
(
n:
Int
)
:
Seq
[
StructField
]
- Definition Classes
- IterableLike
-
def
dropWhile
(
p: (
StructField
) ⇒
Boolean
)
:
Seq
[
StructField
]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
endsWith
[
B
]
(
that:
GenSeq
[
B
]
)
:
Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
- Definition Classes
- AnyRef
-
def
equals
(
that:
Any
)
:
Boolean
- Definition Classes
- GenSeqLike → Equals → Any
-
def
exists
(
p: (
StructField
) ⇒
Boolean
)
:
Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
- val fields : Array [ StructField ]
-
def
filter
(
p: (
StructField
) ⇒
Boolean
)
:
Seq
[
StructField
]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterNot
(
p: (
StructField
) ⇒
Boolean
)
:
Seq
[
StructField
]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
find
(
p: (
StructField
) ⇒
Boolean
)
:
Option
[
StructField
]
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
flatMap
[
B
,
That
]
(
f: (
StructField
) ⇒
GenTraversableOnce
[
B
]
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten
[
B
]
(
implicit
asTraversable: (
StructField
) ⇒
GenTraversableOnce
[
B
]
)
:
Seq
[
B
]
- Definition Classes
- GenericTraversableTemplate
-
def
fold
[
A1 >:
StructField
]
(
z:
A1
)
(
op: (
A1
,
A1
) ⇒
A1
)
:
A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft
[
B
]
(
z:
B
)
(
op: (
B
,
StructField
) ⇒
B
)
:
B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldRight
[
B
]
(
z:
B
)
(
op: (
StructField
,
B
) ⇒
B
)
:
B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall
(
p: (
StructField
) ⇒
Boolean
)
:
Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach
[
U
]
(
f: (
StructField
) ⇒
U
)
:
Unit
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder
[
B
]
:
Builder
[
B
,
Seq
[
B
]]
- Definition Classes
- GenericTraversableTemplate
-
final
def
getClass
()
:
Class
[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native () @HotSpotIntrinsicCandidate ()
-
def
groupBy
[
K
]
(
f: (
StructField
) ⇒
K
)
:
Map
[
K
,
Seq
[
StructField
]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped
(
size:
Int
)
:
Iterator
[
Seq
[
StructField
]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize
:
Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode
()
:
Int
- Definition Classes
- GenSeqLike → Any
-
def
head
:
StructField
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
headOption
:
Option
[
StructField
]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
indexOf
[
B >:
StructField
]
(
elem:
B
,
from:
Int
)
:
Int
- Definition Classes
- GenSeqLike
-
def
indexOf
[
B >:
StructField
]
(
elem:
B
)
:
Int
- Definition Classes
- GenSeqLike
-
def
indexOfSlice
[
B >:
StructField
]
(
that:
GenSeq
[
B
]
,
from:
Int
)
:
Int
- Definition Classes
- SeqLike
-
def
indexOfSlice
[
B >:
StructField
]
(
that:
GenSeq
[
B
]
)
:
Int
- Definition Classes
- SeqLike
-
def
indexWhere
(
p: (
StructField
) ⇒
Boolean
,
from:
Int
)
:
Int
- Definition Classes
- SeqLike → GenSeqLike
-
def
indexWhere
(
p: (
StructField
) ⇒
Boolean
)
:
Int
- Definition Classes
- GenSeqLike
-
def
indices
:
Range
- Definition Classes
- SeqLike
-
def
init
:
Seq
[
StructField
]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
inits
:
Iterator
[
Seq
[
StructField
]]
- Definition Classes
- TraversableLike
-
def
intersect
[
B >:
StructField
]
(
that:
GenSeq
[
B
]
)
:
Seq
[
StructField
]
- Definition Classes
- SeqLike → GenSeqLike
-
def
isDefinedAt
(
idx:
Int
)
:
Boolean
- Definition Classes
- GenSeqLike
-
def
isEmpty
:
Boolean
- Definition Classes
- SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf
[
T0
]
:
Boolean
- Definition Classes
- Any
-
final
def
isTraversableAgain
:
Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
iterator
:
Iterator
[
StructField
]
Converts this object to Iterator.
Converts this object to Iterator.
- Definition Classes
- StructType → IterableLike → GenIterableLike
- Since
-
0.1.0
-
def
last
:
StructField
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lastIndexOf
[
B >:
StructField
]
(
elem:
B
,
end:
Int
)
:
Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOf
[
B >:
StructField
]
(
elem:
B
)
:
Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOfSlice
[
B >:
StructField
]
(
that:
GenSeq
[
B
]
,
end:
Int
)
:
Int
- Definition Classes
- SeqLike
-
def
lastIndexOfSlice
[
B >:
StructField
]
(
that:
GenSeq
[
B
]
)
:
Int
- Definition Classes
- SeqLike
-
def
lastIndexWhere
(
p: (
StructField
) ⇒
Boolean
,
end:
Int
)
:
Int
- Definition Classes
- SeqLike → GenSeqLike
-
def
lastIndexWhere
(
p: (
StructField
) ⇒
Boolean
)
:
Int
- Definition Classes
- GenSeqLike
-
def
lastOption
:
Option
[
StructField
]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
length
:
Int
Returns the total number of StructField
Returns the total number of StructField
- Definition Classes
- StructType → SeqLike → GenSeqLike
- Since
-
0.1.0
-
def
lengthCompare
(
len:
Int
)
:
Int
- Definition Classes
- SeqLike
-
def
lift
: (
Int
) ⇒
Option
[
StructField
]
- Definition Classes
- PartialFunction
-
def
map
[
B
,
That
]
(
f: (
StructField
) ⇒
B
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
max
[
B >:
StructField
]
(
implicit
cmp:
Ordering
[
B
]
)
:
StructField
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy
[
B
]
(
f: (
StructField
) ⇒
B
)
(
implicit
cmp:
Ordering
[
B
]
)
:
StructField
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min
[
B >:
StructField
]
(
implicit
cmp:
Ordering
[
B
]
)
:
StructField
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy
[
B
]
(
f: (
StructField
) ⇒
B
)
(
implicit
cmp:
Ordering
[
B
]
)
:
StructField
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString
:
String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString
(
sep:
String
)
:
String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString
(
start:
String
,
sep:
String
,
end:
String
)
:
String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
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
-
def
names
:
Seq
[
String
]
(Scala API Only) Returns a Seq of the name of StructField .
(Scala API Only) Returns a Seq of the name of StructField .
- Since
-
0.1.0
-
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
- Definition Classes
- AnyRef
-
def
newBuilder
:
Builder
[
StructField
,
Seq
[
StructField
]]
- Attributes
- protected[this]
- Definition Classes
- GenericTraversableTemplate → HasNewBuilder
-
def
nonEmpty
:
Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify
()
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @native () @HotSpotIntrinsicCandidate ()
-
final
def
notifyAll
()
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @native () @HotSpotIntrinsicCandidate ()
-
def
orElse
[
A1 <:
Int
,
B1 >:
StructField
]
(
that:
PartialFunction
[
A1
,
B1
]
)
:
PartialFunction
[
A1
,
B1
]
- Definition Classes
- PartialFunction
-
def
padTo
[
B >:
StructField
,
That
]
(
len:
Int
,
elem:
B
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- SeqLike → GenSeqLike
-
def
par
:
ParSeq
[
StructField
]
- Definition Classes
- Parallelizable
-
def
parCombiner
:
Combiner
[
StructField
,
ParSeq
[
StructField
]]
- Attributes
- protected[this]
- Definition Classes
- SeqLike → TraversableLike → Parallelizable
-
def
partition
(
p: (
StructField
) ⇒
Boolean
)
: (
Seq
[
StructField
],
Seq
[
StructField
])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
patch
[
B >:
StructField
,
That
]
(
from:
Int
,
patch:
GenSeq
[
B
]
,
replaced:
Int
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- SeqLike → GenSeqLike
-
def
permutations
:
Iterator
[
Seq
[
StructField
]]
- Definition Classes
- SeqLike
-
def
prefixLength
(
p: (
StructField
) ⇒
Boolean
)
:
Int
- Definition Classes
- GenSeqLike
-
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
-
def
product
[
B >:
StructField
]
(
implicit
num:
Numeric
[
B
]
)
:
B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduce
[
A1 >:
StructField
]
(
op: (
A1
,
A1
) ⇒
A1
)
:
A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft
[
B >:
StructField
]
(
op: (
B
,
StructField
) ⇒
B
)
:
B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption
[
B >:
StructField
]
(
op: (
B
,
StructField
) ⇒
B
)
:
Option
[
B
]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption
[
A1 >:
StructField
]
(
op: (
A1
,
A1
) ⇒
A1
)
:
Option
[
A1
]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight
[
B >:
StructField
]
(
op: (
StructField
,
B
) ⇒
B
)
:
B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption
[
B >:
StructField
]
(
op: (
StructField
,
B
) ⇒
B
)
:
Option
[
B
]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
repr
:
Seq
[
StructField
]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
reverse
:
Seq
[
StructField
]
- Definition Classes
- SeqLike → GenSeqLike
-
def
reverseIterator
:
Iterator
[
StructField
]
- Definition Classes
- SeqLike
-
def
reverseMap
[
B
,
That
]
(
f: (
StructField
) ⇒
B
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- SeqLike → GenSeqLike
-
def
reversed
:
List
[
StructField
]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
runWith
[
U
]
(
action: (
StructField
) ⇒
U
)
: (
Int
) ⇒
Boolean
- Definition Classes
- PartialFunction
-
def
sameElements
[
B >:
StructField
]
(
that:
GenIterable
[
B
]
)
:
Boolean
- Definition Classes
- IterableLike → GenIterableLike
-
def
scan
[
B >:
StructField
,
That
]
(
z:
B
)
(
op: (
B
,
B
) ⇒
B
)
(
implicit
cbf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft
[
B
,
That
]
(
z:
B
)
(
op: (
B
,
StructField
) ⇒
B
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- TraversableLike → GenTraversableLike
-
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.
-
def
segmentLength
(
p: (
StructField
) ⇒
Boolean
,
from:
Int
)
:
Int
- Definition Classes
- SeqLike → GenSeqLike
-
def
seq
:
Seq
[
StructField
]
- Definition Classes
- Seq → GenSeq → GenSeqLike → Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
size
:
Int
- Definition Classes
- SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
def
sizeHintIfCheap
:
Int
- Attributes
- protected[ collection ]
- Definition Classes
- GenTraversableOnce
-
def
slice
(
from:
Int
,
until:
Int
)
:
Seq
[
StructField
]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
sliding
(
size:
Int
,
step:
Int
)
:
Iterator
[
Seq
[
StructField
]]
- Definition Classes
- IterableLike
-
def
sliding
(
size:
Int
)
:
Iterator
[
Seq
[
StructField
]]
- Definition Classes
- IterableLike
-
def
sortBy
[
B
]
(
f: (
StructField
) ⇒
B
)
(
implicit
ord:
Ordering
[
B
]
)
:
Seq
[
StructField
]
- Definition Classes
- SeqLike
-
def
sortWith
(
lt: (
StructField
,
StructField
) ⇒
Boolean
)
:
Seq
[
StructField
]
- Definition Classes
- SeqLike
-
def
sorted
[
B >:
StructField
]
(
implicit
ord:
Ordering
[
B
]
)
:
Seq
[
StructField
]
- Definition Classes
- SeqLike
-
def
span
(
p: (
StructField
) ⇒
Boolean
)
: (
Seq
[
StructField
],
Seq
[
StructField
])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
splitAt
(
n:
Int
)
: (
Seq
[
StructField
],
Seq
[
StructField
])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
startsWith
[
B
]
(
that:
GenSeq
[
B
]
,
offset:
Int
)
:
Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
startsWith
[
B
]
(
that:
GenSeq
[
B
]
)
:
Boolean
- Definition Classes
- GenSeqLike
-
def
stringPrefix
:
String
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
sum
[
B >:
StructField
]
(
implicit
num:
Numeric
[
B
]
)
:
B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
- Definition Classes
- AnyRef
-
def
tail
:
Seq
[
StructField
]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
tails
:
Iterator
[
Seq
[
StructField
]]
- Definition Classes
- TraversableLike
-
def
take
(
n:
Int
)
:
Seq
[
StructField
]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight
(
n:
Int
)
:
Seq
[
StructField
]
- Definition Classes
- IterableLike
-
def
takeWhile
(
p: (
StructField
) ⇒
Boolean
)
:
Seq
[
StructField
]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection
:
Seq
[
StructField
]
- Attributes
- protected[this]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
def
to
[
Col
[
_
]
]
(
implicit
cbf:
CanBuildFrom
[
Nothing
,
StructField
,
Col
[
StructField
]]
)
:
Col
[
StructField
]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray
[
B >:
StructField
]
(
implicit
arg0:
ClassTag
[
B
]
)
:
Array
[
B
]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toAttributes
:
Seq
[
Attribute
]
- Attributes
- protected[ snowpark ]
-
def
toBuffer
[
B >:
StructField
]
:
Buffer
[
B
]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toCollection
(
repr:
Seq
[
StructField
]
)
:
Seq
[
StructField
]
- Attributes
- protected[this]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
def
toIndexedSeq
:
IndexedSeq
[
StructField
]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable
:
Iterable
[
StructField
]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator
:
Iterator
[
StructField
]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding ( ... , "2.11.0" )
-
def
toList
:
List
[
StructField
]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toMap
[
T
,
U
]
(
implicit
ev:
<:<
[
StructField
, (
T
,
U
)]
)
:
Map
[
T
,
U
]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSeq
:
Seq
[
StructField
]
- Definition Classes
- SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
-
def
toSet
[
B >:
StructField
]
:
Set
[
B
]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream
:
Stream
[
StructField
]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
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
-
def
toTraversable
:
Traversable
[
StructField
]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding ( ... , "2.11.0" )
-
def
toVector
:
Vector
[
StructField
]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
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 anIllegalArgumentException
if collections are not uniformly sized.
-
def
typeName
:
String
Returns a data type name.
Returns a data type name.
- Definition Classes
- DataType
- Since
-
0.1.0
-
def
union
[
B >:
StructField
,
That
]
(
that:
GenSeq
[
B
]
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- SeqLike → GenSeqLike
-
def
unzip
[
A1
,
A2
]
(
implicit
asPair: (
StructField
) ⇒ (
A1
,
A2
)
)
: (
Seq
[
A1
],
Seq
[
A2
])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3
[
A1
,
A2
,
A3
]
(
implicit
asTriple: (
StructField
) ⇒ (
A1
,
A2
,
A3
)
)
: (
Seq
[
A1
],
Seq
[
A2
],
Seq
[
A3
])
- Definition Classes
- GenericTraversableTemplate
-
def
updated
[
B >:
StructField
,
That
]
(
index:
Int
,
elem:
B
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
],
B
,
That
]
)
:
That
- Definition Classes
- SeqLike → GenSeqLike
-
def
view
(
from:
Int
,
until:
Int
)
:
SeqView
[
StructField
,
Seq
[
StructField
]]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
def
view
:
SeqView
[
StructField
,
Seq
[
StructField
]]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @throws ( ... )
-
final
def
wait
(
arg0:
Long
)
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @throws ( ... ) @native ()
-
final
def
wait
()
:
Unit
- Definition Classes
- AnyRef
- Annotations
- @throws ( ... )
-
def
withFilter
(
p: (
StructField
) ⇒
Boolean
)
:
FilterMonadic
[
StructField
,
Seq
[
StructField
]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip
[
A1 >:
StructField
,
B
,
That
]
(
that:
GenIterable
[
B
]
)
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
], (
A1
,
B
),
That
]
)
:
That
- Definition Classes
- IterableLike → GenIterableLike
-
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
-
def
zipWithIndex
[
A1 >:
StructField
,
That
]
(
implicit
bf:
CanBuildFrom
[
Seq
[
StructField
], (
A1
,
Int
),
That
]
)
:
That
- Definition Classes
- IterableLike → GenIterableLike
Deprecated Value Members
-
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 /:
-
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 :\
-
def
finalize
()
:
Unit
- Attributes
- protected[ lang ]
- Definition Classes
- AnyRef
- Annotations
- @throws ( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated