Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

JoinCursorAdapter.java

00001 /*-
00002  * See the file LICENSE for redistribution information.
00003  *
00004  * Copyright (c) 2001-2005
00005  *      Sleepycat Software.  All rights reserved.
00006  *
00007  * $Id: JoinCursorAdapter.java,v 12.1 2005/06/16 20:23:41 bostic Exp $
00008  */
00009 
00010 package com.sleepycat.db.rpcserver;
00011 
00012 import com.sleepycat.db.*;
00013 
00014 class JoinCursorAdapter extends Cursor {
00015     JoinCursor jc;
00016 
00017     JoinCursorAdapter(Database database, JoinCursor jc)
00018         throws DatabaseException {
00019         this.database = database;
00020         this.config = new CursorConfig();
00021         this.jc = jc;
00022     }
00023 
00024     public synchronized void close()
00025         throws DatabaseException {
00026         jc.close();
00027     }
00028 
00029     public Cursor dup(boolean samePosition)
00030         throws DatabaseException {
00031         throw new UnsupportedOperationException("not supported on join cursors");
00032     }
00033 
00034     public int count()
00035         throws DatabaseException {
00036         throw new UnsupportedOperationException("not supported on join cursors");
00037     }
00038 
00039     public OperationStatus delete()
00040         throws DatabaseException {
00041         throw new UnsupportedOperationException("not supported on join cursors");
00042     }
00043 
00044     public OperationStatus getCurrent(DatabaseEntry key,
00045                                       DatabaseEntry data,
00046                                       LockMode lockMode)
00047         throws DatabaseException {
00048         throw new UnsupportedOperationException("not supported on join cursors");
00049     }
00050 
00051     public OperationStatus getFirst(DatabaseEntry key,
00052                                     DatabaseEntry data,
00053                                     LockMode lockMode)
00054         throws DatabaseException {
00055         throw new UnsupportedOperationException("not supported on join cursors");
00056     }
00057 
00058     public OperationStatus getLast(DatabaseEntry key,
00059                                    DatabaseEntry data,
00060                                    LockMode lockMode)
00061         throws DatabaseException {
00062         throw new UnsupportedOperationException("not supported on join cursors");
00063     }
00064 
00065     public OperationStatus getNext(DatabaseEntry key,
00066                                    DatabaseEntry data,
00067                                    LockMode lockMode)
00068         throws DatabaseException {
00069         throw new UnsupportedOperationException("not supported on join cursors");
00070     }
00071 
00072     public OperationStatus getNextDup(DatabaseEntry key,
00073                                       DatabaseEntry data,
00074                                       LockMode lockMode)
00075         throws DatabaseException {
00076         throw new UnsupportedOperationException("not supported on join cursors");
00077     }
00078 
00079     public OperationStatus getNextNoDup(DatabaseEntry key,
00080                                         DatabaseEntry data,
00081                                         LockMode lockMode)
00082         throws DatabaseException {
00083         throw new UnsupportedOperationException("not supported on join cursors");
00084     }
00085 
00086     public OperationStatus getPrev(DatabaseEntry key,
00087                                    DatabaseEntry data,
00088                                    LockMode lockMode)
00089         throws DatabaseException {
00090         throw new UnsupportedOperationException("not supported on join cursors");
00091     }
00092 
00093     public OperationStatus getPrevDup(DatabaseEntry key,
00094                                       DatabaseEntry data,
00095                                       LockMode lockMode)
00096         throws DatabaseException {
00097         throw new UnsupportedOperationException("not supported on join cursors");
00098     }
00099 
00100     public OperationStatus getPrevNoDup(DatabaseEntry key,
00101                                         DatabaseEntry data,
00102                                         LockMode lockMode)
00103         throws DatabaseException {
00104         throw new UnsupportedOperationException("not supported on join cursors");
00105     }
00106 
00107     public OperationStatus getRecordNumber(DatabaseEntry recno,
00108                                            LockMode lockMode)
00109         throws DatabaseException {
00110         throw new UnsupportedOperationException("not supported on join cursors");
00111     }
00112 
00113     public OperationStatus getSearchKey(DatabaseEntry key,
00114                                         DatabaseEntry data,
00115                                         LockMode lockMode)
00116         throws DatabaseException {
00117         throw new UnsupportedOperationException("not supported on join cursors");
00118     }
00119 
00120     public OperationStatus getSearchKeyRange(DatabaseEntry key,
00121                                              DatabaseEntry data,
00122                                              LockMode lockMode)
00123         throws DatabaseException {
00124         throw new UnsupportedOperationException("not supported on join cursors");
00125     }
00126 
00127     public OperationStatus getSearchBoth(DatabaseEntry key,
00128                                          DatabaseEntry data,
00129                                          LockMode lockMode)
00130         throws DatabaseException {
00131         throw new UnsupportedOperationException("not supported on join cursors");
00132     }
00133 
00134     public OperationStatus getSearchBothRange(DatabaseEntry key,
00135                                               DatabaseEntry data,
00136                                               LockMode lockMode)
00137         throws DatabaseException {
00138         throw new UnsupportedOperationException("not supported on join cursors");
00139     }
00140 
00141     public OperationStatus put(DatabaseEntry key, DatabaseEntry data)
00142         throws DatabaseException {
00143         throw new UnsupportedOperationException("not supported on join cursors");
00144     }
00145 
00146     public OperationStatus putNoOverwrite(DatabaseEntry key, DatabaseEntry data)
00147         throws DatabaseException {
00148         throw new UnsupportedOperationException("not supported on join cursors");
00149     }
00150 
00151     public OperationStatus putKeyFirst(DatabaseEntry key, DatabaseEntry data)
00152         throws DatabaseException {
00153         throw new UnsupportedOperationException("not supported on join cursors");
00154     }
00155 
00156     public OperationStatus putKeyLast(DatabaseEntry key, DatabaseEntry data)
00157         throws DatabaseException {
00158         throw new UnsupportedOperationException("not supported on join cursors");
00159     }
00160 
00161     public OperationStatus putNoDupData(DatabaseEntry key, DatabaseEntry data)
00162         throws DatabaseException {
00163         throw new UnsupportedOperationException("not supported on join cursors");
00164     }
00165 
00166     public OperationStatus putCurrent(DatabaseEntry data)
00167         throws DatabaseException {
00168         throw new UnsupportedOperationException("not supported on join cursors");
00169     }
00170 }

Generated on Sun Dec 25 12:14:48 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2