parquet-column/src/main/java/org/apache/parquet/column/values/factory/DefaultV1ValuesWriterFactory.java [130:179]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          parquetProperties.getInitialSlabSize(),
          parquetProperties.getPageSizeThreshold(),
          parquetProperties.getAllocator());
    }
    return DefaultValuesWriterFactory.dictWriterWithFallBack(
        path, parquetProperties, getEncodingForDictionaryPage(), getEncodingForDataPage(), fallbackWriter);
  }

  private ValuesWriter getInt96ValuesWriter(ColumnDescriptor path) {
    ValuesWriter fallbackWriter = new FixedLenByteArrayPlainValuesWriter(
        12,
        parquetProperties.getInitialSlabSize(),
        parquetProperties.getPageSizeThreshold(),
        parquetProperties.getAllocator());
    return DefaultValuesWriterFactory.dictWriterWithFallBack(
        path, parquetProperties, getEncodingForDictionaryPage(), getEncodingForDataPage(), fallbackWriter);
  }

  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);
  }

  private ValuesWriter getFloatValuesWriter(ColumnDescriptor path) {
    final ValuesWriter fallbackWriter;
    if (this.parquetProperties.isByteStreamSplitEnabled(path)) {
      fallbackWriter = new ByteStreamSplitValuesWriter.FloatByteStreamSplitValuesWriter(
          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 [142:191]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          parquetProperties.getInitialSlabSize(),
          parquetProperties.getPageSizeThreshold(),
          parquetProperties.getAllocator());
    }
    return DefaultValuesWriterFactory.dictWriterWithFallBack(
        path, parquetProperties, getEncodingForDictionaryPage(), getEncodingForDataPage(), fallbackWriter);
  }

  private ValuesWriter getInt96ValuesWriter(ColumnDescriptor path) {
    ValuesWriter fallbackWriter = new FixedLenByteArrayPlainValuesWriter(
        12,
        parquetProperties.getInitialSlabSize(),
        parquetProperties.getPageSizeThreshold(),
        parquetProperties.getAllocator());
    return DefaultValuesWriterFactory.dictWriterWithFallBack(
        path, parquetProperties, getEncodingForDictionaryPage(), getEncodingForDataPage(), fallbackWriter);
  }

  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);
  }

  private ValuesWriter getFloatValuesWriter(ColumnDescriptor path) {
    final ValuesWriter fallbackWriter;
    if (this.parquetProperties.isByteStreamSplitEnabled(path)) {
      fallbackWriter = new ByteStreamSplitValuesWriter.FloatByteStreamSplitValuesWriter(
          parquetProperties.getInitialSlabSize(),
          parquetProperties.getPageSizeThreshold(),
          parquetProperties.getAllocator());
    } else {
      fallbackWriter = new PlainValuesWriter(
          parquetProperties.getInitialSlabSize(),
          parquetProperties.getPageSizeThreshold(),
          parquetProperties.getAllocator());
    }
    return DefaultValuesWriterFactory.dictWriterWithFallBack(
        path, parquetProperties, getEncodingForDictionaryPage(), getEncodingForDataPage(), fallbackWriter);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



