- put
Set the value of a field. Validates the value, throwing a DataException if it
does not match the fie
- <init>
Create a new Struct for this Schema
- get
Get the value of a field, returning the default value if no value has been set
yet and a default val
- schema
Get the schema for this Struct.
- getStruct
Equivalent to calling #get(String) and casting the result to a Struct.
- getString
Equivalent to calling #get(String) and casting the result to a String.
- getInt32
Equivalent to calling #get(String) and casting the result to a Integer.
- validate
Validates that this struct has filled in all the necessary data with valid
values. For required fiel
- getInt64
Equivalent to calling #get(String) and casting the result to a Long.
- getBoolean
Equivalent to calling #get(String) and casting the result to a Boolean.
- getBytes
Equivalent to calling #get(String) and casting the result to a byte[].
- getInt16
Equivalent to calling #get(String) and casting the result to a Short.