Search in sources :

Example 1 with FallbackValuesWriter

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);
}
Also used : FallbackValuesWriter(org.apache.parquet.column.values.fallback.FallbackValuesWriter)

Aggregations

FallbackValuesWriter (org.apache.parquet.column.values.fallback.FallbackValuesWriter)1