Example usage for org.apache.hadoop.io WritableUtils skipFully

List of usage examples for org.apache.hadoop.io WritableUtils skipFully

Introduction

In this page you can find the example usage for org.apache.hadoop.io WritableUtils skipFully.

Prototype

public static void skipFully(DataInput in, int len) throws IOException 

Source Link

Document

Skip len number of bytes in input streamin

Usage

From source file:org.apache.pig.backend.hadoop.executionengine.spark_streaming.Text.java

License:Apache License

/** Skips over one Text in the input. */
public static void skip(DataInput in) throws IOException {
    int length = WritableUtils.readVInt(in);
    WritableUtils.skipFully(in, length);
}