def __init__(self, serializer, path, start, size, seek_pos=-1): DataReader.__init__(self, serializer) self._path = path self._start = start self._size = size self._seek_pos = seek_pos self._data_f = None
def __init__(self, serializer, path, start, size, seek_pos = -1): DataReader.__init__(self, serializer) self._path = path self._start = start self._size = size self._seek_pos = seek_pos self._data_f = None
def __init__(self, sources, start, size): DataReader.__init__(self) self._sources = sources self._start = start self._size = size self._source_index = -1 self._source_size = 0 self._reader = None
def __init__(self, serializer, path, partition, start, size): DataReader.__init__(self, serializer) self._path = path self._partition = partition self._start = start self._size = size self._index_path = None self._data_path = None self._index_f = None self._data_f = None
def __init__(self, serializer, path, partition, start, size): DataReader.__init__(self, serializer) self._path = path self._partition = partition self._start = start self._size = size self._index_path = None self._data_path = None self._index_f = None self._data_f = None self._last_partition = self._get_last_partition()