public class Block
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
numRecords |
| Constructor and Description |
|---|
Block(int blockId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
(package private) byte[] |
getBeginData() |
(package private) byte[] |
getBeginKey() |
(package private) int |
getBlockId() |
(package private) byte[] |
getMd5Hash() |
(package private) int |
getNumRecords() |
(package private) long |
getRollingChksum() |
void |
setBeginData(byte[] beginData) |
void |
setBeginKey(byte[] beginKey) |
void |
setMd5Hash(byte[] md5Hash) |
void |
setNumRecords(int numRecords) |
void |
setRollingChksum(long rollingChksum) |
java.lang.String |
toString() |
int getBlockId()
int getNumRecords()
public void setNumRecords(int numRecords)
byte[] getBeginKey()
public void setBeginKey(byte[] beginKey)
byte[] getBeginData()
public void setBeginData(byte[] beginData)
long getRollingChksum()
public void setRollingChksum(long rollingChksum)
byte[] getMd5Hash()
public void setMd5Hash(byte[] md5Hash)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2004-2012 Oracle. All rights reserved.