Package com.linkedin.venice.hadoop
Class KafkaInputDataInfoProvider
java.lang.Object
com.linkedin.venice.hadoop.KafkaInputDataInfoProvider
- All Implemented Interfaces:
InputDataInfoProvider
,Closeable
,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.linkedin.venice.hadoop.InputDataInfoProvider
InputDataInfoProvider.InputDataInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.apache.avro.Schema
extractAvroSubSchema
(org.apache.avro.Schema origin, String fieldName) long
getInputLastModificationTime
(String inputUri) void
initZstdConfig
(int numFiles) byte[]
validateInputAndGetInfo
(String inputUri)
-
Constructor Details
-
KafkaInputDataInfoProvider
public KafkaInputDataInfoProvider()
-
-
Method Details
-
validateInputAndGetInfo
public InputDataInfoProvider.InputDataInfo validateInputAndGetInfo(String inputUri) throws Exception - Specified by:
validateInputAndGetInfo
in interfaceInputDataInfoProvider
- Throws:
Exception
-
initZstdConfig
public void initZstdConfig(int numFiles) - Specified by:
initZstdConfig
in interfaceInputDataInfoProvider
-
trainZstdDictionary
public byte[] trainZstdDictionary()- Specified by:
trainZstdDictionary
in interfaceInputDataInfoProvider
-
extractAvroSubSchema
- Specified by:
extractAvroSubSchema
in interfaceInputDataInfoProvider
-
getInputLastModificationTime
- Specified by:
getInputLastModificationTime
in interfaceInputDataInfoProvider
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-