Package db.buffers
Interface BufferFileHandle
- All Known Subinterfaces:
ManagedBufferFileHandle,RemoteBufferFileHandle,RemoteManagedBufferFileHandle
public interface BufferFileHandle
BufferFileHandle facilitates access to a BufferFile-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()booleandelete()voiddispose()get(int index) intint[]intProvides local access to an input block stream.Get an input block stream handle which will facilitate access to a remote InputBlockStream.getOutputBlockStream(int blockCount) Provides local access to an output block stream.getOutputBlockStreamHandle(int blockCount) Get an output block stream handle which will facilitate access to a remote InputBlockStream.intgetParameter(String name) String[]booleanvoidput(DataBuffer buf, int index) voidsetFreeIndexes(int[] indexes) voidsetParameter(String name, int value) boolean
-
Method Details
-
isReadOnly
- Throws:
IOException- See Also:
-
setReadOnly
- Throws:
IOException- See Also:
-
getParameter
- Throws:
NoSuchElementExceptionIOException- See Also:
-
setParameter
- Throws:
IOException- See Also:
-
clearParameters
- Throws:
IOException- See Also:
-
getParameterNames
- Throws:
IOException- See Also:
-
getBufferSize
- Throws:
IOException- See Also:
-
getIndexCount
- Throws:
IOException- See Also:
-
getFreeIndexes
- Throws:
IOException- See Also:
-
setFreeIndexes
- Throws:
IOException- See Also:
-
close
- Throws:
IOException- See Also:
-
delete
- Throws:
IOException- See Also:
-
get
- Throws:
IOException- See Also:
-
put
- Throws:
IOException- See Also:
-
dispose
- Throws:
IOException- See Also:
-
getInputBlockStream
Provides local access to an input block stream. This method should only be used if the associatedBufferFileAdapter.isRemote()is false.- Throws:
IOException- See Also:
-
getOutputBlockStream
Provides local access to an output block stream. This method should only be used if the associatedBufferFileAdapter.isRemote()is false.- Throws:
IOException- See Also:
-
getInputBlockStreamHandle
Get an input block stream handle which will facilitate access to a remote InputBlockStream. The handle will facilitate use of a remote streaming interface. This method should only be used if the associatedBufferFileAdapter.isRemote()is true.- Throws:
IOException- See Also:
-
getOutputBlockStreamHandle
Get an output block stream handle which will facilitate access to a remote InputBlockStream. The handle will facilitate use of a remote streaming interface. This method should only be used if the associatedBufferFileAdapter.isRemote()is true.- Throws:
IOException- See Also:
-