use of org.apache.ignite.internal.processors.cache.tree.DataInnerIO in project ignite by apache.
the class RecordUtils method buildNewRootInitRecord.
/**
*/
public static NewRootInitRecord buildNewRootInitRecord() {
DataInnerIO latest = VERSIONS.latest();
// Deserialization doesn't check size from header but it is always expected io.getItemSize as length of rowBytes.
byte[] rowBytes = new byte[latest.getItemSize()];
return new NewRootInitRecord(1, 1L, 1, latest, 1, rowBytes, 1L);
}
use of org.apache.ignite.internal.processors.cache.tree.DataInnerIO in project ignite by apache.
the class RecordUtils method buildInsertRecord.
/**
*/
public static InsertRecord buildInsertRecord() {
DataInnerIO latest = VERSIONS.latest();
// Deserialization doesn't check size from header but it is always expected io.getItemSize as length of rowBytes.
byte[] rowBytes = new byte[latest.getItemSize()];
return new InsertRecord(1, 1, latest, 1, rowBytes, 1);
}
use of org.apache.ignite.internal.processors.cache.tree.DataInnerIO in project ignite by apache.
the class RecordUtils method buildReplaceRecord.
/**
*/
public static ReplaceRecord buildReplaceRecord() {
DataInnerIO latest = VERSIONS.latest();
// Deserialization doesn't check size from header but it is always expected io.getItemSize as length of rowBytes.
byte[] rowBytes = new byte[latest.getItemSize()];
return new ReplaceRecord(1, 1, latest, rowBytes, 1);
}
Aggregations