Class IndexGeneratorBase

  • All Implemented Interfaces:
    Serializable

    @Internal
    public abstract class IndexGeneratorBase
    extends Object
    Base class for IndexGenerator.
    See Also:
    Serialized Form
    • Field Detail

      • index

        protected final String index
    • Constructor Detail

      • IndexGeneratorBase

        public IndexGeneratorBase​(String index)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • open

        public default void open()
        Initialize the index generator, this will be called only once before generate(RowData) is called.
      • generate

        public abstract String generate​(org.apache.flink.table.data.RowData row)
        Generate index name according to the given row.