Interface InputDataInfoProvider

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable
    All Known Implementing Classes:
    DefaultInputDataInfoProvider, KafkaInputDataInfoProvider

    public interface InputDataInfoProvider
    extends java.io.Closeable
    This interface lets users get input data information
    • Method Detail

      • initZstdConfig

        void initZstdConfig​(int numFiles)
      • loadZstdTrainingSamples

        static void loadZstdTrainingSamples​(VeniceRecordIterator recordIterator,
                                            PushJobZstdConfig pushJobZstdConfig)
        This function loads training samples from recordReader abstraction for building the Zstd dictionary.
        Parameters:
        recordIterator - The data accessor of input records.
      • trainZstdDictionary

        byte[] trainZstdDictionary()
      • extractAvroSubSchema

        org.apache.avro.Schema extractAvroSubSchema​(org.apache.avro.Schema origin,
                                                    java.lang.String fieldName)
      • getInputLastModificationTime

        long getInputLastModificationTime​(java.lang.String inputUri)
                                   throws java.io.IOException
        Throws:
        java.io.IOException