Example usage for org.apache.hadoop.mapreduce.lib.input SequenceFileInputFormat SequenceFileInputFormat

List of usage examples for org.apache.hadoop.mapreduce.lib.input SequenceFileInputFormat SequenceFileInputFormat

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce.lib.input SequenceFileInputFormat SequenceFileInputFormat.

Prototype

SequenceFileInputFormat

Source Link

Usage

From source file:com.cloudera.fts.pig.ProtobufLoadFunc.java

License:Open Source License

@Override
public InputFormat<NullWritable, BytesWritable> getInputFormat() throws IOException {
    return new SequenceFileInputFormat<NullWritable, BytesWritable>();
}

From source file:com.endgame.binarypig.loaders.AbstractFileDroppingLoader.java

License:Apache License

@Override
public InputFormat getInputFormat() throws IOException {
    // Define the kind of file in HDFS that we are dealing with. Here, we define that we wish to operate on a sequence file.
    return new SequenceFileInputFormat();
}

From source file:com.endgame.binarypig.loaders.BinarySequenceFileLoader.java

License:Apache License

@Override
public InputFormat getInputFormat() throws IOException {
    // Define the kind of file in HDFS that we are dealing with. Here, we define that we wish to operate on a sequence file.
    return new SequenceFileInputFormat<Text, BytesWritable>();
}

From source file:com.goldsaxfoundation.bigdata.Module11.SequenceFileTupleLoader.java

License:Apache License

@SuppressWarnings("unchecked")
@Override// w  w  w.ja v a 2s  .c  om
public InputFormat getInputFormat() throws IOException {
    return new SequenceFileInputFormat<Writable, Writable>();
}

From source file:com.manning.hip.ch3.seqfile.SequenceFileStockLoader.java

License:Apache License

@SuppressWarnings("unchecked")
@Override//  w  ww.  j  a va  2s  . c  o m
public InputFormat getInputFormat() throws IOException {
    return new SequenceFileInputFormat<Text, StockPriceWritable>();
}

From source file:com.mozilla.grouperfish.transforms.coclustering.pig.storage.KMeansOutputLoader.java

License:Apache License

@Override
public InputFormat<IntWritable, WeightedVectorWritable> getInputFormat() throws IOException {
    return new SequenceFileInputFormat<IntWritable, WeightedVectorWritable>();
}

From source file:com.mozilla.grouperfish.transforms.coclustering.pig.storage.MahoutVectorStorage.java

License:Apache License

@Override
public InputFormat<IntWritable, VectorWritable> getInputFormat() throws IOException {
    return new SequenceFileInputFormat<IntWritable, VectorWritable>();
}

From source file:org.apache.pig.impl.io.SequenceFileInterStorage.java

License:Apache License

@SuppressWarnings("rawtypes")
@Override
public InputFormat getInputFormat() {
    return new SequenceFileInputFormat<Object, Tuple>();
}

From source file:org.archive.bacon.nutchwax.ContentLoader.java

License:Apache License

/**
 * The Nutch(WAX) "parse_data" segment is just a SequenceFile
 * with Text keys and Writable values.//from  w w w.  ja  v a2  s  . co  m
 */
public InputFormat getInputFormat() throws IOException {
    return new SequenceFileInputFormat<Text, Writable>();
}

From source file:org.mrgeo.hdfs.ingest.HdfsImageIngestTiledInputFormatProvider.java

License:Apache License

@Override
public InputFormat<TileIdWritable, RasterWritable> getInputFormat(final String input) {
    return new SequenceFileInputFormat<TileIdWritable, RasterWritable>();
}