01 /*
02 * IndexedCorpus.java
03 *
04 * Copyright (c) 1995-2010, The University of Sheffield. See the file
05 * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
06 *
07 * This file is part of GATE (see http://gate.ac.uk/), and is free
08 * software, licenced under the GNU Library General Public License,
09 * Version 2, June 1991 (in the distribution as file licence.html,
10 * and also available at http://gate.ac.uk/gate/licence.html).
11 *
12 * Rosen Marinov, 19/Apr/2002
13 *
14 */
15
16 package gate.creole.ir;
17
18 import gate.Corpus;
19
20 public interface IndexedCorpus extends Corpus{
21
22 /** Sets the definition to this corpus.
23 * @param definition of index for this corpus
24 */
25 public void setIndexDefinition(IndexDefinition definition);
26
27 /** @return IndexDefinition definition of index for this corpus. */
28 public IndexDefinition getIndexDefinition();
29
30 /** @return IndexManager manager object for this corpus. It creates
31 * after seting of IndexDefinition by indexType property. */
32 public IndexManager getIndexManager();
33
34 /** @return IndexStatistics statistics for this index. */
35 public IndexStatistics getIndexStatistics();
36
37 }
|