Package org.apache.kafka.connect.data
Class Field
- java.lang.Object
-
- org.apache.kafka.connect.data.Field
-
public class Field extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 fieldString
toString()
-
-
-
Method Detail
-
name
public String name()
Get the name of this field.- Returns:
- the name of this field
-
index
public int index()
Get the index of this field within the struct.- Returns:
- the index of this field
-
schema
public Schema schema()
Get the schema of this field- Returns:
- the schema of values of this field
-
-