@InterfaceAudience.Public public class StructBuilder extends Object
Struct instances.| Constructor and Description | 
|---|
| StructBuilder()Create an empty  StructBuilder. | 
| Modifier and Type | Method and Description | 
|---|---|
| StructBuilder | add(DataType<?> field)Append  fieldto the sequence of accumulated fields. | 
| StructBuilder | reset()Reset the sequence of accumulated fields. | 
| Struct | toStruct()Retrieve the  Structrepresented bythis. | 
public StructBuilder()
StructBuilder.public StructBuilder add(DataType<?> field)
field to the sequence of accumulated fields.public StructBuilder reset()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.