提交 5b9da0cd authored 作者: tledkov-gridgain's avatar tledkov-gridgain

#1405 Introduce LocalResult factory: javadoc

上级 56299cc7
......@@ -5,23 +5,25 @@
*/
package org.h2.result;
import org.h2.engine.SessionInterface;
import org.h2.engine.SysProperties;
import org.h2.value.Value;
/**
* A local result set contains all row data of a result set.
* This is the object generated by engine,
* The object is generated by {@link LocalResultFactory},
* and it is also used directly by the ResultSet class in the embedded mode.
* If the result does not fit in memory, it is written to a temporary file.
* The memory usage and other policies are defined by implementation.
*/
public interface LocalResult extends ResultInterface, ResultTarget {
/**
* @param maxValue
* Redefine count of maximum rows holds in memory for the result.
*
* @param maxValue Maximum rows count in memory.
*
* @see SysProperties#MAX_MEMORY_ROWS
*/
public void setMaxMemoryRows(int maxValue);
public LocalResult createShallowCopy(SessionInterface targetSession);
/**
* @param sort Sort order.
*/
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论