public class TextBytesSequenceMemoryUtility extends SequenceFileUtility<org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable>
SequenceFileUtility.FilenameKeyProvider, SequenceFileUtility.KeyProvider<K>, SequenceFileUtility.MD5UUIDKeyProvider, SequenceFileUtility.RelativePathFilenameKeyProvider
compressionType, config, fileSystem, isReader, sequenceFilePath, uuid, writer
Constructor and Description |
---|
TextBytesSequenceMemoryUtility(String uriOrPath,
boolean read) |
TextBytesSequenceMemoryUtility(String uriOrPath,
org.apache.hadoop.io.SequenceFile.CompressionType compressionType) |
TextBytesSequenceMemoryUtility(String uriOrPath,
org.apache.hadoop.io.SequenceFile.CompressionType compressionType,
Map<String,String> metadata) |
TextBytesSequenceMemoryUtility(URI uri,
boolean read) |
TextBytesSequenceMemoryUtility(URI uri,
org.apache.hadoop.io.SequenceFile.CompressionType compressionType) |
TextBytesSequenceMemoryUtility(URI uri,
org.apache.hadoop.io.SequenceFile.CompressionType compressionType,
Map<String,String> metadata) |
Modifier and Type | Method and Description |
---|---|
protected void |
printFile(org.apache.hadoop.io.BytesWritable value) |
protected org.apache.hadoop.io.BytesWritable |
readFile(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path) |
protected void |
writeFile(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.io.BytesWritable value) |
protected void |
writeZipData(ZipOutputStream zos,
org.apache.hadoop.io.BytesWritable value) |
appendData, appendFile, appendFiles, close, convertToURI, exportData, exportData, exportData, exportData, exportData, exportDataToZip, exportDataToZip, extract, find, find, findAndExport, findAndExport, getCompressionCodecClass, getCompressionType, getFilePaths, getFilePaths, getFilePaths, getFiles, getFilesRegex, getFileSystem, getFileSystem, getMetadata, getNumberRecords, getPath, getReducerFiles, getSequenceFilePath, getUUID, iterator, listKeys, listKeysAndOffsets, md5sum, openZipOutputStream, writePathMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public TextBytesSequenceMemoryUtility(String uriOrPath, boolean read) throws IOException
IOException
public TextBytesSequenceMemoryUtility(String uriOrPath, org.apache.hadoop.io.SequenceFile.CompressionType compressionType, Map<String,String> metadata) throws IOException
IOException
public TextBytesSequenceMemoryUtility(String uriOrPath, org.apache.hadoop.io.SequenceFile.CompressionType compressionType) throws IOException
IOException
public TextBytesSequenceMemoryUtility(URI uri, boolean read) throws IOException
IOException
public TextBytesSequenceMemoryUtility(URI uri, org.apache.hadoop.io.SequenceFile.CompressionType compressionType, Map<String,String> metadata) throws IOException
IOException
public TextBytesSequenceMemoryUtility(URI uri, org.apache.hadoop.io.SequenceFile.CompressionType compressionType) throws IOException
IOException
protected org.apache.hadoop.io.BytesWritable readFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path) throws IOException
readFile
in class SequenceFileUtility<org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable>
IOException
protected void writeFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.io.BytesWritable value) throws IOException
writeFile
in class SequenceFileUtility<org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable>
IOException
protected void printFile(org.apache.hadoop.io.BytesWritable value) throws IOException
printFile
in class SequenceFileUtility<org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable>
IOException
protected void writeZipData(ZipOutputStream zos, org.apache.hadoop.io.BytesWritable value) throws IOException
writeZipData
in class SequenceFileUtility<org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable>
IOException