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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.apache.avro.SchemaextractAvroSubSchema(org.apache.avro.Schema origin, String fieldName) longgetInputLastModificationTime(String inputUri) 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:
validateInputAndGetInfoin interfaceInputDataInfoProvider- Throws:
Exception
-
initZstdConfig
- Specified by:
initZstdConfigin interfaceInputDataInfoProvider
-
trainZstdDictionary
public byte[] trainZstdDictionary()- Specified by:
trainZstdDictionaryin interfaceInputDataInfoProvider
-
extractAvroSubSchema
- Specified by:
extractAvroSubSchemain interfaceInputDataInfoProvider
-
getInputLastModificationTime
- Specified by:
getInputLastModificationTimein interfaceInputDataInfoProvider- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-