Package org.apache.pinot.spi.data
Class SchemaValidatorFactory
- java.lang.Object
-
- org.apache.pinot.spi.data.SchemaValidatorFactory
-
public class SchemaValidatorFactory extends Object
-
-
Method Summary
Modifier and Type Method Description static IngestionSchemaValidatorgetSchemaValidator(Schema pinotSchema, String recordReaderClassName, String inputFilePath)Gets schema validator given the record recorder and the input file path
-
-
-
Method Detail
-
getSchemaValidator
public static IngestionSchemaValidator getSchemaValidator(Schema pinotSchema, String recordReaderClassName, String inputFilePath) throws Exception
Gets schema validator given the record recorder and the input file path- Parameters:
pinotSchema- pinot schemarecordReaderClassName- record reader class nameinputFilePath- local input file path- Throws:
Exception
-
-