All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
Schema.Builder |
addArrayField(java.lang.String name,
Schema.FieldType collectionElementType) |
Schema.Builder |
addBooleanField(java.lang.String name) |
Schema.Builder |
addByteArrayField(java.lang.String name) |
Schema.Builder |
addByteField(java.lang.String name) |
Schema.Builder |
addDateTimeField(java.lang.String name) |
Schema.Builder |
addDecimalField(java.lang.String name) |
Schema.Builder |
addDoubleField(java.lang.String name) |
Schema.Builder |
addField(Schema.Field field) |
Schema.Builder |
addField(java.lang.String name,
Schema.FieldType type) |
Schema.Builder |
addFields(java.util.List<Schema.Field> fields) |
Schema.Builder |
addFields(Schema.Field... fields) |
Schema.Builder |
addFloatField(java.lang.String name) |
Schema.Builder |
addInt16Field(java.lang.String name) |
Schema.Builder |
addInt32Field(java.lang.String name) |
Schema.Builder |
addInt64Field(java.lang.String name) |
Schema.Builder |
addIterableField(java.lang.String name,
Schema.FieldType collectionElementType) |
<InputT,BaseT> Schema.Builder |
addLogicalTypeField(java.lang.String name,
Schema.LogicalType<InputT,BaseT> logicalType) |
Schema.Builder |
addMapField(java.lang.String name,
Schema.FieldType keyType,
Schema.FieldType valueType) |
Schema.Builder |
addNullableField(java.lang.String name,
Schema.FieldType type) |
Schema.Builder |
addRowField(java.lang.String name,
Schema fieldSchema) |
Schema.Builder |
addStringField(java.lang.String name) |
Schema |
build() |
int |
getLastFieldId() |
Schema.Builder |
setOptions(Schema.Options.Builder optionsBuilder) |
Schema.Builder |
setOptions(Schema.Options options)
Returns a copy of the Field with isNullable set.
|