public class BatchWriteBuilderImpl extends Object implements BatchWriteBuilder
WriteBuilder.COMMIT_IDENTIFIER| Constructor and Description |
|---|
BatchWriteBuilderImpl(InnerTable table) |
| Modifier and Type | Method and Description |
|---|---|
BatchTableCommit |
newCommit()
Create a
TableCommit to commit CommitMessages. |
BatchTableWrite |
newWrite()
Create a
TableWrite to write InternalRows. |
Optional<WriteSelector> |
newWriteSelector()
Create a
WriteSelector to partition records before writers. |
RowType |
rowType()
Returns the row type of this table.
|
String |
tableName()
A name to identify this table.
|
BatchWriteBuilder |
withOverwrite(Map<String,String> staticPartition)
Overwrite writing, same as the 'INSERT OVERWRITE T PARTITION (...)' semantics of SQL.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithOverwritepublic BatchWriteBuilderImpl(InnerTable table)
public String tableName()
WriteBuildertableName in interface WriteBuilderpublic RowType rowType()
WriteBuilderrowType in interface WriteBuilderpublic Optional<WriteSelector> newWriteSelector()
WriteBuilderWriteSelector to partition records before writers.newWriteSelector in interface WriteBuilderpublic BatchWriteBuilder withOverwrite(@Nullable Map<String,String> staticPartition)
BatchWriteBuilderwithOverwrite in interface BatchWriteBuilderpublic BatchTableWrite newWrite()
BatchWriteBuilderTableWrite to write InternalRows.newWrite in interface BatchWriteBuildernewWrite in interface WriteBuilderpublic BatchTableCommit newCommit()
BatchWriteBuilderTableCommit to commit CommitMessages.newCommit in interface BatchWriteBuildernewCommit in interface WriteBuilderCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.