KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > storagemanager > RunningQuery


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.storagemanager;
13
14 import com.versant.core.jdo.QueryDetails;
15
16 /**
17  * This identifies the "server side" of a query executed by a StorageManager.
18  * Methods on StorageManager that return data from a query use one of these
19  * to identify the query.
20  *
21  * @see ExecuteQueryReturn
22  * @see StorageManager#fetchNextQueryResult
23  */

24 public interface RunningQuery {
25
26     /**
27      * Return the QueryDetails this query was compiled from. This method
28      * may return null if this information is not available.
29      */

30     public QueryDetails getQueryDetails();
31
32 }
33
34
Popular Tags