org.apache.accumulo.core.util.format
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HexFormatter
public HexFormatter()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<String>
next
public String next()
- Specified by:
next
in interface Iterator<String>
remove
public void remove()
- Specified by:
remove
in interface Iterator<String>
initialize
public void initialize(Iterable<Map.Entry<Key,Value>> scanner,
boolean printTimestamps)
- Specified by:
initialize
in interface Formatter
interpretRow
public org.apache.hadoop.io.Text interpretRow(org.apache.hadoop.io.Text row)
- Specified by:
interpretRow
in interface ScanInterpreter
interpretBeginRow
public org.apache.hadoop.io.Text interpretBeginRow(org.apache.hadoop.io.Text row)
- Specified by:
interpretBeginRow
in interface ScanInterpreter
interpretEndRow
public org.apache.hadoop.io.Text interpretEndRow(org.apache.hadoop.io.Text row)
- Specified by:
interpretEndRow
in interface ScanInterpreter
interpretColumnFamily
public org.apache.hadoop.io.Text interpretColumnFamily(org.apache.hadoop.io.Text cf)
- Specified by:
interpretColumnFamily
in interface ScanInterpreter
interpretColumnQualifier
public org.apache.hadoop.io.Text interpretColumnQualifier(org.apache.hadoop.io.Text cq)
- Specified by:
interpretColumnQualifier
in interface ScanInterpreter
Copyright © 2015 Apache Accumulo Project. All rights reserved.