public class LinkReader extends java.lang.Object implements NutchReader
conf, LOG
Constructor and Description |
---|
LinkReader() |
Modifier and Type | Method and Description |
---|---|
int |
count(java.lang.String path) |
java.util.List |
head(java.lang.String path,
int nrows) |
java.util.List |
read(java.lang.String path) |
java.util.List |
slice(java.lang.String path,
int start,
int end) |
public java.util.List read(java.lang.String path) throws java.io.FileNotFoundException
read
in interface NutchReader
java.io.FileNotFoundException
public java.util.List head(java.lang.String path, int nrows) throws java.io.FileNotFoundException
head
in interface NutchReader
java.io.FileNotFoundException
public java.util.List slice(java.lang.String path, int start, int end) throws java.io.FileNotFoundException
slice
in interface NutchReader
java.io.FileNotFoundException
public int count(java.lang.String path) throws java.io.FileNotFoundException
count
in interface NutchReader
java.io.FileNotFoundException
Copyright © 2019 The Apache Software Foundation