17 #ifndef NdbQueryBuilder_H
18 #define NdbQueryBuilder_H
21 #include <ndb_types.h>
28 class NdbQueryDefImpl;
29 class NdbQueryBuilderImpl;
30 class NdbQueryOptionsImpl;
31 class NdbQueryOperandImpl;
32 class NdbQueryOperationDefImpl;
61 NdbQueryOperandImpl&
getImpl()
const;
73 NdbQueryOperandImpl& m_impl;
80 friend class NdbConstOperandImpl;
88 friend class NdbLinkedOperandImpl;
95 const char* getName()
const;
96 Uint32 getEnum()
const;
99 friend class NdbParamOperandImpl;
148 ScanOrdering_ascending,
149 ScanOrdering_descending
194 const NdbQueryOptionsImpl& getImpl()
const;
201 NdbQueryOptionsImpl* m_pimpl;
223 static const char* getTypeName(Type
type);
230 Uint32 getNoOfParentOperations()
const;
233 Uint32 getNoOfChildOperations()
const;
236 Type getType()
const;
249 NdbQueryOperationDefImpl&
getImpl()
const;
261 NdbQueryOperationDefImpl& m_impl;
299 friend class NdbQueryIndexScanOperationDefImpl;
317 : m_low(eqKey), m_lowInclusive(
true), m_high(eqKey), m_highInclusive(
true)
323 : m_low(low), m_lowInclusive(
true), m_high(high), m_highInclusive(
true)
329 : m_low(low), m_lowInclusive(lowIncl), m_high(high), m_highInclusive(highIncl)
333 friend class NdbQueryIndexScanOperationDefImpl;
335 const bool m_lowInclusive;
337 const bool m_highInclusive;
365 friend class NdbQueryBuilderImpl;
434 const char* ident = 0);
441 const char* ident = 0);
446 const char* ident = 0);
453 const char* ident = 0);
468 NdbQueryBuilderImpl& getImpl()
const;
471 NdbQueryBuilderImpl& m_impl;
492 friend class NdbQueryDefImpl;
505 Uint32 getNoOfOperations()
const;
514 bool isScanQuery()
const;
520 void destroy()
const;
522 NdbQueryDefImpl& getImpl()
const;
529 NdbQueryDefImpl& m_impl;