@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
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()
StructBuilder
.public StructBuilder add(DataType<?> field)
field
to the sequence of accumulated fields.public StructBuilder reset()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.