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