public final class JobContext extends Object implements Serializable
| 构造器和说明 |
|---|
JobContext() |
JobContext(Long jobId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addSchema(String tableName,
TableSchema tableSchema)
Put table schema.
|
String |
getJobId() |
JobMode |
getJobMode() |
Optional<TableSchema> |
getSchema(String tableName)
Get table schema.
|
JobContext |
setJobMode(JobMode jobMode) |
public JobContext()
public JobContext(Long jobId)
public void addSchema(String tableName, TableSchema tableSchema)
tableName - table nametableSchema - table schemapublic Optional<TableSchema> getSchema(String tableName)
tableName - table name.public JobContext setJobMode(JobMode jobMode)
public JobMode getJobMode()
public String getJobId()
Copyright © 2024 The Apache Software Foundation. All rights reserved.