21#include <com/sun/star/sdb/SQLFilterOperator.hpp>
30OIndexIterator::~OIndexIterator() {}
52 while (pPage && !pPage->
IsLeaf())
90 while (i < pPage->
Count() && !aTempOp.
operate(&((*pPage)[
i]).GetKey(), &rKey))
98 : ((*pPage)[
i - 1]).GetChild(
m_xIndex.get(), pPage);
101 else if (
i == pPage->
Count())
107 pFoundKey = &(*pPage)[
i].GetKey();
126 switch (ePredicateType)
128 case SQLFilterOperator::NOT_EQUAL:
129 case SQLFilterOperator::LESS:
130 case SQLFilterOperator::LESS_EQUAL:
131 while (pPage && !pPage->
IsLeaf())
138 switch (ePredicateType)
140 case SQLFilterOperator::NOT_EQUAL:
145 case SQLFilterOperator::LESS:
150 case SQLFilterOperator::LESS_EQUAL:
154 case SQLFilterOperator::GREATER_EQUAL:
155 case SQLFilterOperator::EQUAL:
158 case SQLFilterOperator::GREATER:
168 switch (ePredicateType)
170 case SQLFilterOperator::NOT_EQUAL:
175 case SQLFilterOperator::LESS:
176 case SQLFilterOperator::LESS_EQUAL:
177 case SQLFilterOperator::EQUAL:
185 case SQLFilterOperator::GREATER_EQUAL:
186 case SQLFilterOperator::GREATER:
200 while (pPage && !pPage->
IsLeaf())
219 while (pPage && !pPage->
IsLeaf())
273 while (pPage && !pPage->
IsLeaf())
sal_uInt32 GetCompare(bool bFirst)
file::OBoolOperator * m_pOperator
sal_uInt32 GetNull(bool bFirst)
sal_uInt32 GetNotNull(bool bFirst)
ONDXKey * GetFirstKey(ONDXPage *pPage, const file::OOperand &rKey)
sal_uInt32 GetLike(bool bFirst)
sal_uInt32 Find(bool bFirst)
const file::OOperand * m_pOperand
rtl::Reference< ODbaseIndex > m_xIndex
virtual const ORowSetValue & getValue() const override
sal_uInt32 GetRecord() const
ONDXPagePtr & GetChild(ODbaseIndex const *pIndex=nullptr)
sal_uInt16 Search(const ONDXKey &rSearch)
const ONDXPagePtr & GetParent() const
virtual bool operate(const OOperand *, const OOperand *) const
virtual bool operate(const OOperand *, const OOperand *) const override
sal_Int32 getPredicateType() const