Skip to content

Commit f021ed2

Browse files
author
Piyush Narang
committed
Tweak comment in ValuesWriterFactory
1 parent cb02ea0 commit f021ed2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

parquet-column/src/main/java/org/apache/parquet/column/values/factory/ValuesWriterFactory.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@
2727
* Due to this, they must provide a default constructor.
2828
* Lifecycle of ValuesWriterFactories is:
2929
* 1) Created via reflection while creating a {@link org.apache.parquet.column.ParquetProperties}
30-
* 2) If the factory is Configurable (needs Hadoop conf), that is set, initialize is also called. This is done
31-
* just once for the lifetime of the factory. As Hadoop config can be set, ValuesWriterFactories can
32-
* read additional config to create appropriate ValuesWriters.
30+
* 2) If the factory is Configurable (needs Hadoop conf), that is set by calling setConfig().
31+
* initialize() is also called. This is done just once for the lifetime of the factory. As Hadoop
32+
* config can be set, ValuesWriterFactories can read additional config to create appropriate ValuesWriters.
3333
* 3) newValuesWriter is called once per column for every block of data.
34-
*
3534
*/
3635
public interface ValuesWriterFactory {
3736

0 commit comments

Comments
 (0)