Package org.onyx.api
Class Feed.ListBuilder
A builder class for listing feeds in the ledger.
-
Field Summary
Fields inherited from class org.onyx.api.BaseQueryBuilder
next -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIterable(Client client) Executes the query, returning an iterable over feeds that match the query.Executes the query, returning a page of feeds that match the query.Executes the query, returning a page of feeds that match the query beginning with provided cursor.Methods inherited from class org.onyx.api.BaseQueryBuilder
addFilterParameter, setFilter, setFilterParameters, setPageSize
-
Constructor Details
-
ListBuilder
public ListBuilder()
-
-
Method Details
-
getPage
Executes the query, returning a page of feeds that match the query.- Specified by:
getPagein classBaseQueryBuilder<Feed.ListBuilder>- Parameters:
client- ledger API connection object- Returns:
- a page of feeds
- Throws:
ChainException
-
getPage
Executes the query, returning a page of feeds that match the query beginning with provided cursor.- Parameters:
client- ledger API connection objectcursor- string representing encoded query object- Returns:
- a page of feeds
- Throws:
ChainException
-
getIterable
Executes the query, returning an iterable over feeds that match the query.- Specified by:
getIterablein classBaseQueryBuilder<Feed.ListBuilder>- Parameters:
client- ledger API connection object- Returns:
- an iterable over feeds
- Throws:
ChainException
-