Example usage for org.apache.hadoop.io Text skip

List of usage examples for org.apache.hadoop.io Text skip

Introduction

In this page you can find the example usage for org.apache.hadoop.io Text skip.

Prototype

public static void skip(DataInput in) throws IOException 

Source Link

Document

Skips over one Text in the input.

Usage

From source file:org.apache.nutch.crawl.Inlink.java

License:Apache License

/** Skips over one Inlink in the input. */
public static void skip(DataInput in) throws IOException {
    Text.skip(in); // skip fromUrl
    Text.skip(in); // skip anchor
}

From source file:org.apache.nutch.parse.Outlink.java

License:Apache License

/** Skips over one Outlink in the input. */
public static void skip(DataInput in) throws IOException {
    Text.skip(in); // skip toUrl
    Text.skip(in); // skip anchor
}