gov.bnl.star.offline.scheduler.catalog
Class FileCatalog

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.catalog.FileCatalog
Direct Known Subclasses:
StarCatalog

Deprecated. please see gov.bnl.star.offline.scheduler.dataset.* for replacements. Represent the file catalog interface. To make the scheduler interoperate with other file catalog, just implement this interface in a new class.

public abstract class FileCatalog
extends java.lang.Object

Version:
$Revision: 1.11 $ $Date: 2006/11/21 00:41:31 $
Author:
Gabriele Carcassi

Constructor Summary
FileCatalog()
          Deprecated.  
 
Method Summary
abstract  java.util.Iterator executeQuery(java.lang.String query)
          Deprecated. Executes the query and returns all the results.
abstract  java.util.Iterator executeQuery(java.lang.String query, int nExpectedResults)
          Deprecated. Executes the query with an estimate on the number of results.
abstract  java.util.Iterator executeQuery(java.lang.String query, int start, int limit)
          Deprecated. Executes the query with the star/limit syntax.
static FileCatalog getCatalog()
          Deprecated. Gets the default file catalog Class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCatalog

public FileCatalog()
Deprecated. 
Method Detail

getCatalog

public static FileCatalog getCatalog()
Deprecated. 
Gets the default file catalog Class.

Returns:
the file catalog

executeQuery

public abstract java.util.Iterator executeQuery(java.lang.String query)
Deprecated. 
Executes the query and returns all the results.

Parameters:
query - the query to be executed
Returns:
a PhysicalFile iterator

executeQuery

public abstract java.util.Iterator executeQuery(java.lang.String query,
                                                int nExpectedResults)
Deprecated. 
Executes the query with an estimate on the number of results. The catalog should be able to make some optimizations in this case.

Parameters:
query - the query to be executed
nExpectedResults - an estimate of input files that are required
Returns:
a PhysicalFile iterator

executeQuery

public abstract java.util.Iterator executeQuery(java.lang.String query,
                                                int start,
                                                int limit)
Deprecated. 
Executes the query with the star/limit syntax.

Parameters:
query - the query to be executed
start - the offset from which start to read
limit - the number of records returned
Returns:
a PhysicalFile iterator


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.