File D:\maven-qcr-plugin-testsunitaires\qcr4java\h2-1.3.170-sources\target\site\qc\lecode\result\ResultTarget.java.html

1 /*
2 * Copyright 2004-2011 H2 Group. Multiple-Licensed under the H2 License,
3 * Version 1.0, and under the Eclipse Public License, Version 1.0
4 * (http://h2database.com/html/license.html).
5 * Initial Developer: H2 Group
6 */
7 package org.h2.result;
8
9 import org.h2.value.Value;
10
11 /**
12 * A object where rows are written to.
13 */
14 public interface ResultTarget {
15
16 /**
17 * Add the row to the result set.
18 *
19 * @param values the values
20 */
21 void addRow(Value[] values);
22
23 /**
24 * Get the number of rows.
25 *
26 * @return the number of rows
27 */
28 int getRowCount();
29
30 }
31