public class RecordFileWriter extends Object implements HiveFileWriter
| Constructor and Description |
|---|
RecordFileWriter(org.apache.hadoop.fs.Path path,
List<String> inputColumnNames,
StorageFormat storageFormat,
Properties schema,
io.airlift.units.DataSize estimatedWriterSystemMemoryUsage,
org.apache.hadoop.mapred.JobConf conf,
TypeManager typeManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendRow(Page dataPage,
int position) |
void |
appendRows(Page dataPage) |
void |
commit() |
long |
getSystemMemoryUsage() |
void |
rollback() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVerificationTaskpublic RecordFileWriter(org.apache.hadoop.fs.Path path,
List<String> inputColumnNames,
StorageFormat storageFormat,
Properties schema,
io.airlift.units.DataSize estimatedWriterSystemMemoryUsage,
org.apache.hadoop.mapred.JobConf conf,
TypeManager typeManager)
public long getSystemMemoryUsage()
getSystemMemoryUsage in interface HiveFileWriterpublic void appendRows(Page dataPage)
appendRows in interface HiveFileWriterpublic void appendRow(Page dataPage, int position)
public void commit()
commit in interface HiveFileWriterpublic void rollback()
rollback in interface HiveFileWriterCopyright © 2012-2017. All Rights Reserved.