01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.storagemanager;
12:
13: import com.versant.core.jdo.QueryDetails;
14:
15: /**
16: * This identifies the "server side" of a query executed by a StorageManager.
17: * Methods on StorageManager that return data from a query use one of these
18: * to identify the query.
19: *
20: * @see ExecuteQueryReturn
21: * @see StorageManager#fetchNextQueryResult
22: */
23: public interface RunningQuery {
24:
25: /**
26: * Return the QueryDetails this query was compiled from. This method
27: * may return null if this information is not available.
28: */
29: public QueryDetails getQueryDetails();
30:
31: }
|