Uses of Class
org.h2.mvstore.WriteBuffer
Packages that use WriteBuffer
Package
Description
A persistent storage for tree maps.
Helper classes to use the MVStore in the H2 database.
An R-tree implementation
Helper classes to use the MVStore in a transactional manner.
Data types and serialization / deserialization
-
Uses of WriteBuffer in org.h2.mvstore
Methods in org.h2.mvstore that return WriteBufferModifier and TypeMethodDescriptionWriteBuffer.clear()Clear the buffer after use.WriteBuffer.get(byte[] dst) Copy the data into the destination array.WriteBuffer.limit(int newLimit) Set the limit, possibly growing the buffer.WriteBuffer.position(int newPosition) Set the position.WriteBuffer.put(byte x) Put a byte.WriteBuffer.put(byte[] bytes) Put a byte array.WriteBuffer.put(byte[] bytes, int offset, int length) Put a byte array.WriteBuffer.put(ByteBuffer src) Put the contents of a byte buffer.WriteBuffer.putChar(char x) Put a character.WriteBuffer.putDouble(double x) Put a double.WriteBuffer.putFloat(float x) Put a float.WriteBuffer.putInt(int x) Put an integer.WriteBuffer.putInt(int index, int value) Update an integer at the given index.WriteBuffer.putLong(long x) Put a long.WriteBuffer.putShort(int index, short value) Update a short at the given index.WriteBuffer.putShort(short x) Put a short.WriteBuffer.putStringData(String s, int len) Write the characters of a string in a format similar to UTF-8.WriteBuffer.putVarInt(int x) Write a variable size integer.WriteBuffer.putVarLong(long x) Write a variable size long.Methods in org.h2.mvstore with parameters of type WriteBufferModifier and TypeMethodDescriptionprotected final intPage.write(Chunk chunk, WriteBuffer buff, List<Long> toc) Store the page and update the position.protected abstract voidPage.writeChildren(WriteBuffer buff, boolean withCounts) Write page children to the buff.protected abstract voidPage.writeValues(WriteBuffer buff) Write values that the buffer contains to the buff. -
Uses of WriteBuffer in org.h2.mvstore.db
Methods in org.h2.mvstore.db with parameters of type WriteBufferModifier and TypeMethodDescriptionvoidRowDataType.save(WriteBuffer buff, MetaType<Database> metaType) voidValueDataType.save(WriteBuffer buff, MetaType<Database> metaType) voidLobStorageMap.BlobMeta.Type.write(WriteBuffer buff, LobStorageMap.BlobMeta blobMeta) voidLobStorageMap.BlobReference.Type.write(WriteBuffer buff, LobStorageMap.BlobReference blobReference) voidNullValueDataType.write(WriteBuffer buff, Object storage, int len) voidNullValueDataType.write(WriteBuffer buff, Value obj) voidRowDataType.write(WriteBuffer buff, SearchRow row) voidValueDataType.write(WriteBuffer buff, Value v) static voidValueDataType.writeLong(WriteBuffer buff, long x) Writes a long. -
Uses of WriteBuffer in org.h2.mvstore.rtree
Methods in org.h2.mvstore.rtree with parameters of type WriteBuffer -
Uses of WriteBuffer in org.h2.mvstore.tx
Methods in org.h2.mvstore.tx with parameters of type WriteBufferModifier and TypeMethodDescriptionvoidVersionedValueType.save(WriteBuffer buff, MetaType<D> metaType) voidVersionedValueType.write(WriteBuffer buff, Object storage, int len) voidVersionedValueType.write(WriteBuffer buff, VersionedValue<T> v) -
Uses of WriteBuffer in org.h2.mvstore.type
Methods in org.h2.mvstore.type with parameters of type WriteBufferModifier and TypeMethodDescriptionvoidStatefulDataType.save(WriteBuffer buff, MetaType<D> metaType) Save the state.voidBasicDataType.write(WriteBuffer buff, Object storage, int len) abstract voidBasicDataType.write(WriteBuffer buff, T obj) voidByteArrayDataType.write(WriteBuffer buff, byte[] data) voidDataType.write(WriteBuffer buff, Object storage, int len) Write a list of objects.voidDataType.write(WriteBuffer buff, T obj) Write an object.voidLongDataType.write(WriteBuffer buff, Long data) voidMetaType.write(WriteBuffer buff, DataType<?> obj) voidObjectDataType.write(WriteBuffer buff, Object obj) voidStringDataType.write(WriteBuffer buff, String s)