Class HexFormatter
- java.lang.Object
-
- org.apache.accumulo.core.util.format.HexFormatter
-
- All Implemented Interfaces:
Iterator<String>,Formatter,ScanInterpreter
- Direct Known Subclasses:
HexScanInterpreter
public class HexFormatter extends Object implements Formatter, ScanInterpreter
A simple formatter that print the row, column family, column qualifier, and value as hex
-
-
Constructor Summary
Constructors Constructor Description HexFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()voidinitialize(Iterable<Map.Entry<Key,Value>> scanner, FormatterConfig config)org.apache.hadoop.io.TextinterpretBeginRow(org.apache.hadoop.io.Text row)org.apache.hadoop.io.TextinterpretColumnFamily(org.apache.hadoop.io.Text cf)org.apache.hadoop.io.TextinterpretColumnQualifier(org.apache.hadoop.io.Text cq)org.apache.hadoop.io.TextinterpretEndRow(org.apache.hadoop.io.Text row)org.apache.hadoop.io.TextinterpretRow(org.apache.hadoop.io.Text row)Stringnext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
initialize
public void initialize(Iterable<Map.Entry<Key,Value>> scanner, FormatterConfig config)
- Specified by:
initializein interfaceFormatter
-
interpretRow
public org.apache.hadoop.io.Text interpretRow(org.apache.hadoop.io.Text row)
- Specified by:
interpretRowin interfaceScanInterpreter
-
interpretBeginRow
public org.apache.hadoop.io.Text interpretBeginRow(org.apache.hadoop.io.Text row)
- Specified by:
interpretBeginRowin interfaceScanInterpreter
-
interpretEndRow
public org.apache.hadoop.io.Text interpretEndRow(org.apache.hadoop.io.Text row)
- Specified by:
interpretEndRowin interfaceScanInterpreter
-
interpretColumnFamily
public org.apache.hadoop.io.Text interpretColumnFamily(org.apache.hadoop.io.Text cf)
- Specified by:
interpretColumnFamilyin interfaceScanInterpreter
-
interpretColumnQualifier
public org.apache.hadoop.io.Text interpretColumnQualifier(org.apache.hadoop.io.Text cq)
- Specified by:
interpretColumnQualifierin interfaceScanInterpreter
-
-