@InterfaceAudience.Public @InterfaceStability.Evolving public class StructBuilder extends Object
Struct instances.| 构造器和说明 |
|---|
StructBuilder()
Create an empty
StructBuilder. |
| 限定符和类型 | 方法和说明 |
|---|---|
StructBuilder |
add(DataType<?> field)
Append
field to the sequence of accumulated fields. |
StructBuilder |
reset()
Reset the sequence of accumulated fields.
|
Struct |
toStruct()
Retrieve the
Struct represented by this. |
public StructBuilder add(DataType<?> field)
field to the sequence of accumulated fields.public StructBuilder reset()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.