public static final class Schema.Field extends Object
Schema.Type.RECORD schema.| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Schema |
getSchema() |
static Schema.Field |
of(String name,
Schema schema)
Creates a
Schema.Field instance with the given name and Schema. |
public static Schema.Field of(String name, Schema schema)
Schema.Field instance with the given name and Schema.name - Name of the field.schema - Schema of the field.Schema.Field instance.public String getName()
public Schema getSchema()
Copyright © 2019 CDAP Licensed under the Apache License, Version 2.0.