Share via


StructType 类

定义

结构类型表示具有多个字段的结构。 此类型还用于表示 Spark 中的 Row 对象。

public sealed class StructType : Microsoft.Spark.Sql.Types.DataType
type StructType = class
    inherit DataType
Public NotInheritable Class StructType
Inherits DataType
继承
StructType

构造函数

StructType(IEnumerable<StructField>)

StructType 类的构造函数。

属性

Fields

返回 StructFieldType 对象的列表。

Json

此数据类型的压缩 JSON 表示形式。

(继承自 DataType)
SimpleString

返回表示此类型的可读字符串。

TypeName

规范化类型名称。

(继承自 DataType)

方法

Equals(Object)

通过检查此类型的字符串版本,检查给定对象是否与当前对象相同。

(继承自 DataType)
GetHashCode()

返回当前 对象的哈希代码。

(继承自 DataType)

适用于