set_fields_of_interest


Description:

public void set_fields_of_interest (SList<string>? fields_of_interest) throws Error

Client can instruct server to which fields it is interested in only, thus the server can return less data over the wire.

The server can still return complete objects, this is just a hint to it that the listed fields will be used only. The UID/RID fields are returned always. Initial views has no fields of interest and using null for fields_of_interest will unset any previous changes.

Some backends can use summary information of its cache to create artifical objects, which will omit stored object parsing. If this cannot be done then it will simply return object as is stored in the cache.

Parameters:

this

an ClientView

fields_of_interest

List of field names in which the client is interested, or null to reset the fields of interest