Constructor and Description |
---|
Builder() |
public Schema.Builder addFields(java.util.List<Schema.Field> fields)
public Schema.Builder addFields(Schema.Field... fields)
public Schema.Builder addField(Schema.Field field)
public Schema.Builder addField(java.lang.String name, Schema.FieldType type)
public Schema.Builder addNullableField(java.lang.String name, Schema.FieldType type)
public Schema.Builder addByteField(java.lang.String name)
public Schema.Builder addInt16Field(java.lang.String name)
public Schema.Builder addInt32Field(java.lang.String name)
public Schema.Builder addInt64Field(java.lang.String name)
public Schema.Builder addDecimalField(java.lang.String name)
public Schema.Builder addFloatField(java.lang.String name)
public Schema.Builder addDoubleField(java.lang.String name)
public Schema.Builder addStringField(java.lang.String name)
public Schema.Builder addDateTimeField(java.lang.String name)
public Schema.Builder addBooleanField(java.lang.String name)
public Schema.Builder addArrayField(java.lang.String name, Schema.FieldType collectionElementType)
public Schema.Builder addRowField(java.lang.String name, Schema fieldSchema)
public Schema.Builder addMapField(java.lang.String name, Schema.FieldType keyType, Schema.FieldType valueType)
public Schema build()