Package org.apache.beam.sdk.values
Class Row.Builder
java.lang.Object
org.apache.beam.sdk.values.Row.Builder
- Enclosing class:
- Row
Builder for 
Row.- 
Method SummaryModifier and TypeMethodDescription<T> Row.BuilderaddArray(Collection<T> values) <T> Row.BuilderaddIterable(Iterable<T> values) attachValues(@Nullable Object... values) attachValues(List<@Nullable Object> attachedValues) build()Return the schema for the row being built.intwithFieldValue(Integer fieldId, Object value) Set a field value using the field id.withFieldValue(String fieldName, Object value) Set a field value using the field name.withFieldValue(FieldAccessDescriptor fieldAccessDescriptor, Object value) Set a field value using a FieldAccessDescriptor.<T> RowwithFieldValueGetters(Factory<List<FieldValueGetter<T, Object>>> fieldValueGetterFactory, T getterTarget) withFieldValues(Map<String, Object> values) Sets field values using the field names.
- 
Method Details- 
getSchemaReturn the schema for the row being built.
- 
withFieldValueSet a field value using the field name. Nested values can be set using the field selection syntax.
- 
withFieldValueSet a field value using the field id.
- 
withFieldValuepublic Row.FieldValueBuilder withFieldValue(FieldAccessDescriptor fieldAccessDescriptor, Object value) Set a field value using a FieldAccessDescriptor.
- 
withFieldValuesSets field values using the field names. Nested values can be set using the field selection syntax.
- 
addValue
- 
addValues
- 
addValues
- 
addArray
- 
addArray
- 
addIterable
- 
attachValues
- 
attachValues
- 
nextFieldIdpublic int nextFieldId()
- 
withFieldValueGetters
- 
build
 
-