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