@Public public class BlockInfo extends Object implements IOReadableWritable
Constructor and Description |
---|
BlockInfo() |
Modifier and Type | Method and Description |
---|---|
long |
getAccumulatedRecordCount()
Returns the accumulated record count.
|
long |
getFirstRecordStart()
Returns the firstRecordStart.
|
int |
getInfoSize() |
long |
getRecordCount()
Returns the recordCount.
|
void |
read(DataInputView in)
Reads the object's internal data from the given data input view.
|
void |
setAccumulatedRecordCount(long accumulatedRecordCount)
Sets the accumulatedRecordCount to the specified value.
|
void |
setFirstRecordStart(long firstRecordStart)
Sets the firstRecordStart to the specified value.
|
void |
setRecordCount(long recordCount)
Sets the recordCount to the specified value.
|
void |
write(DataOutputView out)
Writes the object's internal data to the given data output view.
|
public int getInfoSize()
public long getFirstRecordStart()
public void setFirstRecordStart(long firstRecordStart)
firstRecordStart
- the firstRecordStart to setpublic void write(DataOutputView out) throws IOException
IOReadableWritable
write
in interface IOReadableWritable
out
- the output view to receive the data.IOException
- thrown if any error occurs while writing to the output streampublic void read(DataInputView in) throws IOException
IOReadableWritable
read
in interface IOReadableWritable
in
- the input view to read the data fromIOException
- thrown if any error occurs while reading from the input streampublic long getRecordCount()
public long getAccumulatedRecordCount()
public void setAccumulatedRecordCount(long accumulatedRecordCount)
accumulatedRecordCount
- the accumulatedRecordCount to setpublic void setRecordCount(long recordCount)
recordCount
- the recordCount to setCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.