public interface Record
Modifier and Type | Interface and Description |
---|---|
static interface |
Record.Builder
Allows to create a record with a fluent API.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Class<T> expectedType,
String name)
Access a record field value.
|
default <T> Collection<T> |
getArray(Class<T> type,
String name) |
default boolean |
getBoolean(String name) |
default byte[] |
getBytes(String name) |
default ZonedDateTime |
getDateTime(String name) |
default double |
getDouble(String name) |
default float |
getFloat(String name) |
default int |
getInt(String name) |
default long |
getLong(String name) |
default Record |
getRecord(String name) |
Schema |
getSchema() |
default String |
getString(String name) |
<T> T get(Class<T> expectedType, String name)
T
- the type of expectedType.expectedType
- the expected type for the column.name
- the name of the column.default boolean getBoolean(String name)
default <T> Collection<T> getArray(Class<T> type, String name)
default ZonedDateTime getDateTime(String name)
1.1.2 - Copyright © 2018 Talend Component Kit Documentation