SE_stream_query_from_file

Initiates a query on an external file

Usage syntax

LONG SE_stream_query_from_file
(SE_STREAM stream,
const SE_FILEINFO *fileinfo,
SHORT num_attributes,
const CHAR **columns);

Parameters
stream The stream handle
fileinfo A pointer to an SE_FILEINFO structure
num_attributes The number of columns in the array
columns An array of column names
Description

SE_stream_query_from_file initializes a stream with a query using an external file list and a list of columns. The external file can be a shapefile, coverage, or an export format file. This function does not support SE_SQL_CONSTRUCT, nor any filter on spatial or nonspatial data.

Returns

SE_SUCCESS
SE_ATTR_CONV_ERROR

SE_ATTR_NOEXIST

SE_CONNECTION_IN_USE

SE_CONNECTION_LOCKED

SE_FILE_OBJECT_NOEXIST

SE_INVALID_FILEINFO_OBJECT_TYPE

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_ROW_ID_LAYER

SE_NET_FAILURE

SE_NO_PERMISSIONS

SE_OUT_OF_CLMEM

SE_OUT_OF_SVMEM

SE_SDE_NOT_STARTED

SE_STREAM_IN_PROGRESS