public class TableSplit extends Split
Constructor and Description |
---|
TableSplit()
Constructor for serialization only.
|
TableSplit(byte[] start,
byte[] stop) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getStart() |
byte[] |
getStop() |
int |
hashCode() |
void |
readExternal(DataInput in)
Deserialize this split.
|
String |
toString() |
void |
writeExternal(DataOutput out)
Serializing this split.
|
public TableSplit()
public TableSplit(byte[] start, byte[] stop)
public byte[] getStart()
public byte[] getStop()
public void writeExternal(DataOutput out) throws IOException
Split
writeExternal
in class Split
out
- the DataOutput
for writing out this split informationIOException
- if failed to serializepublic void readExternal(DataInput in) throws IOException
Split
readExternal
in class Split
in
- the DataInput
to read back the split information.IOException
- if failed to deserializeCopyright © 2022 Cask Data, Inc. Licensed under the Apache License, Version 2.0.