| Constructor and Description |
|---|
CarbonStreamRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext job,
org.apache.carbondata.processing.loading.model.CarbonLoadModel carbonLoadModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
String |
getFileName() |
String |
getSegmentDir() |
void |
setHasException(boolean hasException) |
void |
write(Void key,
Object value) |
public CarbonStreamRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext job,
org.apache.carbondata.processing.loading.model.CarbonLoadModel carbonLoadModel)
throws IOException
IOExceptionpublic void write(Void key, Object value) throws IOException, InterruptedException
write in class org.apache.hadoop.mapreduce.RecordWriter<Void,Object>IOExceptionInterruptedExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
close in class org.apache.hadoop.mapreduce.RecordWriter<Void,Object>IOExceptionInterruptedExceptionpublic String getSegmentDir()
public String getFileName()
public void setHasException(boolean hasException)
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.