public static final class CommitInfo.Builder
extends Object
CommitInfo
. Enables construction of CommitInfo
s with
default values.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CommitInfo |
build()
Builds a
CommitInfo using the provided parameters. |
CommitInfo.Builder |
clusterId(String clusterId) |
CommitInfo.Builder |
engineInfo(String engineInfo) |
CommitInfo.Builder |
isBlindAppend(Boolean isBlindAppend) |
CommitInfo.Builder |
isolationLevel(String isolationLevel) |
CommitInfo.Builder |
jobInfo(JobInfo jobInfo) |
CommitInfo.Builder |
notebookInfo(NotebookInfo notebookInfo) |
CommitInfo.Builder |
operation(String operation) |
CommitInfo.Builder |
operationMetrics(java.util.Map<String,String> operationMetrics) |
CommitInfo.Builder |
operationParameters(java.util.Map<String,String> operationParameters) |
CommitInfo.Builder |
readVersion(Long readVersion) |
CommitInfo.Builder |
timestamp(java.sql.Timestamp timestamp) |
CommitInfo.Builder |
userId(String userId) |
CommitInfo.Builder |
userMetadata(String userMetadata) |
CommitInfo.Builder |
userName(String userName) |
CommitInfo.Builder |
version(Long version) |
public CommitInfo.Builder version(Long version)
public CommitInfo.Builder timestamp(@Nullable java.sql.Timestamp timestamp)
public CommitInfo.Builder userId(@Nullable String userId)
public CommitInfo.Builder userName(String userName)
public CommitInfo.Builder operation(String operation)
public CommitInfo.Builder operationParameters(@Nullable java.util.Map<String,String> operationParameters)
public CommitInfo.Builder jobInfo(JobInfo jobInfo)
public CommitInfo.Builder notebookInfo(NotebookInfo notebookInfo)
public CommitInfo.Builder clusterId(String clusterId)
public CommitInfo.Builder readVersion(Long readVersion)
public CommitInfo.Builder isolationLevel(String isolationLevel)
public CommitInfo.Builder isBlindAppend(Boolean isBlindAppend)
public CommitInfo.Builder operationMetrics(java.util.Map<String,String> operationMetrics)
public CommitInfo.Builder userMetadata(String userMetadata)
public CommitInfo.Builder engineInfo(String engineInfo)
public CommitInfo build()
CommitInfo
using the provided parameters. If a parameter is not provided
its default values is used.CommitInfo
with the properties added to the builder