public abstract class StreamTask
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected StreamSession |
session
StreamSession that this task belongs
|
protected TableId |
tableId |
Modifier | Constructor and Description |
---|---|
protected |
StreamTask(StreamSession session,
TableId tableId) |
Modifier and Type | Method and Description |
---|---|
abstract void |
abort()
Abort the task.
|
StreamSummary |
getSummary() |
abstract int |
getTotalNumberOfFiles() |
abstract long |
getTotalSize() |
protected final StreamSession session
protected final TableId tableId
protected StreamTask(StreamSession session, TableId tableId)
public abstract int getTotalNumberOfFiles()
public abstract long getTotalSize()
public abstract void abort()
public StreamSummary getSummary()
Copyright © 2009-2021 The Apache Software Foundation