@Evolving
public interface MetadataColumn
A metadata column can expose additional metadata about a row. For example, rows from Kafka can use metadata columns to expose a message's topic, partition number, and offset.
A metadata column could also be the result of a transform applied to a value in the row. For
example, a partition value produced by bucket(id, 16) could be exposed by a metadata column. In
this case, transform()
should return a non-null Transform
that produced the
metadata column's values.
Modifier and Type | Method and Description |
---|---|
default String |
comment()
Documentation for this metadata column, or null.
|
DataType |
dataType()
The data type of values in this metadata column.
|
default boolean |
isNullable() |
String |
name()
The name of this metadata column.
|
default Transform |
transform()
The
Transform used to produce this metadata column from data rows, or null. |
String name()
default boolean isNullable()
default String comment()