@InterfaceAudience.Public @InterfaceStability.Stable public class TableOutputFormat extends org.apache.hadoop.mapred.FileOutputFormat<ImmutableBytesWritable,Put>
| 限定符和类型 | 类和说明 |
|---|---|
protected static class |
TableOutputFormat.TableRecordWriter
Convert Reduce output (key, value) to (HStoreKey, KeyedDataArrayWritable)
and write to an HBase table.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
OUTPUT_TABLE
JobConf parameter that specifies the output table
|
| 构造器和说明 |
|---|
TableOutputFormat() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkOutputSpecs(org.apache.hadoop.fs.FileSystem ignored,
org.apache.hadoop.mapred.JobConf job) |
org.apache.hadoop.mapred.RecordWriter |
getRecordWriter(org.apache.hadoop.fs.FileSystem ignored,
org.apache.hadoop.mapred.JobConf job,
String name,
org.apache.hadoop.util.Progressable progress) |
public org.apache.hadoop.mapred.RecordWriter getRecordWriter(org.apache.hadoop.fs.FileSystem ignored,
org.apache.hadoop.mapred.JobConf job,
String name,
org.apache.hadoop.util.Progressable progress)
throws IOException
getRecordWriter 在接口中 org.apache.hadoop.mapred.OutputFormat<ImmutableBytesWritable,Put>getRecordWriter 在类中 org.apache.hadoop.mapred.FileOutputFormat<ImmutableBytesWritable,Put>IOExceptionpublic void checkOutputSpecs(org.apache.hadoop.fs.FileSystem ignored,
org.apache.hadoop.mapred.JobConf job)
throws org.apache.hadoop.fs.FileAlreadyExistsException,
org.apache.hadoop.mapred.InvalidJobConfException,
IOException
checkOutputSpecs 在接口中 org.apache.hadoop.mapred.OutputFormat<ImmutableBytesWritable,Put>checkOutputSpecs 在类中 org.apache.hadoop.mapred.FileOutputFormat<ImmutableBytesWritable,Put>org.apache.hadoop.fs.FileAlreadyExistsExceptionorg.apache.hadoop.mapred.InvalidJobConfExceptionIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.