public interface LargeProductQueryHandler extends QueryHandler
XMLQuery
object.Modifier and Type | Method and Description |
---|---|
void |
close(String id)
Close off a product.
|
byte[] |
retrieveChunk(String id,
long offset,
int length)
Retrieve a chunk of a product.
|
query
byte[] retrieveChunk(String id, long offset, int length) throws ProductException
id
- Product ID.offset
- Where in the product to get a chunk of it.length
- How much of the product to get.ProductException
- if an error occurs.void close(String id)
IOException
when closing a file.id
- Product ID.ProductException
- if an error occurs.Copyright © 1999–2017 Apache OODT. All rights reserved.