Package com.Lomikel.Hadooper
Class Inspector
- java.lang.Object
-
- com.Lomikel.Hadooper.Inspector
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
log
Logging .
-
Constructor Summary
Constructors Constructor Description Inspector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
inspect(java.lang.String action, java.lang.String fn, int min, int max)
Read/search HDFS files.
-
-
-
Field Detail
-
log
private static org.apache.logging.log4j.Logger log
Logging .
-
-
Constructor Detail
-
Inspector
public Inspector()
-
-
Method Detail
-
inspect
public java.lang.String inspect(java.lang.String action, java.lang.String fn, int min, int max) throws java.lang.Exception
Read/search HDFS files.- Parameters:
action
- The type of file or reauired action: count, time, map, mapkey, mapkeylimits, seq, csv, txt.fn
- The file or directory (forMapFile
s.min
- The first row to show (negative gives 0).max
- The last row to show (0 or negative gives maximum value).- Throws:
java.lang.Exception
-
-