30 #ifndef _OGR_GENSQL_H_INCLUDED
31 #define _OGR_GENSQL_H_INCLUDED
69 void CreateOrderByIndex();
70 void SortIndexSection(
OGRField *pasIndexFields,
71 int nStart,
int nEntries );
76 void FindAndSetIgnoredFields();
78 void AddFieldDefnToSet(
int iTable,
int iColumn,
CPLHashSet* hSet);
82 void InvalidateOrderByIndex();
89 const char *pszDialect );
Definition: ogrsf_frmts.h:200
virtual OGRFeatureDefn * GetLayerDefn()=0
Fetch the schema information for this layer.
virtual OGRErr SetAttributeFilter(const char *)
Set a new attribute query.
Definition: ogrlayer.cpp:279
virtual void SetSpatialFilter(OGRGeometry *)
Set a new spatial filter.
Definition: ogrlayer.cpp:828
virtual OGRErr GetExtent(OGREnvelope *psExtent, int bForce=TRUE)
Fetch the extent of this layer.
Definition: ogrlayer.cpp:201
virtual OGRFeature * GetFeature(long nFID)
Fetch a feature by its identifier.
Definition: ogrlayer.cpp:377
virtual OGRGeometry * GetSpatialFilter()
This method returns the current spatial filter for this layer.
Definition: ogrlayer.cpp:806
virtual int GetFeatureCount(int bForce=TRUE)
Fetch the feature count in this layer.
Definition: ogrlayer.cpp:165
Definition: ogr_feature.h:120
Definition: cpl_hash_set.cpp:35
virtual OGRFeature * GetNextFeature()=0
Fetch the next available feature from this layer.
Definition: ogr_geometry.h:77
virtual int TestCapability(const char *)=0
Test if this layer supported the named capability.
virtual void ResetReading()=0
Reset feature reading to start on the first feature.
Definition: ogr_spatialref.h:128
Definition: ogr_core.h:47
Definition: ogr_core.h:403
Definition: ogrsf_frmts.h:58
Definition: ogr_feature.h:178
virtual OGRSpatialReference * GetSpatialRef()
Fetch the spatial reference system for this layer.
Definition: ogrsf_frmts.h:93
Definition: ogr_gensql.h:41
virtual OGRErr SetNextByIndex(long nIndex)
Move read cursor to the nIndex'th feature in the current resultset.
Definition: ogrlayer.cpp:410