public class Field extends Object
Constructor and Description |
---|
Field(String name,
int index,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
int |
index()
Get the index of this field within the struct.
|
String |
name()
Get the name of this field.
|
Schema |
schema()
Get the schema of this field
|
String |
toString() |
public String name()
public int index()
public Schema schema()