KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > fulltext > common > _FullTextAdapter


1 package com.daffodilwoods.fulltext.common;
2
3 import com.daffodilwoods.database.resource.DException;
4
5 /**
6  * <p>Title: _FullTextAdapter </p>
7  * <p>Description: This interface assists the user to perform the manipulation
8  * into the internal tables that are created to enable full-text feature.</p>
9  * <p>Copyright: Copyright (c) 2003</p>
10  * <p>Company: </p>
11  * @author not attributable
12  * @version 1.0
13  */

14 public interface _FullTextAdapter {
15   /**
16    * This method is required to determine character encoding i.e. ascii or
17    * unicode encoding.
18    * @return false if ascii encoding is used, false otherwise.
19    */

20    boolean encoding();
21    /**
22     * This method provides an interface to perform manipulations on the TOKEN
23     * table that is created for each full-text enabled column and corresponding
24     * updaions are made into TOKEN table whenever DML operations are performed
25     * on actual table having the full-text enabled column.
26     * @return an interface to perform insert/update/delete on internal token table
27     * @throws DException
28     */

29    _FullTextModifications getTokenTable() throws DException;
30    /**
31     * This method provides an interface to perform manipulations on the LOCATION
32     * table that is created for each full-text enabled column and corresponding
33     * updations are made into LOCATION table whenever DML operations are performed
34     * on actual table having the full-text enabled column.
35     * @return an interface to perform insert/update/delete on internal location table
36     * @throws DException
37     */

38    _FullTextModifications getLocationTable() throws DException;
39    /**
40     * Determines the index of full-text enabled column in the actual table.
41     * @return index of full-text enable column into table
42     * @throws DException
43     */

44    int[] getColumnIndex() throws DException;
45 }
46
Popular Tags