Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: ucb ::
struct FetchResult
Description contains data of several rows of a ContentResultSet. This struct is returned from XFetchProvider::fetch, for example.

Elements' Summary
Rows | contains the demanded data.
StartIndex | indicates the index of the first row contained in FetchResult::Rows in the original result set. So if FetchResult::StartIndex equals `3`, the first element in the sequence FetchResult::Rows contains the data of the index `3` in the original result set.
Orientation | indicates the orientation in which the rows are fetched and set into the sequence FetchResult::Rows.
FetchError | indicates whether and which error has occurred, while fetching.

Elements' Details
Rows
sequence< any > Rows; Description contains the demanded data. One any contains the data of one whole row. Those methods which use this struct have to specify, what the any has to contain.
StartIndex
long StartIndex; Description indicates the index of the first row contained in FetchResult::Rows in the original result set. So if FetchResult::StartIndex equals `3`, the first element in the sequence FetchResult::Rows contains the data of the index `3` in the original result set. The following rows are one after the other, but the direction depends on the value of FetchResult::Direction
Orientation
boolean Orientation; Description indicates the orientation in which the rows are fetched and set into the sequence FetchResult::Rows. When FetchResult::Orientation equals true, the rows in FetchResult::Rows are ordered in the same way as in the original result set.
FetchError
short FetchError; Description indicates whether and which error has occurred, while fetching. The value may contain zero or more constants of the FetchError constants group.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.