NetworkImageSearchResult
Leave feedback
On this page
Inheritance: java.lang.Object
public abstract class NetworkImageSearchResult
Represents an image search result matching a search image.
| Constructor | Description |
|---|---|
| NetworkImageSearchResult() |
| Method | Description |
|---|---|
| getImageCount() | Gets the number of images found. |
| getFoundImage(int index) | Gets the found image by index. |
| getNetworkImageSearchToken() | Gets a chunk image search token for searching the next chunk. |
| getNodeIndex() | Gets the index of the node from which the result was received. |
| getShardIndex() | Gets the index of the shard from which the result was received. |
public NetworkImageSearchResult()
public abstract int getImageCount()
Gets the number of images found.
Returns: int - The number of images found.
public abstract FoundImageFrame getFoundImage(int index)
Gets the found image by index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | The index of a found image. |
Returns: FoundImageFrame - The found image.
public abstract NetworkImageSearchToken getNetworkImageSearchToken()
Gets a chunk image search token for searching the next chunk.
Returns: NetworkImageSearchToken - A chunk image search token for searching the next chunk.
public abstract int getNodeIndex()
Gets the index of the node from which the result was received.
Returns: int - The index of the node from which the result was received.
public abstract int getShardIndex()
Gets the index of the shard from which the result was received.
Returns: int - The index of the shard from which the result was received.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.