NetworkImageSearchResult
Contents
[
Hide
]
Inheritance: java.lang.Object
public abstract class NetworkImageSearchResult
Represents an image search result matching a search image.
Constructors
Constructor | Description |
---|---|
NetworkImageSearchResult() |
Methods
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. |
NetworkImageSearchResult()
public NetworkImageSearchResult()
getImageCount()
public abstract int getImageCount()
Gets the number of images found.
Returns: int - The number of images found.
getFoundImage(int index)
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.
getNetworkImageSearchToken()
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.
getNodeIndex()
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.
getShardIndex()
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.