Package org.apache.iceberg.rest.requests
Class CommitTransactionRequest
- java.lang.Object
-
- org.apache.iceberg.rest.requests.CommitTransactionRequest
-
- All Implemented Interfaces:
RESTMessage
,RESTRequest
public class CommitTransactionRequest extends java.lang.Object implements RESTRequest
-
-
Constructor Summary
Constructors Constructor Description CommitTransactionRequest(java.util.List<UpdateTableRequest> tableChanges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<UpdateTableRequest>
tableChanges()
void
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
-
-
Constructor Detail
-
CommitTransactionRequest
public CommitTransactionRequest(java.util.List<UpdateTableRequest> tableChanges)
-
-
Method Detail
-
tableChanges
public java.util.List<UpdateTableRequest> tableChanges()
-
validate
public void validate()
Description copied from interface:RESTMessage
Ensures that a constructed instance of a REST message is valid according to the REST spec.This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Specified by:
validate
in interfaceRESTMessage
-
-