Class MergedResult
java.lang.Object
org.h2.result.MergedResult
Merged result. Used to combine several results into one. Merged result will
contain rows from all appended results. Results are not required to have the
same lists of columns, but required to have compatible column definitions,
for example, if one result has a
Types.VARCHAR column
NAME then another results that have NAME column should also
define it with the same type.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArrayList<SimpleResult.Column> private final ArrayList<Map<SimpleResult.Column, Value>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ResultInterface result) Appends a result.Returns merged results.toString()
-
Field Details
-
data
-
columns
-
-
Constructor Details
-
MergedResult
public MergedResult()
-
-
Method Details
-
add
-
getResult
Returns merged results.- Returns:
- result with rows from all appended result sets
-
toString
-