Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Space : Space Operations and Options Initialization Operations : tibasSpace_GetAll()

tibasSpace_GetAll()
Function
Declaration
tibas_status tibasSpace_GetAll
     (tibasSpace space,
      tibasSpaceResultList *resultList,
      tibasTupleList keyList)
Purpose
Batch version of the tibasSpace_Get() function. Returns a list of tuples matching key values that you provide.
Parameters
 
 
Remarks
Use the tibasSpace_GetAll() function to return a list of tuples that match key values that you provide.
To use tibasSpace_GetAll(), you must create and populate a keyList containing the keys to search for, which you then pass to the function in the keyList parameter. To create a keyList, you call the tibasTupleList_Create() function. To add keys to the list, you call the tibasTupleList_Put() function.
You must also initialize a tibasSpaceResultList object, which you pass to the function in the resultList parameter.
The function returns a resultList that contains the tuples returned by the get operations.
For more information on Result lists, see the reference articles in Chapter 20, SpaceResult and InvokeResult and in Chapter 21, SpaceResultList and InvokeResultList.
After you are done with the keyList, free it by calling the tibasTupleList_Free() function, and after you are done with the Result list, free it by calling the tibasSpaceResultList_Free() function.
See Also
tibasSpace_Get(), tibasTupleList_Create(), tibasTupleList_Put(), tibasTupleList_Free(), tibasSpaceResultList_Free()

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved