Lines Matching defs:xBestIndex
7634 int (*xBestIndex)(sqlite3_vtab *pVTab, sqlite3_index_info*);
7674 ** pass information into and receive the reply from the [xBestIndex]
7676 ** inputs to xBestIndex and are read-only. xBestIndex inserts its
7711 ** The [xBestIndex] method must fill aConstraintUsage[] with information
7742 ** The xBestIndex method may optionally populate the idxFlags field with a
7744 ** SQLITE_INDEX_SCAN_UNIQUE. If the xBestIndex method sets this flag, SQLite
7747 ** Additionally, if xBestIndex sets the SQLITE_INDEX_SCAN_UNIQUE flag, then
7777 int iTermOffset; /* Used internally - xBestIndex should ignore */
10195 ** This function may only be called from within a call to the [xBestIndex]
10201 ** that is the first parameter to the xBestIndex() method. The second argument
10203 ** sqlite3_index_info structure passed to xBestIndex.
10230 ** This API may only be used from within an [xBestIndex|xBestIndex method]
10232 ** interface from outside of xBestIndex() is undefined and probably harmful.
10247 ** the xBestIndex method to set the "orderByConsumed" flag, regardless of
10321 ** CAPI3REF: Identify and handle IN constraints in xBestIndex
10324 ** [xBestIndex|xBestIndex() method] of a [virtual table] implementation.
10330 ** communicated to the xBestIndex method as a
10331 ** [SQLITE_INDEX_CONSTRAINT_EQ] constraint.)^ If xBestIndex wants to use
10363 ** within the same xBestIndex method call. ^For any given P,N pair,
10365 ** within the same xBestIndex call. ^If the interface returns true
10406 ** [xBestIndex|xBestIndex method]. ^(If the X parameter is not
10442 ** CAPI3REF: Constraint values in xBestIndex()
10445 ** This API may only be used from within the [xBestIndex|xBestIndex method]
10447 ** from outside of an xBestIndex method are undefined and probably harmful.
10450 ** the [xBestIndex] method of a [virtual table] implementation, with P being
10451 ** a copy of the [sqlite3_index_info] object pointer passed into xBestIndex and
10474 ** and remains valid for the duration of the xBestIndex method call.
10475 ** ^When xBestIndex returns, the sqlite3_value object returned by
15201 ** 0x00000010 Display sqlite3_index_info xBestIndex calls
101394 ** P4 is either NULL or a string that was generated by the xBestIndex
105981 /* xBestIndex */ bytecodevtabBestIndex,
141759 pragmaVtabBestIndex, /* xBestIndex - Determine search strategy */
160568 ** to the xBestIndex method of virtual tables. Forms of interest include:
161708 ** This information is used by the xBestIndex methods of
161847 ** to the virtual table xBestIndex method.
161848 ** 5. The ORDER BY clause, if any, will be made available to the xBestIndex
161852 ** exist only so that they may be passed to the xBestIndex method of the
162141 ** visible to the xBestIndex function, at least not directly. The
163629 ** and possibly modified by xBestIndex methods.
163647 ** must represent a virtual table. This function invokes the xBestIndex()
163653 ** xBestIndex is not considered an error. SQLITE_CONSTRAINT indicates that
163667 rc = pVtab->pModule->xBestIndex(pVtab, p);
166198 ** xBestIndex method and adds the returned plan to pBuilder.
166219 sqlite3_index_info *pIdxInfo, /* Populated object for xBestIndex */
166266 /* Invoke the virtual table xBestIndex() method */
166270 /* If the xBestIndex method returns SQLITE_CONSTRAINT, that means
166296 sqlite3ErrorMsg(pParse,"%s.xBestIndex malfunction",pSrc->pTab->zName);
166364 sqlite3ErrorMsg(pParse,"%s.xBestIndex malfunction",pSrc->pTab->zName);
166380 /* Set the WHERE_ONEROW flag if the xBestIndex() method indicated
166400 ** Return the collating sequence for a constraint passed into xBestIndex.
166402 ** pIdxInfo must be an sqlite3_index_info structure passed into xBestIndex.
166449 ** This interface is callable from within the xBestIndex callback only.
166455 sqlite3_index_info *pIdxInfo, /* Copy of first argument to xBestIndex */
166495 ** xBestIndex to potentially use all schemas. If the statement being
166535 ** mPrereq may be specified as "usable" in all calls to xBestIndex.
166538 ** mUnusable should always be configured as "not-usable" for xBestIndex.
166550 sqlite3_index_info *p; /* Object to pass to xBestIndex() */
166577 /* First call xBestIndex() with all constraints usable. */
166590 /* If the call to xBestIndex() with all terms enabled produced a plan
166593 ** any further calls to xBestIndex() since they will all return the same
166594 ** result (if the xBestIndex() implementation is sane). */
166602 ** xBestIndex again, this time with IN(...) terms disabled. */
166615 /* Call xBestIndex once for each distinct value of (prereqRight & ~mPrereq)
166640 /* If the calls to xBestIndex() in the above loop did not find a plan
166650 /* If the calls to xBestIndex() have so far failed to find a plan
186159 ** the xBestIndex() method contains the Fts3Cursor.eSearch value described
187755 ** Implementation of the xBestIndex method for FTS3 tables. There
190193 /* xBestIndex */ fts3BestIndexMethod,
192489 ** xBestIndex - Analyze a WHERE and ORDER BY clause.
192870 fts3auxBestIndexMethod, /* xBestIndex */
196241 ** xBestIndex - Analyze a WHERE and ORDER BY clause.
196437 fts3tokBestIndexMethod, /* xBestIndex */
209672 /* The xBestIndex method assumes that the JSON and ROOT columns are
209674 ** sure to update the xBestIndex method. */
210172 jsonEachBestIndex, /* xBestIndex */
210201 jsonEachBestIndex, /* xBestIndex */
210450 /* The xBestIndex method of this virtual table requires an estimate of
212296 ** Rtree virtual table module xBestIndex method. There are three
213666 rtreeBestIndex, /* xBestIndex - Determine search strategy */
216084 ** Rtree virtual table module xBestIndex method. There are three
216338 ** for use in xBestIndex.
216367 geopolyBestIndex, /* xBestIndex - Determine search strategy */
224417 statBestIndex, /* xBestIndex */
224855 dbpageBestIndex, /* xBestIndex */
249554 fts5structBestIndexMethod, /* xBestIndex */
249801 ** xBestIndex() to xFilter().
250090 ** Implementation of the xBestIndex method for FTS5 tables. Within the
250934 ** actually use them. This is ok, as the xBestIndex() method leaves the
252601 /* xBestIndex */ fts5BestIndexMethod,
256619 ** Bits for the mask used as the idxNum value by xBestIndex/xFilter.
256781 ** Implementation of the xBestIndex method.
257294 /* xBestIndex */ fts5VocabBestIndexMethod,
257623 stmtBestIndex, /* xBestIndex */