Interface StaticTableTag
Interface for a tag that can be applied to any
StaticTableSchema
. When the table schema is instantiated,
the table metadata stored on the schema will be updated by calling the modifyMetadata()
method for every tag
associated with the table.-
Method Summary
Modifier and TypeMethodDescriptionA function that modifies an existingStaticTableSchema.Builder
when this tag is applied to a table.
-
Method Details
-
modifyMetadata
Consumer<StaticTableMetadata.Builder> modifyMetadata()A function that modifies an existingStaticTableSchema.Builder
when this tag is applied to a table. This will be used by theStaticTableSchema
to capture all the metadata associated with tags that have been applied to the table.- Returns:
- a consumer that modifies an existing
StaticTableSchema.Builder
.
-