public static class LensFileOutputFormat.LensRowWriter extends Object implements org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
Constructor and Description |
---|
LensRowWriter(DataOutputStream out)
Instantiates a new lens row writer.
|
LensRowWriter(DataOutputStream out,
String encoding,
org.apache.hadoop.fs.Path tmpPath,
String extn)
Instantiates a new lens row writer.
|
Modifier and Type | Method and Description |
---|---|
void |
close(org.apache.hadoop.mapred.Reporter reporter) |
String |
getEncoding() |
String |
getExtn() |
org.apache.hadoop.fs.Path |
getTmpPath() |
void |
write(org.apache.hadoop.io.NullWritable key,
org.apache.hadoop.io.Text value) |
public LensRowWriter(DataOutputStream out, String encoding, org.apache.hadoop.fs.Path tmpPath, String extn)
out
- the outencoding
- the encodingtmpPath
- the tmp pathextn
- the extnpublic LensRowWriter(DataOutputStream out)
out
- the outpublic void write(org.apache.hadoop.io.NullWritable key, org.apache.hadoop.io.Text value) throws IOException
write
in interface org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
IOException
public void close(org.apache.hadoop.mapred.Reporter reporter) throws IOException
close
in interface org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
IOException
public org.apache.hadoop.fs.Path getTmpPath()
public String getExtn()
public String getEncoding()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.