public class HSnapshotDescription extends Object implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
HSnapshotDescription() |
HSnapshotDescription(HBaseProtos.SnapshotDescription proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getCreationTime() |
String |
getName() |
HBaseProtos.SnapshotDescription |
getProto() |
String |
getTable() |
HBaseProtos.SnapshotDescription.Type |
getType() |
int |
getVersion() |
boolean |
hasTable() |
void |
readFields(DataInput in)
INTERNAL This method is a part of
Writable interface
and is used for de-serialization of the HTableDescriptor over RPC |
String |
toString() |
void |
write(DataOutput out)
INTERNAL This method is a part of
Writable interface
and is used for serialization of the HTableDescriptor over RPC |
public HSnapshotDescription()
public HSnapshotDescription(HBaseProtos.SnapshotDescription proto)
public String getName()
public HBaseProtos.SnapshotDescription getProto()
public HBaseProtos.SnapshotDescription.Type getType()
public String getTable()
public boolean hasTable()
public long getCreationTime()
public int getVersion()
public void readFields(DataInput in) throws IOException
Writable
interface
and is used for de-serialization of the HTableDescriptor over RPCreadFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
Writable
interface
and is used for serialization of the HTableDescriptor over RPCwrite
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.