public static class InsertRowsParam.Builder
extends java.lang.Object
InsertRowsParam class.| Modifier and Type | Method and Description |
|---|---|
InsertRowsParam |
build()
Verifies parameters and creates a new
InsertRowsParam instance. |
InsertRowsParam.Builder |
withCollectionName(@NonNull java.lang.String collectionName)
Sets the collection name.
|
InsertRowsParam.Builder |
withRows(@NonNull java.util.List<com.google.gson.JsonObject> rows)
Sets the row data to insert.
|
public InsertRowsParam.Builder withCollectionName(@NonNull @NonNull java.lang.String collectionName)
collectionName - collection nameBuilderpublic InsertRowsParam.Builder withRows(@NonNull @NonNull java.util.List<com.google.gson.JsonObject> rows)
rows - insert row dataBuilderJsonObjectpublic InsertRowsParam build() throws ParamException
InsertRowsParam instance.InsertRowsParamParamException