Exemple #1
0
    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
Exemple #2
0
	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
Exemple #3
0
	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
Exemple #4
0
    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
Exemple #5
0
	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
Exemple #6
0
    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()