Class InsertRowsParam.Builder

    • Method Detail

      • withCollectionName

        public InsertRowsParam.Builder withCollectionName​(@NonNull
                                                          @NonNull java.lang.String collectionName)
        Sets the collection name. Collection name cannot be empty or null.
        Parameters:
        collectionName - collection name
        Returns:
        Builder
      • withRows

        public InsertRowsParam.Builder withRows​(@NonNull
                                                @NonNull java.util.List<com.alibaba.fastjson.JSONObject> rows)
        Sets the row data to insert. The rows list cannot be empty.
        Parameters:
        rows - insert row data
        Returns:
        Builder
        See Also:
        JSONObject