Class Block
java.lang.Object
org.aksw.commons.io.hadoop.binseach.v2.Block
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BlockSourceprotected org.aksw.commons.io.buffer.plain.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(org.aksw.commons.io.buffer.plain.Buffer<byte[]> buffer, long thisBlockId, long nextBlockId) Block(BlockSource blockSource, org.aksw.commons.io.buffer.plain.Buffer<byte[]> buffer, long thisBlockId, long nextBlockId) -
Method Summary
Modifier and TypeMethodDescriptionorg.aksw.commons.io.buffer.plain.Buffer<byte[]>longlongintsize()
-
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
protected org.aksw.commons.io.buffer.plain.Buffer<byte[]> buffer -
blockSource
-
-
Constructor Details
-
Block
public Block(BlockSource blockSource, org.aksw.commons.io.buffer.plain.Buffer<byte[]> buffer, long thisBlockId, long nextBlockId) -
Block
public Block(org.aksw.commons.io.buffer.plain.Buffer<byte[]> buffer, long thisBlockId, long nextBlockId)
-
-
Method Details
-
getBuffer
public org.aksw.commons.io.buffer.plain.Buffer<byte[]> getBuffer() -
getNextBlockId
public long getNextBlockId() -
getThisBlockId
public long getThisBlockId() -
size
public int size()
-