Class ReadableChannelWithLimit<A>
java.lang.Object
org.apache.jena.sparql.service.enhancer.slice.api.ReadableChannelWithLimit<A>
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,HasArrayOps<A>,ReadableChannel<A>
-
Constructor Details
-
ReadableChannelWithLimit
-
-
Method Details
-
getDelegate
-
getArrayOps
- Specified by:
getArrayOpsin interfaceHasArrayOps<A>
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-
isOpen
public boolean isOpen() -
read
Description copied from interface:ReadableChannelRead method following the usual InputStream protocol.- Specified by:
readin interfaceReadableChannel<A>- Parameters:
array- The array into which to put the read dataposition- Offset into array where to start writinglength- Maximum number of items to read.- Returns:
- The number of items read. Return -1 if end of data was reached, and 0 iff length was 0.
- Throws:
IOException
-