Class Block
java.lang.Object
org.aksw.commons.io.hadoop.binseach.v2.Block
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BlockSourceprotected Buffer<byte[]>protected longA physical offset in the block source - position in the encoded/compressed data.protected longA physical offset in the block source - position in the encoded/compressed data. -
Constructor Summary
ConstructorsConstructorDescriptionBlock(BlockSource blockSource, Buffer<byte[]> buffer, long thisBlockId, long nextBlockId) -
Method Summary
-
Field Details
-
thisBlockId
protected long thisBlockIdA physical offset in the block source - position in the encoded/compressed data. -
nextBlockId
protected long nextBlockIdA physical offset in the block source - position in the encoded/compressed data. -
buffer
-
blockSource
-
-
Constructor Details
-
Block
-
Block
-
-
Method Details
-
getBuffer
-
getNextBlockId
public long getNextBlockId() -
getThisBlockId
public long getThisBlockId() -
size
public int size()
-