Class TopNBufferCacheRemovalListener<V>

java.lang.Object
org.apache.flink.table.runtime.operators.rank.TopNBufferCacheRemovalListener<V>
Type Parameters:
V - is the value type of the cache.
All Implemented Interfaces:
org.apache.flink.shaded.guava32.com.google.common.cache.RemovalListener<org.apache.flink.table.data.RowData,V>

public class TopNBufferCacheRemovalListener<V> extends Object implements org.apache.flink.shaded.guava32.com.google.common.cache.RemovalListener<org.apache.flink.table.data.RowData,V>
A common cache removal listener for rank node.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TopNBufferCacheRemovalListener(org.apache.flink.streaming.api.operators.KeyContext keyContext, org.apache.flink.util.function.BiConsumerWithException<org.apache.flink.table.data.RowData,V,Exception> callBack)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onRemoval(org.apache.flink.shaded.guava32.com.google.common.cache.RemovalNotification<org.apache.flink.table.data.RowData,V> removalNotification)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TopNBufferCacheRemovalListener

      public TopNBufferCacheRemovalListener(org.apache.flink.streaming.api.operators.KeyContext keyContext, org.apache.flink.util.function.BiConsumerWithException<org.apache.flink.table.data.RowData,V,Exception> callBack)
  • Method Details

    • onRemoval

      public void onRemoval(org.apache.flink.shaded.guava32.com.google.common.cache.RemovalNotification<org.apache.flink.table.data.RowData,V> removalNotification)
      Specified by:
      onRemoval in interface org.apache.flink.shaded.guava32.com.google.common.cache.RemovalListener<org.apache.flink.table.data.RowData,V>