OmniSciDB  a987f07e93
 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

Definition at line 25 of file HeavyAIData.java.

Constructor & Destructor Documentation

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

Definition at line 31 of file HeavyAIData.java.

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

31  {
32  tcolumn = new TColumn();
33  colType = col_type;
34  tcolumn.data = new TColumnData();
35  }

Member Function Documentation

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

Definition at line 37 of file HeavyAIData.java.

37  {
38  tcolumn.data.addToStr_col(value);
39  tcolumn.addToNulls(false);
40  }
void ai.heavy.jdbc.HeavyAIData.add ( int  value)
inlinepackage

Definition at line 42 of file HeavyAIData.java.

42  {
43  tcolumn.data.addToInt_col(value);
44  tcolumn.addToNulls(false);
45  }
TColumn ai.heavy.jdbc.HeavyAIData.getTColumn ( )
inlinepackage

Definition at line 55 of file HeavyAIData.java.

References ai.heavy.jdbc.HeavyAIData.tcolumn.

55  {
56  return tcolumn;
57  }
void ai.heavy.jdbc.HeavyAIData.setNull ( boolean  b)
inlinepackage

Definition at line 47 of file HeavyAIData.java.

References ai.heavy.jdbc.HeavyAIData.colType.

47  {
48  if (colType == TDatumType.STR)
49  tcolumn.data.addToStr_col(null);
50  else
51  tcolumn.data.addToInt_col(0);
52  tcolumn.addToNulls(b);
53  }

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 26 of file HeavyAIData.java.

TColumn ai.heavy.jdbc.HeavyAIData.tcolumn
package

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