public class LogEntry extends Object
Modifier and Type | Field and Description |
---|---|
KeyExtent |
extent |
String |
filename |
String |
server |
long |
timestamp |
Constructor and Description |
---|
LogEntry(KeyExtent extent,
long timestamp,
String server,
String filename) |
LogEntry(LogEntry le) |
Modifier and Type | Method and Description |
---|---|
static LogEntry |
fromBytes(byte[] bytes) |
static LogEntry |
fromKeyValue(Key key,
Value value) |
org.apache.hadoop.io.Text |
getColumnFamily() |
org.apache.hadoop.io.Text |
getColumnQualifier() |
String |
getName() |
org.apache.hadoop.io.Text |
getRow() |
String |
getUniqueID() |
Value |
getValue() |
byte[] |
toBytes() |
String |
toString() |
public final KeyExtent extent
public final long timestamp
public final String server
public final String filename
public LogEntry(LogEntry le)
public String getName()
public byte[] toBytes() throws IOException
IOException
public static LogEntry fromBytes(byte[] bytes) throws IOException
IOException
public org.apache.hadoop.io.Text getRow()
public org.apache.hadoop.io.Text getColumnFamily()
public String getUniqueID()
public org.apache.hadoop.io.Text getColumnQualifier()
public Value getValue()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.