parquet-column/src/main/java/org/apache/parquet/column/values/factory/DefaultV1ValuesWriterFactory.java [148:163]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private ValuesWriter getDoubleValuesWriter(ColumnDescriptor path) {
    final ValuesWriter fallbackWriter;
    if (this.parquetProperties.isByteStreamSplitEnabled(path)) {
      fallbackWriter = new ByteStreamSplitValuesWriter.DoubleByteStreamSplitValuesWriter(
          parquetProperties.getInitialSlabSize(),
          parquetProperties.getPageSizeThreshold(),
          parquetProperties.getAllocator());
    } else {
      fallbackWriter = new PlainValuesWriter(
          parquetProperties.getInitialSlabSize(),
          parquetProperties.getPageSizeThreshold(),
          parquetProperties.getAllocator());
    }
    return DefaultValuesWriterFactory.dictWriterWithFallBack(
        path, parquetProperties, getEncodingForDictionaryPage(), getEncodingForDataPage(), fallbackWriter);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



parquet-column/src/main/java/org/apache/parquet/column/values/factory/DefaultV2ValuesWriterFactory.java [160:175]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private ValuesWriter getDoubleValuesWriter(ColumnDescriptor path) {
    final ValuesWriter fallbackWriter;
    if (this.parquetProperties.isByteStreamSplitEnabled(path)) {
      fallbackWriter = new ByteStreamSplitValuesWriter.DoubleByteStreamSplitValuesWriter(
          parquetProperties.getInitialSlabSize(),
          parquetProperties.getPageSizeThreshold(),
          parquetProperties.getAllocator());
    } else {
      fallbackWriter = new PlainValuesWriter(
          parquetProperties.getInitialSlabSize(),
          parquetProperties.getPageSizeThreshold(),
          parquetProperties.getAllocator());
    }
    return DefaultValuesWriterFactory.dictWriterWithFallBack(
        path, parquetProperties, getEncodingForDictionaryPage(), getEncodingForDataPage(), fallbackWriter);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



