slice


Description:

public RecordBatch slice (int64 offset, int64 length)

Parameters:

this

A RecordBatch.

offset

The offset of sub RecordBatch.

length

The length of sub RecordBatch.

Returns:

The sub RecordBatch. It covers only from `offset` to `offset + length` range. The sub RecordBatch shares values with the base RecordBatch.