use of org.apache.parquet.column.values.fallback.FallbackValuesWriter in project parquet-mr by apache.
the class DefaultValuesWriterFactoryTest method validateFallbackWriter.
private void validateFallbackWriter(ValuesWriter writer, Class<? extends ValuesWriter> initialWriterClass, Class<? extends ValuesWriter> fallbackWriterClass) {
validateWriterType(writer, FallbackValuesWriter.class);
FallbackValuesWriter wr = (FallbackValuesWriter) writer;
validateWriterType(wr.initialWriter, initialWriterClass);
validateWriterType(wr.fallBackWriter, fallbackWriterClass);
}
Aggregations