public interface ColumnWriter
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the underlying store.
|
long |
getBufferedSizeInMemory()
used to decide when to write a page or row group
|
void |
write(Binary value,
int repetitionLevel,
int definitionLevel)
writes the current value
|
void |
write(boolean value,
int repetitionLevel,
int definitionLevel)
writes the current value
|
void |
write(double value,
int repetitionLevel,
int definitionLevel)
writes the current value
|
void |
write(float value,
int repetitionLevel,
int definitionLevel)
writes the current value
|
void |
write(int value,
int repetitionLevel,
int definitionLevel)
writes the current value
|
void |
write(long value,
int repetitionLevel,
int definitionLevel)
writes the current value
|
void |
writeNull(int repetitionLevel,
int definitionLevel)
writes the current null value
|
void write(int value,
int repetitionLevel,
int definitionLevel)
value - an int valuerepetitionLevel - a repetition leveldefinitionLevel - a definition levelvoid write(long value,
int repetitionLevel,
int definitionLevel)
value - a long valuerepetitionLevel - a repetition leveldefinitionLevel - a definition levelvoid write(boolean value,
int repetitionLevel,
int definitionLevel)
value - a boolean valuerepetitionLevel - a repetition leveldefinitionLevel - a definition levelvoid write(Binary value, int repetitionLevel, int definitionLevel)
value - a Binary valuerepetitionLevel - a repetition leveldefinitionLevel - a definition levelvoid write(float value,
int repetitionLevel,
int definitionLevel)
value - a float valuerepetitionLevel - a repetition leveldefinitionLevel - a definition levelvoid write(double value,
int repetitionLevel,
int definitionLevel)
value - a double valuerepetitionLevel - a repetition leveldefinitionLevel - a definition levelvoid writeNull(int repetitionLevel,
int definitionLevel)
repetitionLevel - a repetition leveldefinitionLevel - a definition levelvoid close()
long getBufferedSizeInMemory()
Copyright © 2019 The Apache Software Foundation. All rights reserved.