OmniSciDB  085a039ca4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ai.heavy.jdbc.HeavyAIData Class Reference
+ Collaboration diagram for ai.heavy.jdbc.HeavyAIData:

Package Functions

 HeavyAIData (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(HeavyAIData.class)
 

Private Attributes

TDatumType colType
 

Detailed Description

Author
michael

Definition at line 29 of file HeavyAIData.java.

Constructor & Destructor Documentation

ai.heavy.jdbc.HeavyAIData.HeavyAIData ( TDatumType  col_type)
inlinepackage

Definition at line 35 of file HeavyAIData.java.

References ai.heavy.jdbc.HeavyAIData.colType, and ai.heavy.jdbc.HeavyAIData.tcolumn.

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

Member Function Documentation

void ai.heavy.jdbc.HeavyAIData.add ( String  value)
inlinepackage

Definition at line 41 of file HeavyAIData.java.

41  {
42  tcolumn.data.addToStr_col(value);
43  tcolumn.addToNulls(false);
44  }
void ai.heavy.jdbc.HeavyAIData.add ( int  value)
inlinepackage

Definition at line 46 of file HeavyAIData.java.

46  {
47  tcolumn.data.addToInt_col(value);
48  tcolumn.addToNulls(false);
49  }
TColumn ai.heavy.jdbc.HeavyAIData.getTColumn ( )
inlinepackage

Definition at line 59 of file HeavyAIData.java.

References ai.heavy.jdbc.HeavyAIData.tcolumn.

59  {
60  return tcolumn;
61  }
void ai.heavy.jdbc.HeavyAIData.setNull ( boolean  b)
inlinepackage

Definition at line 51 of file HeavyAIData.java.

References ai.heavy.jdbc.HeavyAIData.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 ai.heavy.jdbc.HeavyAIData.colType
private
final Logger ai.heavy.jdbc.HeavyAIData.logger = LoggerFactory.getLogger(HeavyAIData.class)
staticpackage

Definition at line 30 of file HeavyAIData.java.

TColumn ai.heavy.jdbc.HeavyAIData.tcolumn
package

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