public class WriteResponse extends Object
Constructor and Description |
---|
WriteResponse()
Constructs response with empty requestResults sized for 1.
|
Modifier and Type | Method and Description |
---|---|
void |
addRow(Set<ResponseValue> values)
Adds request result.
|
void |
addRowsAffected(int rowsAffected)
Adds to rows affected.
|
void |
addWriteResponse(WriteResponse response)
Appends contents of response.
|
List<Set<ResponseValue>> |
getRows()
Returns inserted results, otherwise empty (non-null).
|
int |
getRowsAffected()
Returns number of rows affected.
|
public WriteResponse()
public void addRow(Set<ResponseValue> values)
public void addRowsAffected(int rowsAffected)
public void addWriteResponse(WriteResponse response)
public List<Set<ResponseValue>> getRows()
public int getRowsAffected()
Copyright © 2011-2018 restSQL Project Contributors