Class RequestEntryWrapper<RequestEntryT>

java.lang.Object
org.apache.flink.connector.base.sink.writer.RequestEntryWrapper<RequestEntryT>
Type Parameters:
RequestEntryT - Corresponds to the type parameter of the same name in AsyncSinkWriter

@PublicEvolving public class RequestEntryWrapper<RequestEntryT> extends Object
A wrapper that contains a RequestEntryT ready to be written by the Sink Writer class, along with the size of that entry as defined by the method getSizeInBytes(RequestEntryT) of the AsyncSinkWriter.
  • Constructor Details

    • RequestEntryWrapper

      public RequestEntryWrapper(RequestEntryT requestEntry, long size)
  • Method Details

    • getRequestEntry

      public RequestEntryT getRequestEntry()
    • getSize

      public long getSize()