home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEPLOY / ORACLEAD.Z / OracleChannel.h < prev    next >
Text File  |  1996-09-09  |  1KB  |  43 lines

  1. // OracleChannel.h 
  2. // Copyright (c) 1994, NeXT Software, Inc.  All rights reserved.
  3.  
  4. #import <EOAccess/EOAccess.h>
  5.  
  6. @class OracleContext;
  7.  
  8. @interface OracleChannel:EOAdaptorChannel
  9. {
  10.     struct cda_def *_cda;
  11.     id _currentExpression;    
  12.     NSArray *_selectedAttributes;
  13.     NSMutableArray *_selectedColumns;
  14.     unsigned _fetchBufferLength;
  15.     unsigned _rowCapacity;
  16.     unsigned _rowsInBuffer;
  17.     unsigned _nextRowInBuffer;
  18.     unsigned _rowsProcessedCount;
  19.     NSMutableArray *_bindVariables;
  20.     NSString *_lastStatementParsed;
  21.     BOOL _beganTransaction;
  22.     BOOL _fetchInProgress;
  23.     BOOL _opened;
  24.     struct cda_def *_extraCda;
  25. }
  26.  
  27. - initWithOracleContext:(OracleContext *)logon;
  28.  
  29. - (struct cda_def *)cursorDataArea;
  30.     // This returns NULL if the channel is not connected.
  31.  
  32. - (void)setFetchBufferLength:(unsigned)length;
  33. - (unsigned)fetchBufferLength;
  34.     // These are to manipulate how much memory to use as a fetch buffer.  The
  35.     // larger the buffer, the more rows that can be returned for each round
  36.     // trip to the server.
  37.  
  38. - (void)raiseOracleError;
  39.     // Used internally for error checking. Examines oracle structures for error
  40.     // flags and raises an exception if one is found.
  41. @end
  42.  
  43.