Home
last modified time | relevance | path

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

123

/trunk/main/connectivity/source/parse/
H A Dsqlnode.cxx908 …6 OSQLParser::buildPredicateRule(OSQLParseNode*& pAppend,OSQLParseNode* pLiteral,OSQLParseNode*& p… in buildPredicateRule()
1611 OSQLParseNode::OSQLParseNode(const OSQLParseNode& rParseNode) in OSQLParseNode() function in connectivity::OSQLParseNode
1637 OSQLParseNode& OSQLParseNode::operator=(const OSQLParseNode& rParseNode) in operator =()
1679 OSQLParseNode::~OSQLParseNode() in ~OSQLParseNode()
1688 void OSQLParseNode::append(OSQLParseNode* pNewNode) in append()
1774 OSQLParseNode* OSQLParseNode::getByRule(OSQLParseNode::Rule eRule) const in getByRule()
1789 OSQLParseNode* MakeANDNode(OSQLParseNode *pLeftLeaf,OSQLParseNode *pRightLeaf) in MakeANDNode()
1798 OSQLParseNode* MakeORNode(OSQLParseNode *pLeftLeaf,OSQLParseNode *pRightLeaf) in MakeORNode()
2398 OSQLParseNode* OSQLParseNode::remove(OSQLParseNode* pSubTree) in remove()
2416 OSQLParseNode* OSQLParseNode::replaceAt(sal_uInt32 nPos, OSQLParseNode* pNewSubNode) in replaceAt()
[all …]
H A Dsqliterator.cxx632 const OSQLParseNode* pTableName = NULL; in getSelect_statement()
680 OSQLParseNode* pTableName = NULL; in traverseTableNames()
1138 …::rtl::OUString lcl_generateParameterName( const OSQLParseNode& _rParentNode, const OSQLParseNode&… in lcl_generateParameterName()
1218 OSQLParseNode * pWhereClause = NULL; in traverseSelectionCriteria()
1389 OSQLParseNode * pParam = NULL; in traverseANDCriteria()
1585 OSQLParseNode * pColumnRef, in traverseOnePredicate()
1587 OSQLParseNode * pParseNode) in traverseOnePredicate()
1959 OSQLParseNode * pWhereClause = NULL; in getWhereTree()
1991 OSQLParseNode * pOrderClause = NULL; in getOrderTree()
2013 OSQLParseNode * pGroupClause = NULL; in getGroupByTree()
[all …]
H A Dsqlbison.y141 connectivity::OSQLParseNode * pParseNode;
1149 OSQLParseNode* pTemp = $$;
1248 OSQLParseNode* pTemp = $$;
1282 OSQLParseNode* pTemp = $$;
1362 OSQLParseNode* p2nd = $1->removeAt(2);
1363 OSQLParseNode* p3rd = $1->removeAt(2);
1384 OSQLParseNode* p2nd = $1->removeAt(2);
4699 sal_Int16 OSQLParser::buildNode(OSQLParseNode*& pAppend,OSQLParseNode* pCompare,OSQLParseNode* pLit…
4703 OSQLParseNode* pComp = NULL;
4754 sal_Int16 OSQLParser::buildComparsionRule(OSQLParseNode*& pAppend,OSQLParseNode* pLiteral)
[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()
/trunk/main/connectivity/inc/connectivity/
H A Dsqliterator.hxx44 class OSQLParseNode;
47 typedef ::std::pair<const OSQLParseNode*,const OSQLParseNode* > TNodePair;
82 OSQLParseNode * pColumnRef,
84 OSQLParseNode * pParameter);
88 …const OSQLParseNode* getTableNode( OSQLTables& _rTables, const OSQLParseNode* pTableRef, ::rtl:…
138 const OSQLParseNode* pRoot = NULL );
159 const OSQLParseNode* getWhereTree() const;
160 const OSQLParseNode* getOrderTree() const;
161 const OSQLParseNode* getGroupByTree() const;
162 const OSQLParseNode* getHavingTree() const;
[all …]
H A Dsqlparse.hxx118 ::std::vector< OSQLParseNode* > m_aNodes;
123 void push_back(OSQLParseNode* _pNode);
124 void erase(OSQLParseNode* _pNode);
147 friend class OSQLParseNode;
183 OSQLParseNode* buildDate(sal_Int32 _nType,OSQLParseNode*& pLiteral);
186 OSQLParseNode* convertNode(sal_Int32 nType,OSQLParseNode*& pLiteral);
188 OSQLParseNode* buildNode_STR_NUM(OSQLParseNode*& pLiteral);
252 …sal_Int16 buildNode(OSQLParseNode*& pAppend,OSQLParseNode* pCompare,OSQLParseNode* pLiteral,OSQLPa…
254 sal_Int16 buildComparsionRule(OSQLParseNode*& pAppend,OSQLParseNode* pLiteral);
256 …sal_Int16 buildPredicateRule(OSQLParseNode*& pAppend,OSQLParseNode* pLiteral,OSQLParseNode*& pComp…
[all …]
H A Dsqlnode.hxx70 class OSQLParseNode;
119 class OOO_DLLPUBLIC_DBTOOLS OSQLParseNode class
255 OSQLParseNode(const OSQLParseNode& rParseNode);
256 OSQLParseNode& operator=(const OSQLParseNode& rParseNode);
261 virtual ~OSQLParseNode();
273 void append(OSQLParseNode* pNewSubTree);
276 OSQLParseNode* replaceAt(sal_uInt32 nPos, OSQLParseNode* pNewSubTree);
277 OSQLParseNode* replace(OSQLParseNode* pOldSubTree, OSQLParseNode* pNewSubTree);
280 OSQLParseNode* remove(OSQLParseNode* pSubTree);
347 OSQLParseNode* getByRule(OSQLParseNode::Rule eRule) const;
[all …]
/trunk/main/connectivity/source/drivers/file/
H A Dfcomp.cxx88 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()
260 OSQLParseNode *pPrec = pPredicateNode->getChild(1); in execute_COMPARE()
315 OSQLParseNode *pEscNode = pOptEscape->getChild(1); in execute_LIKE()
339 OSQLParseNode* pColumn = pPredicateNode->getChild(0); in execute_BETWEEN()
341 OSQLParseNode* p1stValue = pPart2->getChild(2); in execute_BETWEEN()
342 OSQLParseNode* p2ndtValue = pPart2->getChild(4); in execute_BETWEEN()
813 OSQLParseNode* pList = pPredicateNode->getChild(2); in executeFunction()
[all …]
H A DFStatement.cxx408 OSQLParseNode * pColumnRef = pOrderingSpec->getChild(0); 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()
626 OSQLParseNode * pCol = pColumnCommalist->getChild(i); in GetAssignValues()
635 OSQLParseNode * pValuesOrQuerySpec = m_pParseTree->getChild(4); in GetAssignValues()
652 OSQLParseNode * pRow_Value_Const; in GetAssignValues()
689 OSQLParseNode * pAssignmentCommalist = m_pParseTree->getChild(3); in GetAssignValues()
703 OSQLParseNode * pCol = pAssignment->getChild(0); in GetAssignValues()
706 OSQLParseNode * pComp = pAssignment->getChild(1); 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()
/trunk/main/dbaccess/source/ui/querydesign/
H A DQueryDesignView.cxx156 const ::connectivity::OSQLParseNode *pNode);
159 const ::connectivity::OSQLParseNode* pNode,
605 const ::connectivity::OSQLParseNode *pNode, in InsertJoinConnection()
1326 OSQLParseNode::compress(pNodeTmp); in GetSelectionCriteria()
1394 …bool CheckOrCriteria(const ::connectivity::OSQLParseNode* _pCondition,::connectivity::OSQLParseNod… in CheckOrCriteria()
1406 …::connectivity::OSQLParseNode* pSecondColumnRef = pChild->getByRule(::connectivity::OSQLParseNode:… in CheckOrCriteria()
1927 const ::connectivity::OSQLParseNode *pNode) in InsertJoin()
2215 const ::connectivity::OSQLParseNode* pNode, in InstallFields()
2406 ::connectivity::OSQLParseNode* pParamRef = NULL; in GetOrderCriteria()
3154 OSQLParseNode* pColumnRef = pParseNode->getByRule(OSQLParseNode::column_ref); in getPredicateTreeFromEntry()
[all …]
H A Dquerycontroller.cxx148 …void insertParseTree(SvTreeListBox* _pBox,::connectivity::OSQLParseNode* _pNode,SvLBoxEntry* _pPar… in insertParseTree()
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()
1601 …::connectivity::OSQLParseNode* pNode = m_aSqlParser.parseTree( aErrorMsg, m_sStatement, m_bGraphic… in translateStatement()
[all …]
/trunk/main/connectivity/source/drivers/evoab2/
H A DNStatement.cxx221 const OSQLParseNode* pPunct = _rColumnRef.getChild( 1 ); in impl_getColumnRefColumnName_throw()
222 const OSQLParseNode* pColVal = _rColumnRef.getChild( 2 ); in impl_getColumnRefColumnName_throw()
253 …const OSQLParseNode* pOrderList = _pOrderByClause->getByRule( OSQLParseNode::ordering_spec_commali… in orderByAnalysis()
258 const OSQLParseNode* pOrderBy = pOrderList->getChild(i); in orderByAnalysis()
322 OSQLParseNode *pPrec = parseTree->getChild( 1 ); in whereAnalysis()
326 OSQLParseNode* pLHS = parseTree->getChild( 0 ); in whereAnalysis()
327 OSQLParseNode* pRHS = parseTree->getChild( 2 ); in whereAnalysis()
381 const OSQLParseNode* pPart2 = parseTree->getChild(1); in whereAnalysis()
458 const OSQLParseNode *pSelectStmnt = m_aSQLIterator.getParseTree(); in getTableName()
462 OSQLParseNode::getTableComponents( pAllTableNames->getChild( 0 ), in getTableName()
[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 );
/trunk/main/connectivity/source/commontools/
H A Dpredicateinput.cxx56 using ::connectivity::OSQLParseNode;
260 OSQLParseNode* pParseNode = implPredicateTree( sError, sTransformedText, _rxField ); in normalizePredicateString()
325 OSQLParseNode* pParseNode = implPredicateTree( sError, sValue, _rxField ); 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()
393 OSQLParseNode* pOdbcSpec = pParseNode->getByRule( OSQLParseNode::odbc_fct_spec ); in implParseNode()
398 OSQLParseNode* pFuncSpecParent = pOdbcSpec->getParent(); in implParseNode()
405 OSQLParseNode* pValueNode = pOdbcSpec->getChild(1); in implParseNode()
[all …]
/trunk/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…
/trunk/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()
/trunk/main/dbaccess/source/core/api/
H A DSingleSelectQueryComposer.cxx134 const OSQLParseNode* pOldNode = _rIterator.getParseTree(); in checkForSingleSelect_throwError()
184 const OSQLParseNode* pSqlParseNode = _rIterator.getParseTree(); in resetIterator()
1256 OSQLParseNode *pLhs = pCondition->getChild(0); in setComparsionPredicate()
1257 OSQLParseNode *pRhs = pCondition->getChild(2); in setComparsionPredicate()
1501 const OSQLParseNode* pNode = _aGetFunctor( &_rIterator ); in getStatementPart()
1788 const OSQLParseNode* pTempNode = m_aAdditiveIterator.getParseTree(); in getStructuredCondition()
1799 OSQLParseNode* pWhereNode = const_cast<OSQLParseNode*>(m_aAdditiveIterator.getWhereTree()); in getStructuredCondition()
1801 OSQLParseNode* pCondition = pWhereNode->getChild(1); in getStructuredCondition()
1806 OSQLParseNode::negateSearchCondition(pCondition); in getStructuredCondition()
1813 OSQLParseNode::disjunctiveNormalForm(pCondition); in getStructuredCondition()
[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()
/trunk/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;
/trunk/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()
/trunk/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);
/trunk/main/dbaccess/source/ui/inc/
H A DQueryDesignView.hxx50 class OSQLParseNode;
167 ::connectivity::OSQLParseNode* getPredicateTreeFromEntry( OTableFieldDescRef pEntry,
172 void fillFunctionInfo( const ::connectivity::OSQLParseNode* pNode

Completed in 158 milliseconds

123