| Package | Description |
|---|---|
| com.aliyun.odps.table.write | |
| com.aliyun.odps.table.write.impl |
| Modifier and Type | Method and Description |
|---|---|
TableWriteSessionBuilder |
TableWriteSessionBuilder.identifier(TableIdentifier identifier)
Set the write target to a specific table by
TableIdentifier. |
TableWriteSessionBuilder |
TableWriteSessionBuilder.overwrite(boolean overwrite)
Configures a write to replace all existing data with data committed in the write.
|
TableWriteSessionBuilder |
TableWriteSessionBuilder.partition(PartitionSpec partitionSpec)
Set the write target to a specific/dynamic partition by
PartitionSpec. |
TableWriteSessionBuilder |
TableWriteSessionBuilder.table(Table table)
Set the write target to a specific table by
Table. |
TableWriteSessionBuilder |
TableWriteSessionBuilder.withArrowOptions(ArrowOptions options)
Set the arrow options
ArrowOptions. |
TableWriteSessionBuilder |
TableWriteSessionBuilder.withCapabilities(TableWriteCapabilities capabilities)
Set the table write capabilities
|
TableWriteSessionBuilder |
TableWriteSessionBuilder.withDynamicPartitionOptions(DynamicPartitionOptions options)
Set the dynamic partition options
DynamicPartitionOptions. |
TableWriteSessionBuilder |
TableWriteSessionBuilder.withMaxFieldSize(long maxFieldSize)
Specify the maximum data size allowed to be written for the varchar/char/string/binary type.
|
TableWriteSessionBuilder |
TableWriteSessionBuilder.withSessionId(String sessionId)
Set the table write session id.
|
TableWriteSessionBuilder |
TableWriteSessionBuilder.withSessionProvider(String provider)
Set the table write session provider.
|
TableWriteSessionBuilder |
TableWriteSessionBuilder.withSettings(EnvironmentSettings settings)
Set the table environment settings
EnvironmentSettings. |
| Modifier and Type | Method and Description |
|---|---|
default TableBatchWriteSession |
TableWriteSessionProvider.createBatchWriteSession(TableWriteSessionBuilder builder)
Creates a
TableBatchWriteSession instance |
default TableStreamingWriteSession |
TableWriteSessionProvider.createStreamingWriteSession(TableWriteSessionBuilder builder)
Creates a
TableStreamingWriteSession instance |
default TableUpsertSession |
TableWriteSessionProvider.createUpsertSession(TableWriteSessionBuilder builder)
Creates a
TableUpsertSession instance |
| Modifier and Type | Method and Description |
|---|---|
TableBatchWriteSession |
TableWriteSessionProviderImpl.createBatchWriteSession(TableWriteSessionBuilder builder) |
Copyright © 2024 Alibaba Cloud Computing. All rights reserved.