java.lang.Object
org.apache.jena.tdb1.base.objectfile.ObjectFileWrapper
org.apache.jena.tdb1.base.objectfile.ObjectFileReadonly
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable,org.apache.jena.atlas.lib.Sync,ObjectFile
-
Field Summary
Fields inherited from interface org.apache.jena.tdb1.base.objectfile.ObjectFile
type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreposition(long id) Reset the "append" point; may only be moved earlier.toString()voidtruncate(long size) Truncate the filelongwrite(ByteBuffer buffer) Write out the buffer - return the accessor number
-
Constructor Details
-
ObjectFileReadonly
-
-
Method Details
-
write
Description copied from interface:ObjectFileWrite out the buffer - return the accessor number- Specified by:
writein interfaceObjectFile- Overrides:
writein classObjectFileWrapper
-
reposition
public void reposition(long id) Description copied from interface:ObjectFileReset the "append" point; may only be moved earlier. The new position must correspond to a position returned byObjectFile.write(ByteBuffer).- Specified by:
repositionin interfaceObjectFile- Overrides:
repositionin classObjectFileWrapper
-
truncate
public void truncate(long size) Description copied from interface:ObjectFileTruncate the file- Specified by:
truncatein interfaceObjectFile- Overrides:
truncatein classObjectFileWrapper
-
toString
-