Home
last modified time | relevance | path

Searched refs:OSQLParseNode (Results 1 – 25 of 53) sorted by relevance

123

/AOO41X/main/connectivity/source/parse/
H A Dsqlnode.cxx88 …tring ConvertLikeToken(const ::connectivity::OSQLParseNode* pTokenNode, const ::connectivity::OSQL…
108 …void replaceAndReset(connectivity::OSQLParseNode*& _pResetNode,connectivity::OSQLParseNode* _pNewN… in replaceAndReset()
194 ::rtl::OUString OSQLParseNode::convertDateString(const SQLParseNodeParameter& rParam, const ::rtl::… in convertDateString()
207 ::rtl::OUString OSQLParseNode::convertDateTimeString(const SQLParseNodeParameter& rParam, const ::r… in convertDateTimeString()
220 ::rtl::OUString OSQLParseNode::convertTimeString(const SQLParseNodeParameter& rParam, const ::rtl::… in convertTimeString()
234 void OSQLParseNode::parseNodeToStr(::rtl::OUString& rString, in parseNodeToStr()
249 void OSQLParseNode::parseNodeToPredicateStr(::rtl::OUString& rString, in parseNodeToPredicateStr()
265 void OSQLParseNode::parseNodeToPredicateStr(::rtl::OUString& rString, in parseNodeToPredicateStr()
282 void OSQLParseNode::parseNodeToStr(::rtl::OUString& rString, in parseNodeToStr()
303 OSQLParseNode::impl_parseNodeToString_throw( sBuffer, in parseNodeToStr()
[all …]
H A Dsqliterator.cxx50 … (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e1) || \
51 … (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e2)))
148 const OSQLParseNode* pRoot ) in OSQLParseTreeIterator()
157 …t OSQLParseTreeIterator& _rParentIterator, const OSQLParser& _rParser, const OSQLParseNode* pRoot ) in OSQLParseTreeIterator()
201 void OSQLParseTreeIterator::setParseTree(const OSQLParseNode * pNewParseTree) in setParseTree()
350 …::std::auto_ptr< OSQLParseNode > pSubQueryNode( const_cast< OSQLParser& >( m_rParser ).parseTree( … in impl_getQueryParameterColumns()
447 void OSQLParseTreeIterator::traverseOneTableName( OSQLTables& _rTables,const OSQLParseNode * pTable… in traverseOneTableName()
461OSQLParseNode::getTableComponents(pTableName,aCatalog,aSchema,aTableName,m_pImpl->m_xDatabaseMetaD… in traverseOneTableName()
481 void OSQLParseTreeIterator::impl_fillJoinConditions(const OSQLParseNode* i_pJoinCondition) in impl_fillJoinConditions()
517 void OSQLParseTreeIterator::getQualified_join( OSQLTables& _rTables, const OSQLParseNode *pTableRef… in getQualified_join()
[all …]
H A Dsqlbison.y141 connectivity::OSQLParseNode * pParseNode;
1149 OSQLParseNode* pTemp = $$;
1248 OSQLParseNode* pTemp = $$;
1282 OSQLParseNode* pTemp = $$;
1284 OSQLParseNode* pColumnRef = $$->removeAt((sal_uInt32)0);
1286OSQLParseNode* pBetween_predicate = new OSQLInternalNode(aEmptyString, SQL_NODE_RULE,OSQLParser::R…
1356OSQLParseNode* pColumnRef = newNode(aEmptyString, SQL_NODE_RULE,OSQLParser::RuleID(OSQLParseNode::…
1362 OSQLParseNode* p2nd = $1->removeAt(2);
1363 OSQLParseNode* p3rd = $1->removeAt(2);
1378OSQLParseNode* pColumnRef = newNode(aEmptyString, SQL_NODE_RULE,OSQLParser::RuleID(OSQLParseNode::…
[all …]
H A Dinternalnode.cxx37 : OSQLParseNode(pNewValue,eNodeType,nNodeID) in OSQLInternalNode()
47 :OSQLParseNode(_NewValue,eNodeType,nNodeID) in OSQLInternalNode()
57 :OSQLParseNode(pNewValue,eNodeType,nNodeID) in OSQLInternalNode()
67 :OSQLParseNode(_NewValue,eNodeType,nNodeID) in OSQLInternalNode()
/AOO41X/main/connectivity/inc/connectivity/
H A Dsqliterator.hxx44 class OSQLParseNode;
47 typedef ::std::pair<const OSQLParseNode*,const OSQLParseNode* > TNodePair;
65 const OSQLParseNode* m_pParseTree; // aktueller ParseTree
76 …void traverseParameter(const OSQLParseNode* _pParseNode,const OSQLParseNode* _pColu…
78 …void traverseOneTableName( OSQLTables& _rTables,const OSQLParseNode * pTableName, c…
79 void traverseORCriteria(OSQLParseNode * pSearchCondition);
80 void traverseANDCriteria(OSQLParseNode * pSearchCondition);
82 OSQLParseNode * pColumnRef,
84 OSQLParseNode * pParameter);
85 void traverseByColumnNames(const OSQLParseNode* pSelectNode,sal_Bool _bOrder);
[all …]
H A Dsqlparse.hxx116 ::std::vector< OSQLParseNode* > m_aNodes;
121 void push_back(OSQLParseNode* _pNode);
122 void erase(OSQLParseNode* _pNode);
138 friend class OSQLParseNode;
143 typedef ::std::map< sal_uInt32, OSQLParseNode::Rule > RuleIDMap;
145 static sal_uInt32 s_nRuleIDs[OSQLParseNode::rule_count + 1];
155 OSQLParseNode* m_pParseTree; // result from parsing
174 OSQLParseNode* buildDate(sal_Int32 _nType,OSQLParseNode*& pLiteral);
175 bool extractDate(OSQLParseNode* pLiteral,double& _rfValue);
176 void killThousandSeparator(OSQLParseNode* pLiteral);
[all …]
H A Dsqlnode.hxx70 class OSQLParseNode;
73 typedef ::std::vector< OSQLParseNode* > OSQLParseNodes;
119 class OOO_DLLPUBLIC_DBTOOLS OSQLParseNode class
124 OSQLParseNode* m_pParent; // pParent fuer Reuckverkettung im Baum
238 OSQLParseNode(const sal_Char* _pValueStr,
242 OSQLParseNode(const ::rtl::OString& _rValue,
246 OSQLParseNode(const sal_Unicode* _pValue,
250 OSQLParseNode(const ::rtl::OUString& _rValue,
255 OSQLParseNode(const OSQLParseNode& rParseNode);
256 OSQLParseNode& operator=(const OSQLParseNode& rParseNode);
[all …]
/AOO41X/main/connectivity/source/drivers/file/
H A Dfcomp.cxx80 void OPredicateCompiler::start(OSQLParseNode* pSQLParseNode) in start()
88 OSQLParseNode * pWhereClause = NULL; in start()
89 OSQLParseNode * pOrderbyClause = NULL; in start()
95 OSQLParseNode * pTableExp = pSQLParseNode->getChild(3); in start()
101 OSQLParseNode* pSelection = pSQLParseNode->getChild(2); in start()
106 OSQLParseNode *pColumnRef = pSelection->getChild(i)->getChild(0); in start()
137 OSQLParseNode * pComparisonPredicate = pWhereClause->getChild(1); in start()
151 OOperand* OPredicateCompiler::execute(OSQLParseNode* pPredicateNode) in execute()
237 OOperand* OPredicateCompiler::execute_COMPARE(OSQLParseNode* pPredicateNode) throw(SQLException, R… in execute_COMPARE()
260 OSQLParseNode *pPrec = pPredicateNode->getChild(1); in execute_COMPARE()
[all …]
H A DFStatement.cxx396 const OSQLParseNode* pOrderbyClause = m_aSQLIterator.getOrderTree(); in anylizeSQL()
399 OSQLParseNode * pOrderingSpecCommalist = pOrderbyClause->getChild(2); in anylizeSQL()
404 OSQLParseNode * pOrderingSpec = pOrderingSpecCommalist->getChild(m); in anylizeSQL()
408 OSQLParseNode * pColumnRef = pOrderingSpec->getChild(0); in anylizeSQL()
413 OSQLParseNode * pAscendingDescending = pOrderingSpec->getChild(1); in anylizeSQL()
419 void OStatement_Base::setOrderbyColumn( OSQLParseNode* pColumnRef, in setOrderbyColumn()
420 OSQLParseNode* pAscendingDescending) in setOrderbyColumn()
603 OSQLParseNode * pOptColumnCommalist = m_pParseTree->getChild(3); in GetAssignValues()
618 OSQLParseNode * pColumnCommalist = pOptColumnCommalist->getChild(1); in GetAssignValues()
626 OSQLParseNode * pCol = pColumnCommalist->getChild(i); in GetAssignValues()
[all …]
H A DFPreparedStatement.cxx477 sal_uInt32 OPreparedStatement::AddParameter(OSQLParseNode * pParameter, const Reference<XPropertySe… in AddParameter()
484 OSQLParseNode * pMark = pParameter->getChild(0); in AddParameter()
522 void OPreparedStatement::describeColumn(OSQLParseNode* _pParameter,OSQLParseNode* _pNode,const OSQL… in describeColumn()
545 ::std::vector< OSQLParseNode*> aParseNodes; in describeParameter()
554 ::std::vector< OSQLParseNode*>::const_iterator aIter = aParseNodes.begin(); in describeParameter()
611 void OPreparedStatement::parseParamterElem(const String& _sColumnName,OSQLParseNode* pRow_Value_Con… in parseParamterElem()
/AOO41X/main/dbaccess/source/ui/querydesign/
H A DQueryDesignView.cxx144 … (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e1) || \
145 … (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e2)))
156 const ::connectivity::OSQLParseNode *pNode);
159 const ::connectivity::OSQLParseNode* pNode,
164 const ::connectivity::OSQLParseNode* pSelectRoot );
168 const ::connectivity::OSQLParseNode* pSelectRoot,
173 const ::connectivity::OSQLParseNode* pParseRoot );
177 const ::connectivity::OSQLParseNode * pCondition,
195 …tring getTableRange(const OQueryDesignView* _pView,const ::connectivity::OSQLParseNode* _pTableRef) in getTableRange()
201 sTableRange = ::connectivity::OSQLParseNode::getTableRange(_pTableRef); in getTableRange()
[all …]
H A Dquerycontroller.cxx148 …void insertParseTree(SvTreeListBox* _pBox,::connectivity::OSQLParseNode* _pNode,SvLBoxEntry* _pPar… in insertParseTree()
614 …::connectivity::OSQLParseNode* pNode = m_aSqlParser.parseTree(aErrorMsg,m_sStatement,m_bGraphicalD… in Execute()
749 …::connectivity::OSQLParseNode* pNode = m_aSqlParser.parseTree( aErrorMsg, m_sStatement, m_bGraphic… in Execute()
761 … ::connectivity::OSQLParseNode* pTemp = pNode ? pNode->getChild(3)->getChild(1) : NULL; in Execute()
765 ::connectivity::OSQLParseNode * pCondition = pTemp->getChild(1); in Execute()
768 ::connectivity::OSQLParseNode::negateSearchCondition(pCondition); in Execute()
769 ::connectivity::OSQLParseNode *pNodeTmp = pTemp->getChild(1); in Execute()
771 ::connectivity::OSQLParseNode::disjunctiveNormalForm(pNodeTmp); in Execute()
773 ::connectivity::OSQLParseNode::absorptions(pNodeTmp); in Execute()
775 OSQLParseNode::compress(pNodeTmp); in Execute()
[all …]
/AOO41X/main/connectivity/source/drivers/evoab2/
H A DNStatement.cxx212 ::rtl::OUString OCommonStatement::impl_getColumnRefColumnName_throw( const OSQLParseNode& _rColumnR… in impl_getColumnRefColumnName_throw()
221 const OSQLParseNode* pPunct = _rColumnRef.getChild( 1 ); in impl_getColumnRefColumnName_throw()
222 const OSQLParseNode* pColVal = _rColumnRef.getChild( 2 ); in impl_getColumnRefColumnName_throw()
246 void OCommonStatement::orderByAnalysis( const OSQLParseNode* _pOrderByClause, SortDescriptor& _out_… in orderByAnalysis()
253 …const OSQLParseNode* pOrderList = _pOrderByClause->getByRule( OSQLParseNode::ordering_spec_commali… in orderByAnalysis()
258 const OSQLParseNode* pOrderBy = pOrderList->getChild(i); in orderByAnalysis()
261 const OSQLParseNode* pColumnRef = pOrderBy->count() == 2 ? pOrderBy->getChild(0) : NULL; in orderByAnalysis()
262 const OSQLParseNode* pAscDesc = pOrderBy->count() == 2 ? pOrderBy->getChild(1) : NULL; in orderByAnalysis()
287 EBookQuery *OCommonStatement::whereAnalysis( const OSQLParseNode* parseTree ) in whereAnalysis()
322 OSQLParseNode *pPrec = parseTree->getChild( 1 ); in whereAnalysis()
[all …]
H A DNStatement.hxx160 connectivity::OSQLParseNode *m_pParseTree;
191 EBookQuery *whereAnalysis( const OSQLParseNode* parseTree );
192 … void orderByAnalysis( const OSQLParseNode* _pOrderByClause, SortDescriptor& _out_rSort );
247 … impl_getColumnRefColumnName_throw( const ::connectivity::OSQLParseNode& _rColumnRef );
/AOO41X/main/connectivity/source/commontools/
H A Dpredicateinput.cxx56 using ::connectivity::OSQLParseNode;
138OSQLParseNode* OPredicateInputController::implPredicateTree(::rtl::OUString& _rErrorMessage, const… in implPredicateTree()
140OSQLParseNode* pReturn = const_cast< OSQLParser& >( m_aParser ).predicateTree( _rErrorMessage, _rS… in implPredicateTree()
260 OSQLParseNode* pParseNode = implPredicateTree( sError, sTransformedText, _rxField ); in normalizePredicateString()
325 OSQLParseNode* pParseNode = implPredicateTree( sError, sValue, _rxField ); in getPredicateValue()
354 …::std::auto_ptr<OSQLParseNode> pParseNode( const_cast< OSQLParser& >( m_aParser ).parseTree( sErro… in getPredicateValue()
358 OSQLParseNode* pColumnRef = pParseNode->getByRule(OSQLParseNode::column_ref); in getPredicateValue()
381 OSQLParseNode* pParseNode = implPredicateTree( sError, _rPredicateValue, xColumn ); in getPredicateValue()
387 …::rtl::OUString OPredicateInputController::implParseNode(OSQLParseNode* pParseNode,sal_Bool _bForS… in implParseNode()
392 ::std::auto_ptr<OSQLParseNode> pTemp(pParseNode); in implParseNode()
[all …]
/AOO41X/main/connectivity/source/inc/file/
H A Dfcomp.hxx34 class OSQLParseNode;
68 void start(connectivity::OSQLParseNode* pSQLParseNode);
69 OOperand* execute(connectivity::OSQLParseNode* pPredicateNode);
78 …OOperand* execute_COMPARE(connectivity::OSQLParseNode* pPredicateNode) throw( ::com::sun::star::sd…
79 …OOperand* execute_LIKE(connectivity::OSQLParseNode* pPredicateNode) throw(::com::sun::star::sdbc::…
80 …OOperand* execute_BETWEEN(connectivity::OSQLParseNode* pPredicateNode) throw(::com::sun::star::sdb…
81 …OOperand* execute_ISNULL(connectivity::OSQLParseNode* pPredicateNode) throw(::com::sun::star::sdbc…
82 …OOperand* execute_Operand(connectivity::OSQLParseNode* pPredicateNode) throw(::com::sun::star::sdb…
83 …OOperand* execute_Fold(OSQLParseNode* pPredicateNode) throw( ::com::sun::star::sdbc::SQLException,…
84 …OOperand* executeFunction(OSQLParseNode* pPredicateNode) throw( ::com::sun::star::sdbc::SQLExcepti…
H A DFStatement.hxx88 connectivity::OSQLParseNode* m_pParseTree;
117 void setOrderbyColumn( connectivity::OSQLParseNode* pColumnRef,
118 connectivity::OSQLParseNode* pAscendingDescending);
136 … connectivity::OSQLParseNode* pRow_Value_Constructor_Elem,xub_StrLen nIndex);
138 …virtual void parseParamterElem(const String& _sColumnName,OSQLParseNode* pRow_Value_Constructor_El…
147 connectivity::OSQLParseNode* getParseTree() const { return m_pParseTree;} in getParseTree()
H A DFPreparedStatement.hxx67 sal_uInt32 AddParameter(connectivity::OSQLParseNode * pParameter,
69 … void scanParameter(OSQLParseNode* pParseNode,::std::vector< OSQLParseNode*>& _rParaNodes);
70 … void describeColumn(OSQLParseNode* _pParameter,OSQLParseNode* _pNode,const OSQLTable& _xTable);
73 …virtual void parseParamterElem(const String& _sColumnName,OSQLParseNode* pRow_Value_Constructor_El…
/AOO41X/main/connectivity/source/drivers/kab/
H A DKStatement.cxx99 KabCondition *KabCommonStatement::analyseWhereClause(const OSQLParseNode *pParseNode) const throw(S… in analyseWhereClause()
103 const OSQLParseNode *pLeft = pParseNode->getChild(0), in analyseWhereClause()
186 const OSQLParseNode *pLeft = pParseNode->getChild(0); in analyseWhereClause()
187 const OSQLParseNode* pPart2 = pParseNode->getChild(1); in analyseWhereClause()
188 const OSQLParseNode *pMiddleLeft = pPart2->getChild(0), in analyseWhereClause()
246 KabOrder *KabCommonStatement::analyseOrderByClause(const OSQLParseNode *pParseNode) const throw(SQL… in analyseOrderByClause()
266 OSQLParseNode* pColumnRef = pParseNode->getChild(0); in analyseOrderByClause()
267 OSQLParseNode* pAscendingDescending = pParseNode->getChild(1); in analyseOrderByClause()
323 const OSQLParseNode *pParseNode; in selectAddressees()
349 const OSQLParseNode *pParseNode; in sortAddressees()
/AOO41X/main/connectivity/source/drivers/macab/
H A DMacabStatement.cxx102 MacabCondition *MacabCommonStatement::analyseWhereClause(const OSQLParseNode *pParseNode) const thr… in analyseWhereClause()
106 const OSQLParseNode *pLeft = pParseNode->getChild(0), in analyseWhereClause()
189 const OSQLParseNode *pLeft = pParseNode->getChild(0); in analyseWhereClause()
190 const OSQLParseNode* pPart2 = pParseNode->getChild(1); in analyseWhereClause()
191 const OSQLParseNode *pMiddleLeft = pPart2->getChild(0), in analyseWhereClause()
247 MacabOrder *MacabCommonStatement::analyseOrderByClause(const OSQLParseNode *pParseNode) const throw… in analyseOrderByClause()
267 OSQLParseNode* pColumnRef = pParseNode->getChild(0); in analyseOrderByClause()
268 OSQLParseNode* pAscendingDescending = pParseNode->getChild(1); in analyseOrderByClause()
329 const OSQLParseNode *pParseNode; in selectRecords()
357 const OSQLParseNode *pParseNode; in sortRecords()
/AOO41X/main/dbaccess/source/core/api/
H A DSingleSelectQueryComposer.cxx112 …const OSQLParseNode* parseStatement_throwError( OSQLParser& _rParser, const ::rtl::OUString& _rSta… in parseStatement_throwError()
116 const OSQLParseNode* pNewSqlParseNode = _rParser.parseTree( aErrorMsg, _rStatement ); in parseStatement_throwError()
131 …void checkForSingleSelect_throwError( const OSQLParseNode* pStatementNode, OSQLParseTreeIterator& … in checkForSingleSelect_throwError()
134 const OSQLParseNode* pOldNode = _rIterator.getParseTree(); in checkForSingleSelect_throwError()
162 const OSQLParseNode* pNode = parseStatement_throwError( _rParser, _rStatement, _rxContext ); in parseAndCheck_throwError()
170 …::rtl::OUString getPureSelectStatement( const OSQLParseNode* _pRootNode, Reference< XConnection > … in getPureSelectStatement()
184 const OSQLParseNode* pSqlParseNode = _rIterator.getParseTree(); in resetIterator()
832 …const ::std::auto_ptr< OSQLParseNode > pStatementTree( m_aSqlParser.parseTree( sError, sSQL, false… in getColumns()
994 sal_Bool OSingleSelectQueryComposer::setORCriteria(OSQLParseNode* pCondition, OSQLParseTreeIterator… in setORCriteria()
1033 sal_Bool OSingleSelectQueryComposer::setANDCriteria( OSQLParseNode * pCondition, in setANDCriteria()
[all …]
H A DRowSetCache.cxx1504 sal_Bool ORowSetCache::checkInnerJoin(const ::connectivity::OSQLParseNode *pNode,const Reference< X… in checkInnerJoin()
1551 …::std::auto_ptr< ::connectivity::OSQLParseNode> pSqlParseNode( aSqlParser.parseTree(sErrorMsg,sSql… in checkJoin()
1554OSQLParseNode* pTableRefCommalist = pSqlParseNode->getByRule(::connectivity::OSQLParseNode::table_… in checkJoin()
1559OSQLParseNode* pJoin = pTableRefCommalist->getByRule(::connectivity::OSQLParseNode::qualified_join… in checkJoin()
1562 OSQLParseNode* pJoinType = pJoin->getChild(1); in checkJoin()
1563 OSQLParseNode* pOuterType = NULL; in checkJoin()
1579 … const OSQLParseNode* pTableRef = pJoin->getByRule(::connectivity::OSQLParseNode::qualified_join); in checkJoin()
1586 ::rtl::OUString sTableRange = OSQLParseNode::getTableRange(pTableRef); in checkJoin()
1595 OSQLParseNode* pWhereOpt = pSqlParseNode->getChild(3)->getChild(1); in checkJoin()
/AOO41X/main/dbaccess/source/core/inc/
H A DSingleSelectQueryComposer.hxx83 …typedef ::std::const_mem_fun_t< const ::connectivity::OSQLParseNode*, ::connectivity::OSQLParseTre…
117 …sal_Bool setORCriteria(::connectivity::OSQLParseNode* pCondition, ::connectivity::OSQLParseTreeIte…
119 …sal_Bool setANDCriteria(::connectivity::OSQLParseNode* pCondition, ::connectivity::OSQLParseTreeIt…
121 …sal_Bool setComparsionPredicate(::connectivity::OSQLParseNode* pCondition, ::connectivity::OSQLPar…
124 …::rtl::OUString getColumnName(::connectivity::OSQLParseNode* pColumnRef,::connectivity::OSQLParseT…
126 sal_Int32 getPredicateType(::connectivity::OSQLParseNode * _pPredicate) const;
/AOO41X/main/connectivity/source/drivers/ado/
H A DAPreparedStatement.cxx71 OSQLParseNode* pNode = aParser.parseTree(sErrorMessage,sql); in OPreparedStatement()
536 void OPreparedStatement::replaceParameterNodeName(OSQLParseNode* _pNode, in replaceParameterNodeName()
543 OSQLParseNode* pChildNode = _pNode->getChild(i); in replaceParameterNodeName()
546OSQLParseNode* pNewNode = new OSQLParseNode(::rtl::OUString::createFromAscii(":") ,SQL_NODE_PUNCTU… in replaceParameterNodeName()
550 pChildNode->append(new OSQLParseNode( sParameterName,SQL_NODE_NAME,0)); in replaceParameterNodeName()
/AOO41X/main/connectivity/source/simpledbt/
H A Dparsenode_s.hxx35 class OSQLParseNode;
44 const OSQLParseNode* m_pFullNode;
48 OSimpleParseNode(const OSQLParseNode* _pNode, sal_Bool _bTakeOwnership = sal_True);

123