U
    dª/eÈ  ã                   @   s,   d dl mZ d dlmZ G dd„ deƒZdS )é   )Úread_binary_uint8)Úread_varintc                       s$   e Zd Z‡ fdd„Zdd„ Z‡  ZS )ÚBlockStreamProfileInfoc                    s6   d| _ d| _d| _d| _d| _d| _tt| ƒ ¡  d S )Né    F)	ÚrowsÚblocksÚbytesÚapplied_limitÚrows_before_limitÚcalculated_rows_before_limitÚsuperr   Ú__init__)Úself©Ú	__class__© úL/tmp/pip-unpacked-wheel-mds_o03w/clickhouse_driver/blockstreamprofileinfo.pyr      s    zBlockStreamProfileInfo.__init__c                 C   sH   t |ƒ| _t |ƒ| _t |ƒ| _tt|ƒƒ| _t |ƒ| _tt|ƒƒ| _d S )N)	r   r   r   r   Úboolr   r	   r
   r   )r   Zfinr   r   r   Úread   s    



zBlockStreamProfileInfo.read)Ú__name__Ú
__module__Ú__qualname__r   r   Ú__classcell__r   r   r   r   r      s   
r   N)Úreaderr   Zvarintr   Úobjectr   r   r   r   r   Ú<module>   s   