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 boolean
hasNext()
void
initialize(Iterable<Map.Entry<Key,Value>> scanner, FormatterConfig config)
org.apache.hadoop.io.Text
interpretBeginRow(org.apache.hadoop.io.Text row)
org.apache.hadoop.io.Text
interpretColumnFamily(org.apache.hadoop.io.Text cf)
org.apache.hadoop.io.Text
interpretColumnQualifier(org.apache.hadoop.io.Text cq)
org.apache.hadoop.io.Text
interpretEndRow(org.apache.hadoop.io.Text row)
org.apache.hadoop.io.Text
interpretRow(org.apache.hadoop.io.Text row)
String
next()
void
remove()
-
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:
initialize
in interfaceFormatter
-
interpretRow
public org.apache.hadoop.io.Text interpretRow(org.apache.hadoop.io.Text row)
- Specified by:
interpretRow
in interfaceScanInterpreter
-
interpretBeginRow
public org.apache.hadoop.io.Text interpretBeginRow(org.apache.hadoop.io.Text row)
- Specified by:
interpretBeginRow
in interfaceScanInterpreter
-
interpretEndRow
public org.apache.hadoop.io.Text interpretEndRow(org.apache.hadoop.io.Text row)
- Specified by:
interpretEndRow
in interfaceScanInterpreter
-
interpretColumnFamily
public org.apache.hadoop.io.Text interpretColumnFamily(org.apache.hadoop.io.Text cf)
- Specified by:
interpretColumnFamily
in interfaceScanInterpreter
-
interpretColumnQualifier
public org.apache.hadoop.io.Text interpretColumnQualifier(org.apache.hadoop.io.Text cq)
- Specified by:
interpretColumnQualifier
in interfaceScanInterpreter
-
-