MetadataBuffer

  • MetadataBuffer is a data buffer for accessing Metadata entries, often returned in response to list requests.

  • It provides indexed access and iterable functionality for navigating through the Metadata entries.

  • It is crucial to call release() after usage to free up resources.

  • The getNextPageToken() method is deprecated as paging is not supported.

public final class MetadataBuffer extends AbstractDataBuffer<Metadata>

A data buffer that points to Metadata entries. Objects of this class are returned in responses to list requests (such as query(Query)). This object behaves as an Iterable, as well as allowing indexed access to its entries. Be sure to call release() on any buffers when you are done with them.

Inherited Field Summary

Public Method Summary

Metadata
get(int row)
String
getNextPageToken()
This method is deprecated. Paging is not supported, so this always returns null.
void

Inherited Method Summary

Public Methods

public Metadata get (int row)

public String getNextPageToken ()

This method is deprecated.
Paging is not supported, so this always returns null.

public void release ()