def __init__(self, jprogress: JavaObject) -> None: self._jprogress: JavaObject = jprogress self._description: str = jprogress.description() self._startOffset: str = jprogress.startOffset() self._endOffset: str = jprogress.endOffset() self._latestOffset: str = jprogress.latestOffset() self._numInputRows: int = jprogress.numInputRows() self._inputRowsPerSecond: float = jprogress.inputRowsPerSecond() self._processedRowsPerSecond: float = jprogress.processedRowsPerSecond() self._metrics: Dict[str, str] = dict(jprogress.metrics())
def __init__(self, jprogress: JavaObject) -> None: self._jprogress: JavaObject = jprogress self._description: str = jprogress.description() self._numOutputRows: int = jprogress.numOutputRows() self._metrics: Dict[str, str] = dict(jprogress.metrics())