public class ResultTempTable extends Object implements ResultExternal
| 限定符和类型 | 方法和说明 |
|---|---|
int |
addRow(Value[] values)
Add a row to this object.
|
int |
addRows(ArrayList<Value[]> rows)
Add a number of rows to the result.
|
void |
close()
Close this object and delete the temporary file.
|
boolean |
contains(Value[] values)
Check if the given row exists in this object.
|
ResultExternal |
createShallowCopy()
Create a shallow copy of this object if possible.
|
void |
done()
This method is called after all rows have been added.
|
Value[] |
next()
Get the next row from the result.
|
int |
removeRow(Value[] values)
Remove the row with the given values from this object if such a row
exists.
|
void |
reset()
Reset the current position of this object.
|
public ResultExternal createShallowCopy()
ResultExternalcreateShallowCopy 在接口中 ResultExternalpublic int removeRow(Value[] values)
ResultExternalremoveRow 在接口中 ResultExternalvalues - the rowpublic boolean contains(Value[] values)
ResultExternalcontains 在接口中 ResultExternalvalues - the rowpublic int addRow(Value[] values)
ResultExternaladdRow 在接口中 ResultExternalvalues - the row to addpublic int addRows(ArrayList<Value[]> rows)
ResultExternaladdRows 在接口中 ResultExternalrows - the list of rows to addpublic void close()
ResultExternalclose 在接口中 ResultExternalpublic void done()
ResultExternaldone 在接口中 ResultExternalpublic Value[] next()
ResultExternalnext 在接口中 ResultExternalpublic void reset()
ResultExternalreset 在接口中 ResultExternalCopyright © 2017. All rights reserved.