Home
last modified time | relevance | path

Searched refs:sqlDataType (Results 1 – 25 of 37) sorted by relevance

12

/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/db/
H A DDateSplitter.java56 int sqlDataType = results.getMetaData().getColumnType(1); in split() local
57 minVal = resultSetColToLong(results, 1, sqlDataType); in split()
58 maxVal = resultSetColToLong(results, 2, sqlDataType); in split()
82 Date startDate = longToDate(start, sqlDataType); in split()
83 if (sqlDataType == Types.TIMESTAMP) { in split()
94 Date endDate = longToDate(end, sqlDataType); in split()
97 if (sqlDataType == Types.TIMESTAMP) { in split()
135 private long resultSetColToLong(ResultSet rs, int colNum, int sqlDataType) throws SQLException { in resultSetColToLong() argument
137 switch (sqlDataType) { in resultSetColToLong()
155 private Date longToDate(long val, int sqlDataType) { in longToDate() argument
[all …]
H A DOracleDataDrivenDBInputFormat.java64 protected DBSplitter getSplitter(int sqlDataType) { in getSplitter() argument
65 switch (sqlDataType) { in getSplitter()
72 return super.getSplitter(sqlDataType); in getSplitter()
H A DDataDrivenDBInputFormat.java128 protected DBSplitter getSplitter(int sqlDataType) { in getSplitter() argument
129 switch (sqlDataType) { in getSplitter()
190 int sqlDataType = results.getMetaData().getColumnType(1); in getSplits() local
191 DBSplitter splitter = getSplitter(sqlDataType); in getSplits()
193 throw new IOException("Unknown SQL data type: " + sqlDataType); in getSplits()
/dports/devel/hadoop/hadoop-1.2.1/src/mapred/org/apache/hadoop/mapreduce/lib/db/
H A DDateSplitter.java55 int sqlDataType = results.getMetaData().getColumnType(1); in split() local
56 minVal = resultSetColToLong(results, 1, sqlDataType); in split()
57 maxVal = resultSetColToLong(results, 2, sqlDataType); in split()
81 Date startDate = longToDate(start, sqlDataType); in split()
82 if (sqlDataType == Types.TIMESTAMP) { in split()
93 Date endDate = longToDate(end, sqlDataType); in split()
96 if (sqlDataType == Types.TIMESTAMP) { in split()
134 private long resultSetColToLong(ResultSet rs, int colNum, int sqlDataType) throws SQLException { in resultSetColToLong() argument
136 switch (sqlDataType) { in resultSetColToLong()
154 private Date longToDate(long val, int sqlDataType) { in longToDate() argument
[all …]
H A DOracleDataDrivenDBInputFormat.java64 protected DBSplitter getSplitter(int sqlDataType) { in getSplitter() argument
65 switch (sqlDataType) { in getSplitter()
72 return super.getSplitter(sqlDataType); in getSplitter()
H A DDataDrivenDBInputFormat.java127 protected DBSplitter getSplitter(int sqlDataType) { in getSplitter() argument
128 switch (sqlDataType) { in getSplitter()
190 int sqlDataType = results.getMetaData().getColumnType(1); in getSplits() local
191 DBSplitter splitter = getSplitter(sqlDataType); in getSplits()
193 throw new IOException("Unknown SQL data type: " + sqlDataType); in getSplits()
/dports/devel/poco/poco-1.10.1-all/Data/ODBC/include/Poco/Data/ODBC/
H A DUtility.h69 static int cDataType(int sqlDataType);
72 static int sqlDataType(int cDataType);
180 inline int Utility::cDataType(int sqlDataType) in cDataType() argument
182 return _dataTypes.cDataType(sqlDataType); in cDataType()
186 inline int Utility::sqlDataType(int cDataType) in sqlDataType() function
188 return _dataTypes.sqlDataType(cDataType); in sqlDataType()
H A DTypeInfo.h79 int cDataType(int sqlDataType) const;
82 int sqlDataType(int cDataType) const;
/dports/databases/grass7/grass-7.8.6/lib/db/dbmi_base/
H A Dcolumn.c73 column->sqlDataType = sqltype; in db_set_column_sqltype()
144 return column->sqlDataType; in db_get_column_sqltype()
493 new->sqlDataType = src->sqlDataType; in db_copy_column()
H A Dxdrcolumn.c29 DB_SEND_INT(column->sqlDataType); in db__send_column_definition()
57 DB_RECV_INT(&column->sqlDataType); in db__recv_column_definition()
/dports/databases/grass7/grass-7.8.6/lib/db/dbmi_base/test/
H A Dtest_columns.c133 if(column[0].sqlDataType != c2->sqlDataType) { in test_copy_column()
/dports/devel/poco/poco-1.10.1-all/Data/ODBC/src/
H A DTypeInfo.cpp200 int TypeInfo::cDataType(int sqlDataType) const in cDataType()
202 DataTypeMap::const_iterator it = _cDataTypes.find(sqlDataType); in cDataType()
205 throw NotFoundException(format("C data type not found for SQL data type: %d", sqlDataType)); in cDataType()
211 int TypeInfo::sqlDataType(int cDataType) const in sqlDataType() function in Poco::Data::ODBC::TypeInfo
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/src/common/
H A Ddb.cpp265 int wxDbColFor::Format(int Nation, int dbDataType, SWORD sqlDataType, in Format() argument
283 i_sqlDataType = sqlDataType; in Format()
385 sqlDataType = 0; in Initialize()
2605 colInf[noCols].sqlDataType = 0;
2764 colInf[noCols].sqlDataType = 0;
2957 colInf[noCols].sqlDataType = 0;
3020 colInf[noCols].sqlDataType = 0;
3105 switch (colInf[colNo].sqlDataType)
3471 SWORD sqlDataType;
3524 GetData(5,SQL_C_SSHORT, (UCHAR *)&sqlDataType, 0, &cb);
[all …]
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/src/common/
H A Ddb.cpp265 int wxDbColFor::Format(int Nation, int dbDataType, SWORD sqlDataType, in Format() argument
283 i_sqlDataType = sqlDataType; in Format()
385 sqlDataType = 0; in Initialize()
2605 colInf[noCols].sqlDataType = 0;
2764 colInf[noCols].sqlDataType = 0;
2957 colInf[noCols].sqlDataType = 0;
3020 colInf[noCols].sqlDataType = 0;
3105 switch (colInf[colNo].sqlDataType)
3471 SWORD sqlDataType;
3524 GetData(5,SQL_C_SSHORT, (UCHAR *)&sqlDataType, 0, &cb);
[all …]
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/src/common/
H A Ddb.cpp265 int wxDbColFor::Format(int Nation, int dbDataType, SWORD sqlDataType, in Format() argument
283 i_sqlDataType = sqlDataType; in Format()
385 sqlDataType = 0; in Initialize()
2605 colInf[noCols].sqlDataType = 0;
2764 colInf[noCols].sqlDataType = 0;
2957 colInf[noCols].sqlDataType = 0;
3020 colInf[noCols].sqlDataType = 0;
3105 switch (colInf[colNo].sqlDataType)
3471 SWORD sqlDataType;
3524 GetData(5,SQL_C_SSHORT, (UCHAR *)&sqlDataType, 0, &cb);
[all …]
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/src/common/
H A Ddb.cpp265 int wxDbColFor::Format(int Nation, int dbDataType, SWORD sqlDataType, in Format() argument
283 i_sqlDataType = sqlDataType; in Format()
385 sqlDataType = 0; in Initialize()
2605 colInf[noCols].sqlDataType = 0;
2764 colInf[noCols].sqlDataType = 0;
2957 colInf[noCols].sqlDataType = 0;
3020 colInf[noCols].sqlDataType = 0;
3105 switch (colInf[colNo].sqlDataType)
3471 SWORD sqlDataType;
3524 GetData(5,SQL_C_SSHORT, (UCHAR *)&sqlDataType, 0, &cb);
[all …]
/dports/databases/grass7/grass-7.8.6/include/
H A Ddbmi.h206 int sqlDataType; member
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/demos/dbbrowse/
H A Ddbtree.cpp188 … SQL_TYPE.Printf(_T("SQL_C_???? (%d)"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType); in OnPopulate()
192 … if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType == (pDoc->db_Br+i_Which)->i_SqlTyp[i]) in OnPopulate()
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/demos/dbbrowse/
H A Ddbtree.cpp188 … SQL_TYPE.Printf(_T("SQL_C_???? (%d)"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType); in OnPopulate()
192 … if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType == (pDoc->db_Br+i_Which)->i_SqlTyp[i]) in OnPopulate()
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/demos/dbbrowse/
H A Ddbtree.cpp188 … SQL_TYPE.Printf(_T("SQL_C_???? (%d)"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType); in OnPopulate()
192 … if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType == (pDoc->db_Br+i_Which)->i_SqlTyp[i]) in OnPopulate()
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/demos/dbbrowse/
H A Ddbtree.cpp188 … SQL_TYPE.Printf(_T("SQL_C_???? (%d)"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType); in OnPopulate()
192 … if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType == (pDoc->db_Br+i_Which)->i_SqlTyp[i]) in OnPopulate()
/dports/games/scorched3d/scorched-dep-win32/include/wx/wx/
H A Ddb.h365 …int Format(int Nation, int dbDataType, SWORD sqlDataType, short columnSize, short decim…
376 SWORD sqlDataType; variable
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/include/wx/
H A Ddb.h394 …int Format(int Nation, int dbDataType, SWORD sqlDataType, short columnLength, short dec…
405 SWORD sqlDataType; variable
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/include/wx/
H A Ddb.h394 …int Format(int Nation, int dbDataType, SWORD sqlDataType, short columnLength, short dec…
405 SWORD sqlDataType; variable
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/include/wx/
H A Ddb.h394 …int Format(int Nation, int dbDataType, SWORD sqlDataType, short columnLength, short dec…
405 SWORD sqlDataType; variable

12