public class ResultBatch extends io.netty.util.AbstractReferenceCounted implements AutoCloseable
| Constructor and Description |
|---|
ResultBatch(String command,
Long rowsAffected,
Long insertedOid,
ResultField[] fields,
RowDataSet rows) |
| Modifier and Type | Method and Description |
|---|---|
RowDataSet |
borrowRows() |
void |
clearRowsAffected() |
void |
close() |
protected void |
deallocate() |
String |
getCommand() |
ResultField[] |
getFields() |
Long |
getInsertedOid() |
Long |
getRowsAffected() |
boolean |
hasRows() |
boolean |
hasRowsAffected() |
boolean |
isEmpty() |
RowDataSet |
takeRows() |
String |
toString() |
ResultBatch |
touch(Object hint) |
public ResultBatch(String command, Long rowsAffected, Long insertedOid, ResultField[] fields, RowDataSet rows)
public boolean hasRows()
public boolean isEmpty()
public String getCommand()
public boolean hasRowsAffected()
public Long getRowsAffected()
public Long getInsertedOid()
public ResultField[] getFields()
public RowDataSet borrowRows()
public RowDataSet takeRows()
public void clearRowsAffected()
protected void deallocate()
deallocate in class io.netty.util.AbstractReferenceCountedpublic ResultBatch touch(Object hint)
touch in interface io.netty.util.ReferenceCountedpublic void close()
close in interface AutoCloseable