OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.omnisci.jdbc.OmniSciData Class Reference
+ Collaboration diagram for com.omnisci.jdbc.OmniSciData:

Package Functions

 OmniSciData (TDatumType col_type)
 
void add (String value)
 
void add (int value)
 
void setNull (boolean b)
 
TColumn getTColumn ()
 

Package Attributes

TColumn tcolumn
 

Static Package Attributes

static final Logger logger = LoggerFactory.getLogger(OmniSciData.class)
 

Private Attributes

TDatumType colType
 

Detailed Description

Author
michael

Definition at line 29 of file OmniSciData.java.

Constructor & Destructor Documentation

com.omnisci.jdbc.OmniSciData.OmniSciData ( TDatumType  col_type)
inlinepackage

Definition at line 35 of file OmniSciData.java.

References com.omnisci.jdbc.OmniSciData.colType, and com.omnisci.jdbc.OmniSciData.tcolumn.

35  {
36  tcolumn = new TColumn();
37  colType = col_type;
38  tcolumn.data = new TColumnData();
39  }

Member Function Documentation

void com.omnisci.jdbc.OmniSciData.add ( String  value)
inlinepackage

Definition at line 41 of file OmniSciData.java.

41  {
42  tcolumn.data.addToStr_col(value);
43  tcolumn.addToNulls(false);
44  }
void com.omnisci.jdbc.OmniSciData.add ( int  value)
inlinepackage

Definition at line 46 of file OmniSciData.java.

46  {
47  tcolumn.data.addToInt_col(value);
48  tcolumn.addToNulls(false);
49  }
TColumn com.omnisci.jdbc.OmniSciData.getTColumn ( )
inlinepackage

Definition at line 59 of file OmniSciData.java.

References com.omnisci.jdbc.OmniSciData.tcolumn.

59  {
60  return tcolumn;
61  }
void com.omnisci.jdbc.OmniSciData.setNull ( boolean  b)
inlinepackage

Definition at line 51 of file OmniSciData.java.

References com.omnisci.jdbc.OmniSciData.colType.

51  {
52  if (colType == TDatumType.STR)
53  tcolumn.data.addToStr_col(null);
54  else
55  tcolumn.data.addToInt_col(0);
56  tcolumn.addToNulls(b);
57  }

Member Data Documentation

TDatumType com.omnisci.jdbc.OmniSciData.colType
private
final Logger com.omnisci.jdbc.OmniSciData.logger = LoggerFactory.getLogger(OmniSciData.class)
staticpackage

Definition at line 30 of file OmniSciData.java.

TColumn com.omnisci.jdbc.OmniSciData.tcolumn
package

The documentation for this class was generated from the following file: