Interface FeatureAutoEnabledByMetadata

All Known Subinterfaces:
TableFeature.LegacyFeatureType
All Known Implementing Classes:
TableFeature.LegacyReaderWriterFeature, TableFeature.LegacyWriterFeature

public interface FeatureAutoEnabledByMetadata
Defines behavior for TableFeature that can be automatically enabled via a change in a table's metadata, e.g., through setting particular values of certain feature-specific table properties. When the requirements are satisfied, the feature is automatically enabled.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determine whether the feature must be supported and enabled because its metadata requirements are satisfied.
  • Method Details

    • metadataRequiresFeatureToBeEnabled

      boolean metadataRequiresFeatureToBeEnabled(Protocol protocol, Metadata metadata)
      Determine whether the feature must be supported and enabled because its metadata requirements are satisfied.
      Parameters:
      protocol - the protocol of the table for features that are already enabled.
      metadata - the metadata of the table for properties that can enable the feature.