Interface BufferLike<A>
- All Superinterfaces:
ArrayReadable<A>,ArrayWritable<A>,HasArrayOps<A>
- All Known Subinterfaces:
Buffer<A>,RangeBuffer<A>
- All Known Implementing Classes:
BufferOverArray,RangeBufferImpl
BufferLike is a common interface for Buffer and RangeBuffer.
Even though both specializations have most methods in common, the semantics differ in subtle ways:
A buffer must support reading any slice of data within its capacity.
A range buffer only allows for reading within valid ranges and raises an exception upon violation.
-
Method Summary
Modifier and TypeMethodDescriptionlongBuffers with 'unlimited' capacity should return Long.MAX_VALUEMethods inherited from interface org.apache.jena.sparql.service.enhancer.slice.impl.ArrayReadable
get, readInto, readIntoRawMethods inherited from interface org.apache.jena.sparql.service.enhancer.slice.impl.ArrayWritable
put, write, write, writeMethods inherited from interface org.apache.jena.sparql.service.enhancer.slice.api.HasArrayOps
getArrayOps
-
Method Details
-
getCapacity
long getCapacity()Buffers with 'unlimited' capacity should return Long.MAX_VALUE
-