OmniSciDB  04ee39c94c
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

◆ OmniSciData()

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

Definition at line 35 of file OmniSciData.java.

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

Member Function Documentation

◆ add() [1/2]

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  }

◆ add() [2/2]

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  }

◆ getTColumn()

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  }

◆ setNull()

void com.omnisci.jdbc.OmniSciData.setNull ( boolean  b)
inlinepackage

Definition at line 51 of file OmniSciData.java.

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

◆ colType

TDatumType com.omnisci.jdbc.OmniSciData.colType
private

Definition at line 31 of file OmniSciData.java.

◆ logger

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

Definition at line 30 of file OmniSciData.java.

◆ tcolumn

TColumn com.omnisci.jdbc.OmniSciData.tcolumn
package

Definition at line 33 of file OmniSciData.java.

Referenced by com.omnisci.jdbc.OmniSciData.getTColumn().


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