public class OSSTaskConfig extends Object
| 构造器和说明 |
|---|
OSSTaskConfig()
Initialize the OSSTaskConfig instance
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addParquetSchema(ParquetSchema parquetSchema)
Add data delivery column
|
EventColumn |
getEventTimeColumn()
Get the event time column name
|
OSSFileFormat |
getFormat()
Get the file format delivered to OSS, currently only supports parquet format
|
String |
getOssBucket()
Get OSS Bucket
|
String |
getOssEndpoint()
Get OSS endpoint
|
String |
getOssPrefix()
Get the OSS path prefix
|
String |
getOssStsRole()
Get StsRole
|
List<ParquetSchema> |
getParquetSchemaList()
Get the delivery task schema
|
TimeFormatter |
getTimeFormatter()
Get the OSS partition format for delivery, currently only supports year-month-day format.
|
void |
setEventTimeColumn(EventColumn eventTimeColumn)
Set the event time column name
|
void |
setFormat(OSSFileFormat format)
Set the file format delivered to OSS
|
void |
setOssBucket(String ossBucket)
Set OSS Bucket
|
void |
setOssEndpoint(String ossEndpoint)
Set OSS endpoint
|
void |
setOssPrefix(String ossPrefix)
Set the OSS path prefix
|
void |
setOssStsRole(String ossStsRole)
Set StsRole
|
void |
setTimeFormatter(TimeFormatter timeFormatter)
Set the OSS partition format for delivery
|
String |
toString() |
public String getOssPrefix()
public void setOssPrefix(String ossPrefix)
ossPrefix - The OSS path prefixpublic TimeFormatter getTimeFormatter()
public void setTimeFormatter(TimeFormatter timeFormatter)
timeFormatter - The OSS partition format for deliverypublic String getOssBucket()
public void setOssBucket(String ossBucket)
ossBucket - OSS Bucketpublic String getOssEndpoint()
public void setOssEndpoint(String ossEndpoint)
ossEndpoint - OSS endpointpublic String getOssStsRole()
public void setOssStsRole(String ossStsRole)
ossStsRole - StsRolepublic EventColumn getEventTimeColumn()
public void setEventTimeColumn(EventColumn eventTimeColumn)
eventTimeColumn - The name of the event time columnpublic OSSFileFormat getFormat()
public void setFormat(OSSFileFormat format)
format - public List<ParquetSchema> getParquetSchemaList()
public void addParquetSchema(ParquetSchema parquetSchema)
parquetSchema - Copyright © 2025. All Rights Reserved.