KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > jdo > QueryResult


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.jdo;
13
14 import java.util.Iterator JavaDoc;
15 import java.util.List JavaDoc;
16
17 /**
18  * Interface for collections returned by JDOQL queries.
19  *
20  * @see QueryResultBase
21  * @see ForwardQueryResult
22  * @see RandomAccessQueryResult
23  * @see MemoryQueryResult
24  */

25 public interface QueryResult extends List JavaDoc {
26
27     public QueryResult getNext();
28
29     public void setNext(QueryResult next);
30
31     public QueryResult getPrev();
32
33     public void setPrev(QueryResult prev);
34
35     /**
36      * Close all open iterators.
37      */

38     public void close();
39
40     public void setParams(Object JavaDoc[] params);
41
42     public Iterator JavaDoc createInternalIterNoFlush();
43
44 }
45
Popular Tags